/*page inscription*/
.inscription{
    padding:60px 0;
    background:#ffffff;
}

.inscription-container{
    width:90%;
    max-width:1400px;
    margin:auto;
    display:grid;
    grid-template-columns:55% 45%;
    min-height:820px;
    border-radius:20px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 15px 45px rgba(0,0,0,.08);
}

        .alert-danger {
            background-color: whitesmoke;
            color: red;
            padding: 16px 20px;
            border-radius: 8px;
            border-left: 4px solid #f04d07;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .alert-danger::before {
            content: 'x';
            font-size: 20px;
            font-weight: bold;
            color: #c52222;
        }

.text-danger {
    color: red;
}
.error-input {
    border: 1px solid red !important;
}

/*left*/
.left-side{
    position:relative;
    overflow:hidden;
}

.left-side img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.left-side .overlay{
    position:absolute;
    inset:0;
    background:rgba(8,58,108,.65);
}

.left-content{
    position:absolute;
    left:45px;
    bottom:60px;
    color:white;
    width:80%;
}

.badge{
    display:inline-block;
    padding:8px 18px;
    background:#d5a11d;
    border-radius:30px;
    margin-bottom:25px;
    font-size:15px;
    font-weight:600;
}

.left-content h1{
    font-size:52px;
    line-height:60px;
    margin-bottom:25px;
}

.left-content p{
    line-height:34px;
    font-size:20px;
    margin-bottom:35px;
    opacity:.95;
}

.left-content ul{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.left-content ul li{
    display:flex;
    align-items:center;
    gap:15px;
    font-size:18px;
}

.left-content ul li i{
    width:34px;
    height:34px;
    border-radius:50%;
    background:rgba(255,255,255,.20);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:15px;
}

/*right*/
.right-side{
    background:white;
    padding:70px;
}

.right-side h2{
    color:#123d6b;
    font-size:46px;
    margin-bottom:10px;
}

.subtitle{
    color:#8a96a8;
    margin-bottom:40px;
}

.error-required{
    color: red;
    margin-bottom:40px;
}



/*form*/
.double-input{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.input-group{
    display:flex;
    flex-direction:column;
    margin-bottom:25px;
}

.input-group label{
    margin-bottom:10px;
    color:#123d6b;
    font-weight:600;
}

.input-group input,
.input-group select,
.input-group textarea{
    width:100%;
    padding:18px;
    border:1px solid #d8dde6;
    border-radius:12px;
    outline:none;
    font-size:16px;
    transition:.3s;
    font-family:'Poppins',sans-serif;
}

.input-group textarea{
    resize:none;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus{
    border-color:#ff9800;
    box-shadow:0 0 0 4px rgba(255,152,0,.15);
}

/*button*/
.right-side button{
    width:100%;
    padding:20px;
    border:none;
    border-radius:12px;
    background:#ff9800;
    color:white;
    font-size:18px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
    margin-top:10px;
}

.right-side button:hover{
    background:#f08a00;
    transform:translateY(-3px);
    box-shadow:0 15px 30px rgba(255,152,0,.35);
}

.condition{
    text-align:center;
    margin-top:25px;
    color:#8b96a8;
    line-height:28px;
    font-size:15px;
}

/*=====================================
        RESPONSIVE
======================================*/

@media(max-width:1100px){
    .inscription-container{
        grid-template-columns:1fr;
    }

    .left-side{
        height:500px;
    }

    .right-side{
        padding:50px;
    }
}

@media(max-width:768px){
    .double-input{
        grid-template-columns:1fr;
    }

    .left-content{
        left:25px;
        bottom:30px;
        width:90%;
    }

    .left-content h1{
        font-size:34px;
        line-height:42px;
    }

    .left-content p{
        font-size:16px;
        line-height:28px;
    }

    .right-side{
        padding:30px;
    }

    .right-side h2{
        font-size:34px;
    }
}

/* Style appliqué uniquement sur les écrans de moins de 768px (smartphones) */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* Taille de texte adaptée */
    }
    
    .container {
        width: 100%; /* Les éléments prennent toute la largeur */
    }
}
