.modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease-out, backdrop-filter 0.3s ease-out;
}

.modal.show {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

@media (max-width: 768px) {
    .modal {
        display: none !important;
    }
}

.phone-modal-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    width: 90%;
    max-width: 500px;
    margin: 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease-out;
}

.modal.show .phone-modal-content {
    transform: translateY(0);
    opacity: 1;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-consent.show {
    display: flex;
}

.cookie-consent-content {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cookie-consent-text {
    text-align: left;
}

.cookie-consent-text h3 {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d5016;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

.cookie-consent-text a {
    color: #2d5016;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #3a6b1c;
}

.cookie-consent-actions {
    display: flex;
    justify-content: center;
}

.cookie-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(to right, #2d5016, #3a6b1c);
    color: white;
}

.cookie-btn-accept:hover {
    background: linear-gradient(to right, #3a6b1c, #2d5016);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.3);
}

@media (max-width: 768px) {
    .cookie-consent-content {
        padding: 2rem 1.5rem;
        max-width: 90%;
    }

    .cookie-consent-text h3 {
        font-size: 1.25rem;
    }

    .cookie-consent-text p {
        font-size: 0.95rem;
    }

    .cookie-btn {
        width: 100%;
        padding: 1rem;
    }
}
