﻿/*Accueil*/
@media (min-width: 992px) {
    .navbar-new {
        display: flex;
        align-items: center;
    }

    .navbar-new-pills {
        height: 70px;
    }
}


.home-container {
    text-align: center;
}

.home-container-text {
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .home-container-text {
        text-align: left;
    }

    .home-container-text-header {
        display: flex;
    }
}

.home-container-text-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.subtitle {
    color: #555;
    margin-bottom: 20px;
}

.options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 430px) {
    .options {
        flex-direction: column;
        align-items: center;
    }
}

.option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 300px;
    height: 200px;
}

    .option h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

.btn {
    display: inline-block;
    padding: 10px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .btn {
        font-size: 1rem;
        padding: 10px 20px;
        
    }
}

.btn-primary {
    background-color: #211e4b;
    color: white;
    border: 1px solid #211e4b;
}

.btn.primary:hover {
    background-color: white;
}

.btn.secondary {
    background-color: white;
    color: #211e4b;
    border: 1px solid #211e4b;
}

    .btn.secondary:hover {
        background-color: #211e4b;
        color: white;
    }

/*section with thead image*/
.row.position-relative {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
}

.text-container {
    position: relative;
    z-index: 1;
    padding-top: 50px;
    max-width: 80%;
}

@media (min-width: 992px) {
    .text-container {
        max-width: 50%;
    }
}

.home-image {
    z-index: 0;
    height: 100%;
}

    .home-image img {
        object-fit: contain;
        /*height: 100%;*/
        width: 100%;
        height: auto;
    }

@media (min-width: 767px) {
    .home-image img {
        height: 100%;
    }
}

.text-container h2, .text-container a {
    margin-bottom: 20px;
}


/*Header*/
.active-page {
    font-weight: bold;
    color: white !important;
    background-color: #211e4b !important;
}

.dropdown-menu .active-page {
    background-color: #211e4b !important;
    color: white !important;
}

@media (min-width: 992px) {
    #header {
        margin-bottom: 36px;
    }

    #footer {
        margin-top: 130px;
    }
}

.header-nav-top .nav {
    justify-content: flex-end; /* Default alignment */
}

/* Centering the nav items for screen widths below 768px */
@media (max-width: 768px) {
    .header-nav-top .nav {
        justify-content: center;
    }
}
/*Footer*/

.footer-container-new {
    padding-bottom: 3rem !important;
    padding-top: 3rem !important;
}

html .text-color-primary-white {
    color: white !important;
}

a .text-color-primary-white:focus {
    text-decoration: underline !important;
}

a .text-color-primary-white:hover {
    text-decoration: underline !important;
}

.footer-left-part {
    padding-bottom: 1rem !important
}


.footer-right-part {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

@media (max-width: 767px) {
    .footer-left-part,
    .footer-right-part {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .footer-icon-media {
        margin-bottom: 30px;
    }
}
/*cancel page*/
.cancel-message,
.success-message {
    background-color: none;
    margin-bottom: 2rem;
}

.btn-cancel-message,
.btn-success-message {
    color: #211e4b;
    background-color: none;
}

    .btn-cancel-message:hover,
    .btn-cancel-message:focus {
        color: white;
        background-color: #211e4b;
        border: 1px solid #211e4b;
    }

    .btn-success-message:hover,
    .btn-success-message:focus {
        color: white;
        background-color: #211e4b;
        border: 1px solid #211e4b;
    }



/*Login*/

.login-main-wrapper,
.register-main-wrapper,
.forgot-password-main-wrapper,
.reset-password-main-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    color: #211e4b;
    font-family: "Tahoma", Geneva, sans-serif !important;
}

.forgot-password-main-wrapper,
.reset-password-main-wrapper {
    height: 80vh;
}

.heading-wrapper {
    text-align: left;
    align-self: flex-start;
    width: 100%;
    padding: 0 20px;
    margin-bottom: 100px;
}

@media (min-width: 767px) {
    .heading-wrapper {
        text-align: left;
        align-self: flex-start;
        padding: 0 100px;
    }
}

.heading {
    text-align: center;
    font-size: 24px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .heading {
        text-align: left;
        font-size: 32px;
    }
}

/* Login container */
.login-container,
.register-container,
.forgot-password-container,
.reset-password-container {
    position: relative;
    padding-top: 60px;
    border-top: none;
    width: 100%;
    max-width: 300px;
    padding: 16px;
    background: #fff;
    border: 3px solid rgba(33, 30, 75, 0.3);
    text-align: center;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .login-container,
    .register-container,
    .forgot-password-container,
    .reset-password-container {
        max-width: 400px;
        padding: 30px;
        margin-bottom: 50px;
    }

    .register-container {
        max-width: 600px;
    }
}

.forgot-password-container,
.reset-password-container {
    margin-bottom: 0;
}





.password-message {
    font-weight: 500;
}

.logo-container {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 10px;
    margin: 30px 0;
}

@media(min-width: 768px) {
    .forgot-password-container .logo-container {
        top: -140px;
    }
}


.logo {
    max-width: 200px;
    height: auto;
}


.login-form-group,
.register-form-group,
.forgot-password-form-group,
.reset-password-form-group {
    margin-bottom: 20px;
}

.login-input,
.forgot-password-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: 300;
    color: 211e4b;
    border: 1px solid rgba(33, 30, 75, 0.3);
    outline: none;
}

@media (min-width: 768px) {
    .login-input,
    .forgot-password-input {
        padding: 20px;
        font-size: 18px;
        font-weight: 400;
    }
}

.register-input,
.reset-password-input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
    color: 211e4b;
    border: 1px solid rgba(33, 30, 75, 0.3);
    outline: none;
}

@media (min-width: 768px) {
    .register-input,
    .reset-password-input {
        font-size: 18px;
    }
}

.login-input:focus,
.register-input:focus,
.forgot-password-input:focus,
.reset-password-input:focus {
    border-color: #211e4b !important;
}

.login-input:hover,
.register-input:hover,
.forgot-password-input:hover,
.reset-password-input:hover {
    border-color: #211e4b !important;
}

.login-input::placeholder,
.register-input::placeholder,
.forgot-password-input::placeholder,
.reset-password-input::placeholder {
    color: rgba(33, 30, 75, 0.2);
    font-size: 14px;
    font-weight: 300;
}

@media (min-width: 768px) {
    .login-input::placeholder,
    .register-input::placeholder,
    .forgot-password-input::placeholder,
    .reset-password-input::placeholder {
        font-size: 18px;
        font-weight: 600;
    }
}

/* Remember me */
.login-form-options {
    text-align: left;
    margin-bottom: 20px;
}

.custom-checkbox {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

    .custom-checkbox:focus {
        outline: 2px solid rgba(33, 30, 75, 0.5);
        outline-offset: 2px;
    }


    .custom-checkbox:checked {
        background-color: #211e4b;
        border-color: #211e4b;
    }

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #211e4b;
    font-weight: bold;
    margin-bottom: 50px;
}

/* Submit button */
.login-btn,
.register-btn,
.forgot-password-btn,
.reset-password-btn {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border: 1px solid #211e4b;
    background-color: #211e4b;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

    .login-btn:hover,
    .register-btn:hover,
    .forgot-password-btn:hover,
    .reset-password-btn:hover {
        background-color: white;
        color: #211e4b;
        border: 1px solid #211e4b;
    }

    .login-btn:focus,
    .register-btn:focus,
    .forgot-password-btn:focus,
    .reset-password-btn:focus {
        background-color: white;
        color: #211e4b;
        border: 1px solid #211e4b;
    }

/* Forgot password link */
.forgot-password {
    display: block;
    font-size: 16px;
    margin-top: 15px;
    color: #211e4b;
    text-decoration: none;
    font-weight: bold;
}

    .forgot-password:hover {
        text-decoration: underline;
    }


.register-link-container,
.login-link-container {
    text-align: center;
    align-self: flex-end;
    width: 100%;
    padding: 0 20px;
    margin: 20px 0;
}

@media (min-width:768px) {
    .register-link-container,
    .login-link-container {
        text-align: right;
        padding: 0 100px;
        margin-top: 120px;
    }
}



.register-link,
.login-link {
    font-size: 14px;
    color: #211e4b;
    font-weight: 600;
}


.confirmation-main-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #FFF;
    color: #211e4b;
    font-family: "Tahoma", Geneva, sans-serif !important;
    height: 80vh;
}

.confirmation-main-text {
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}


/*Password display
*/
.password-input-wrapper {
    position: relative;
    width: 100%;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #211e4b;
    user-select: none;
}

    .toggle-password img {
        width: 20px;
        height: 20px;
    }

.custom-modal-center {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1050;
    display: block;
    background-color: white;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}


.table td, .table th {
    padding: 0.3rem !important;
    font-size: 11px !important;
    line-height: 1.2rem !important;
   
}
@media (min-width: 768px) {
    .table td, .table th {
        font-size: inherit !important;
        padding: 0.75rem !important;
        line-height: inherit !important;
    }
}