body {
    display: flex;            /* Establishes a flex container */
    flex-direction: column;
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Include padding and borders in element's total height */
    font-family: 'Roboto', sans-serif;
    height: 100vh; /* 100% of the viewport height */
    width: 100% ;
    overflow: auto; 
   
}


#corp {
    display: flex;
    box-sizing: border-box;
    margin-top: 20vh;

    
   

}



#caree {
    flex: 4;
    padding: 10px;
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
   
    
    
    
}

#pied {
    display: flex;
    box-sizing: border-box;
   
}



@media (max-width: 768px) {
    #corp {
        margin-top: 0;
        flex-direction: column;

    }

    #aside {
        order: 2;
        margin-top: 0; /* ← Add this */
        padding-top: 0; /* ← Optional, if padding is the issue */
    }

    #caree {
        order: 1;
        flex: none;
        margin-bottom: 0; /* ← Optional, in case caree pushes aside down */
    }
}




/* ---------------------------------------------  ----------------------------------------------------*/
#aside {
    flex: 1;
    
    font-family: 'Roboto', sans-serif;
    padding: 16px;
    overflow-y: auto;
    flex-direction: column;
    display: flex;
    box-sizing: border-box;
    position: relative; /* Needed for positioning the pseudo-element */



}

.aside-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Auth & Profile Card */
.auth-card, .aside-card {

    /* so profil cart with have a specefique bakrounf 
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    
    */
    background-color: #f8f9fb;
    
    
    border: 2px solid #5b5b5b ;
    border-radius: 12px;
    
    padding: 20px;
   
    max-width: 100%;
}

/* Greeting */
.aside-greeting {
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    color: #222;
    margin-bottom: 15px;
}

/* Compact Button Nav */
.aside-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.aside-nav button {
    all: unset;
    background: #f0f0f0;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
    transition: background 0.2s ease;
}
.aside-nav button:hover {
    background: #e2e2e2;
}
.aside-logout {
    color: #c00;
}

/* Auth form */
.auth-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.auth-label {
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.auth-input-wrap {
    position: relative;
    margin-bottom: 12px;
}

.auth-input {
    width: 100%;
    max-width: 100%;
    padding: 10px 36px 10px 12px;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

.auth-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #999;
    pointer-events: none;
}

.auth-forgot {
    text-align: right;
    margin-bottom: 16px;
}

.auth-link {
    background: none;
    border: none;
    font-size: 12px;
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.auth-btn-primary {
    background-color: #000;
    color: #fff;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}
.auth-btn-primary:hover {
    background-color: #222;
}

.auth-register {
    text-align: center;
    font-size: 13px;
    margin-top: 14px;
}

.auth-btn-outline {
    margin-top: 10px;
    background: transparent;
    border: 1.5px solid #000;
    color: #000;
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}
.auth-btn-outline:hover {
    background-color: #f2f2f2;
}

.aside-divider {
    height: 2px;
    background-color: #2f5594;
    margin: 20px 0;
}

/* d -------------------------------------------------------------------------------*/

   /* General Styles */
   .highlighted-section {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    padding: 20px;
    border-radius: 8px;
    
}

/* Heading Styles */
#overview-heading {
    font-size: 1.5em;
    color: #fff;
    background-color: #0056b3;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}
.highlighted-section h2 {
    font-size: 1.5em;
    color: #fff;
    background-color: #0056b3;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

/* List Styles */
.highlighted-section ul {
    margin: 10px 0;
    padding-left: 20px;
}

.highlighted-section ul li {
    margin-bottom: 8px;
}

/* Link Styles */
.highlighted-section a {
    color: #0056b3;
    text-decoration: none;
    font-weight: bold;
}

.highlighted-section a:hover {
    text-decoration: underline;
}

/* Highlighting Specific Phrases */
#highlight-acceptance {
    background-color: yellow;
    font-weight: bold;
}
  

/* -------------------------------------------------------------- */


/* -------------------------------------------------------------- */




.registration-form  {
    padding: 10px; 
    
 
}
.registration-form label {
    margin-right: 10px; 
    text-align: left; 
    
    
}
.registration-form input {
    padding: 10px;
    border: 1px solid #000000;
    border-radius: 4px;
    box-sizing: border-box;
    margin: 5px;
}
.form-input {
    width: 50vw;
}



.form-text {
display: inline-block;
width: 150px; 

   
}


.form-checked {
    border-radius: 4px;
    margin: 5px;
   
}

.total-cost-inline-container {
        border: 1px solid #ddd;
        padding: 10px;
        display: inline-flex;
        align-items: center;
        border-radius: 5px;
        font-size: 18px;
    }

    .total-cost-title {
        margin-right: 10px;
        font-weight: bold;
    }

    .total-cost-amount {
        font-size: 18px;
        font-weight: bold;
    }

#Register  {
    
    width: 300px ;
    padding: 10px;
    font-size: 1.3em;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-color: #3b7067;
}


#Register:hover { background-color: #1b3632; }

/* Password Strength Meter Styles */
#password-strength-meter {
    width: 50vw;
    max-width: 300px;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin: 5px 0;
    position: relative;
}

#password-strength-bar {
    height: 100%;
    width: 0%;
    background-color: red;
    border-radius: 4px;
}

#password-strength-text {
    margin-top: 5px;
    font-size: 14px;
}



