/**
 * Protocole UNITÉ Modal Styles
 */

.protocole-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.protocole-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.protocole-modal-content {
    position: relative;
    z-index: 2;
    background: white;
    border-radius: 25px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.protocole-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: #6B5A4D;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.protocole-modal-close:hover {
    background: #F6E3D6;
    color: #924D40;
    transform: rotate(90deg);
}

.protocole-modal-header {
    background: linear-gradient(135deg, #C09144 0%, #E6B860 100%);
    padding: 3rem 2rem 2rem 2rem;
    text-align: center;
    border-radius: 25px 25px 0 0;
    color: white;
}

.protocole-modal-header h2 {
    margin: 0 0 1rem 0;
    font-size: 2.2rem;
    font-family: var(--font-heading, 'Georgia', serif);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.protocole-price {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1rem 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.protocole-description {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.95;
}

.protocole-form {
    padding: 2.5rem 2rem;
}

.protocole-form .form-group {
    margin-bottom: 1.5rem;
}

.protocole-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #6B5A4D;
    font-weight: 600;
    font-size: 1rem;
}

.protocole-form input[type="text"],
.protocole-form input[type="email"],
.protocole-form input[type="tel"] {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #E6D7B2;
    border-radius: 12px;
    font-size: 1rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.protocole-form input:focus {
    outline: none;
    border-color: #C09144;
    box-shadow: 0 0 0 3px rgba(192, 145, 68, 0.1);
}

.protocole-form input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.protocole-form small {
    display: block;
    margin-top: 0.5rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.protocole-form .form-group label[for="protocole_cgv"] {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.protocole-form a {
    color: #C09144;
    text-decoration: none;
    font-weight: 600;
}

.protocole-form a:hover {
    text-decoration: underline;
}

.form-actions {
    margin-top: 2rem;
}

.btn-protocole-submit {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #C09144 0%, #E6B860 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(192, 145, 68, 0.3);
}

.btn-protocole-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(192, 145, 68, 0.4);
}

.btn-protocole-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.form-notice {
    text-align: center;
    margin-top: 1rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.form-notice i {
    color: #27ae60;
    margin-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .protocole-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .protocole-modal-header {
        padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    }

    .protocole-modal-header h2 {
        font-size: 1.8rem;
    }

    .protocole-price {
        font-size: 3rem;
    }

    .protocole-form {
        padding: 2rem 1.5rem;
    }
}
