/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 5% auto;
    padding: 40px;
    border: none;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    line-height: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content h3 {
    margin: 0 0 30px 0;
    color: #333;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus {
    outline: none;
    border-color: #e0a54b;
    box-shadow: 0 0 0 3px rgba(224, 165, 75, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.btn-submit {
    width: 100%;
    padding: 14px;
    margin-top: 10px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:not(:disabled) {
    background: #dd9f44;
    color: white;
}

.btn-submit:not(:disabled):hover {
    background: linear-gradient(135deg, #ffdd8b 0%, #dd9f44 100%);

    color: white;

}

.btn-submit:disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
    opacity: 0.6;
}

#openModalBtn {
    cursor: pointer;
    border: 1px solid #000;
    background: inherit;
    border-radius: 8px;
    padding: 16px 32px;
    font-size: 1.3em;
    font-weight: 600;
}

#openModalBtn:hover {
    background: linear-gradient(135deg, #ffdd8b 0%, #dd9f44 100%) !important;
    color: #000 !important;
}

/* Privacy Modal Specific Styles */
.modal-content-large {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.privacy-link {
    color: #000;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: #dd9f44;
}

.privacy-content {
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.privacy-content h4 {
    margin-top: 20px;
    color: #333;
}

.privacy-content ul {
    padding-left: 20px;
}

.close-privacy {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-privacy:hover {
    color: #000;
}

/* Notification Card Styles */
.notification-card {
    display: none;
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification-card.show {
    display: block;
}

.notification-card.success {
    background-color: #d4edda;
    border: 2px solid #28a745;
    color: #155724;
}

.notification-card.error {
    background-color: #f8d7da;
    border: 2px solid #dc3545;
    color: #721c24;
}

.notification-card-icon {
    font-size: 20px;
    margin-right: 8px;
    vertical-align: middle;
}