.blgcomment-list>li:nth-child(n+2) {
    margin-block-start: 15px !important;
}

.custom-card {
    border: 1px solid #ced4da;
}

.customizer-action svg {
    width: 23px !important;
    color: #ffffff !important;
}

.active-mode {
    border: solid 2px #000000 !important;
}

.property-img {
    max-width: 507px;
    max-height: 286px;
}

.text-justify {
    text-align: justify;
}

.custom .media {
    padding: 10px !important;
}

.user-avatar {
    width: 30px;
    height: 30px;
}

@media only screen and (max-width: 410px) {
    .header_li {
        display: none !important;
    }
}

.blgcomment-list li .media img {
    width: auto;
    height: 40px !important;
}

#card-element {
    border: 1px solid #e5e5e5 !important;
    border-radius: 5px !important;
    padding: 13px !important;
}

.codex-sidebar .logo-gridwrap {
    padding: 0px 16px !important;
}

.setting-logo {
    width: 300px !important;
    ;
}

.landing-logo {
    max-width: 155px;

}

.auth-main .auth-wrapper.v2 .logo {
    max-width: 225px;

}

.b-brand .logo {
    max-width: 155px !important;

}

.lan-footer .codex-brand {
    margin-block-end: 0px !important;
}

.email-sidebar ul.custom-sidebarmenu-list {
    margin-block-start: 0px;
}

.invoice-logo {
    width: 250px;
}

.codex-calendar .events-list li {
    font-size: 13px;
    font-weight: 500;
    padding: 10px 10px;
    border-radius: 5px;
    color: #fff;
    line-height: 1;
}

.codex-calendar .events-list {
    overflow: auto;
    height: 863px;
}

.landing_logo {
    filter: drop-shadow(2px 3px 7px #011C4B);
}

.head-invoice img {
    width: 250px;
}

.cdx-invoice .body-invoice .table tr td {
    padding: 10px 10px !important;
}


.codex-brand img {
    width: 300px;
}

.codex-authbox .auth-header .codex-brand {
    margin-block-end: 0px;
}


.intro {
    background-repeat: no-repeat;
    background-size: cover;
}

.landing_dash {
    position: absolute;
    right: 0px;
    top: 50%;
    left: auto;
    bottom: 0;
    transform: translateY(-50%);
    overflow: hidden;
    height: 585px;
    display: flex;
    align-items: center;
    width: 60%;
}

.landing_dash img {
    object-fit: cover;
    position: relative;
    right: -220px;
    border-radius: 10px;
    left: auto;
    width: 100%;
    height: 100%;
}

@media only screen and (max-width: 1440px) {
    .landing_dash {
        display: none;
    }
}

.lan-footer {
    text-align: center;
    background-color: unset;
}

.lan-footer .support-contain p {
    color: #051722;
    font-size: calc(16px + 4*(100vw - 420px) / 1500);
}

.select2-container .select2-selection--single {
    height: 43px !important;
    border-color: #e5e5e5;
}

.select2-container .select2-selection--multiple {
    min-height: 43px !important;
}

.select2-container--default .select2-selection-- {
    border: 1px solid #e5e5e5;
}

.modal-body .select2-container {
    z-index: 1024;
    width: 100% !important;
}

.modal-backdrop~.select2-container {
    width: 100% !important;
    z-index: 10000 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    line-height: 40px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
}

.select2-container,
.modal-body .select2-container {
    z-index: 1024;
    width: 100% !important;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 10px;
    margin-left: 10px;
}

/* =========================================================================== */
.dt-length {
    padding-left: 7px !important;
}

.dt-search {
    padding-right: 7px !important;
}

.dt-info {
    padding-left: 7px !important;
}

.dt-paging {
    padding-right: 7px !important;
}

.dt-buttons {
    padding-left: 7px !important;
    float: left;
}

.dt-container {
    margin-top: 10px;
}

.dt-info {
    float: left;
}

.dt-paging {
    float: right;
    padding-top: .85em;
}

.form-group {
    margin-bottom: 15px;
}

div:where(.swal2-container) h2:where(.swal2-title) {
    font-size: 1.2em !important;
}

div:where(.swal2-container) .swal2-html-container {
    font-size: 0.9em !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel {
    font-size: 0.8em !important;
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    font-size: 0.8em !important;
}

div:where(.swal2-icon) {
    width: 4em !important;
    height: 4em !important;
}

.account-tabs .nav-item .nav-link {
    position: relative;
    padding: 0.7rem 1rem;
    font-weight: 500;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.testaments-cards::after {
    background: transparent !important;
}

.pricingpricing .price-card .product-list li::before {
    content: '\eb55';
    color: red;
}

.pricingpricing .price-card .product-list li.enable::before {
    content: "\ea5e";
    color: #00c853;
}

.pricingpricing .price-card .product-list li {
    opacity: 1 !important;
}

.account-tabs .nav-item .nav-link.active {
    color: var(--bs-secondary-rgb);
    background: rgba(var(--bs-secondary-rgb), 0.1);
}

@media print {
    .table-responsive {
        overflow: visible !important;
        height: auto !important;
        display: block !important;
    }
}

.color_type {
    position: relative;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.15s ease-in-out;
    margin-right: 10px;
    margin-top: 10px;
    width: 48px;
    height: 48px;
    flex: none;
    cursor: pointer;
}

.cutom_colorr.active::after,
.cutom_colorr.custom::after {
    content: "✓";
    color: #fff;
    font-size: 30px;
    background: none !important;
    font-weight: 900;
    background-color: transparent !important;
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 10px;
    line-height: 0;
}


/* Premium Coming Soon Styling */
.coming-soon-wrapper {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: radial-gradient(circle at top right, rgba(var(--bs-primary-rgb), 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(var(--bs-primary-rgb), 0.03), transparent 30%);
    border-radius: 20px;
}

.coming-soon-card {
    background: #ffffff;
    border: none;
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    max-width: 850px;
    width: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.coming-soon-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--bs-primary), #6f42c1);
}

.coming-soon-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1) 0%, rgba(var(--bs-primary-rgb), 0.05) 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--bs-primary);
    font-size: 40px;
    box-shadow: 0 10px 20px rgba(var(--bs-primary-rgb), 0.1);
}

.coming-soon-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.coming-soon-text {
    font-size: 16px;
    color: #5c636a;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.coming-soon-features-box {
    background: #fdfdfd;
    border: 1px solid #f1f1f1;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 40px;
    text-align: left;
}

.coming-soon-features-box h6 {
    font-size: 13px;
    font-weight: 700;
    color: var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.coming-soon-features-box h6::after {
    content: '';
    height: 1px;
    flex-grow: 1;
    background: #f1f1f1;
    margin-left: 15px;
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

@media (max-width: 768px) {
    .coming-soon-grid {
        grid-template-columns: 1fr;
    }
}

.coming-soon-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #444;
    transition: all 0.2s ease;
}

.coming-soon-item i {
    width: 28px;
    height: 28px;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--bs-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 14px;
}

.coming-soon-footer-note {
    font-size: 14px;
    color: #888;
    padding-top: 25px;
    border-top: 1px solid #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-footer-note i {
    margin-right: 8px;
    color: #ffc107;
}

.pulse-animation {
    animation: coming-soon-pulse 2s infinite;
}

@keyframes coming-soon-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Custom Footer Styles Final - "Same to Same" Refinement */
.main-footer {
    background-color: #1c2d37 !important;
    /* The exact color from the site */
    color: #ffffff;
    padding: 110px 0 35px;
    /* More vertical padding for breathing room */
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: visible;
}

.footer-container {
    max-width: 1540px;
    /* Wider container for premium look */
    margin: 0 auto;
    padding: 0 40px;
}

.footer-logo {
    max-width: 155px;
    margin-bottom: 40px;
}

.footer-about {
    font-size: 16px;
    /* Slightly larger as per site */
    line-height: 1.85;
    /* Precise line spacing */
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 25px;
    max-width: 90%;
}

.footer-title {
    font-family: 'Roboto Slab', serif !important;
    font-weight: 700;
    font-size: 32px;
    /* Large striking headings */
    margin-bottom: 45px;
    color: #ffffff;
}

.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 18px;
    /* Bigger vertical gap */
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links li a:hover {
    color: #ffffff;
    transform: translateX(5px);
    /* Elegant slide on hover */
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
}

.footer-contact li i {
    font-size: 22px;
    margin-right: 18px;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.6);
    stroke-width: 1.2;
}

.footer-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
}

.payment-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.pay-icon {
    height: 32px;
    background: white;
    padding: 4px 10px;
    border-radius: 4px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pay-icon:hover {
    transform: translateY(-5px) scale(1.08);
    /* Bounce lift on hover */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    margin-top: 100px !important;
    padding-top: 45px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links-wrap span {
    font-family: 'Roboto Slab', serif !important;
    font-weight: 600;
    font-size: 26px;
    margin-right: 25px;
}

.social-links a {
    color: #ffffff;
    font-size: 20px;
    margin-right: 15px;
    transition: all 0.3s ease;
    display: inline-block;
    opacity: 0.7;
}

.social-links a:hover {
    transform: scale(1.2);
    opacity: 1;
}

.copyright {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-sub-links {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
}

.footer-sub-links a {
    color: inherit;
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.footer-sub-links a:hover {
    color: #ffffff;
}

.back-to-top-footer {
    position: absolute;
    right: 50px;
    top: -30px;
    width: 60px;
    height: 60px;
    background-color: #aa998a;
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.back-to-top-footer:hover {
    background-color: #ffffff;
    color: #1c2d37;
    transform: translateY(-8px) rotate(360deg);
}

/* Response Fix for Mobile */
@media (max-width: 991px) {
    .main-footer {
        padding: 60px 0 30px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .footer-bottom {
        margin-top: 50px !important;
        text-align: center;
    }
}

/* Auth Page Responsiveness Refinement */
@media (max-width: 991px) {
    .auth-main {
        padding: 20px 0;
        min-height: 100vh;
        background: #f8f9fd;
    }

    .auth-main .auth-wrapper.v2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        /* Start from top to prevent centering overlap */
        padding: 60px 20px;
        /* Increased top padding */
        min-height: 100vh;
        background: #f8f9fd;
    }

    .auth-main .auth-wrapper.v2 .auth-form {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: 700px !important;
        padding: 0 !important;
        margin: 0 auto !important;
        min-height: auto !important;
        box-shadow: none !important;
        background: transparent !important;
        order: 1;
    }

    .auth-main .auth-wrapper.v2 .auth-form .card {
        padding: 20px !important;
        margin-top: 0px !important;
        /* Extremely high margin to force separation */
        border-radius: 15px;
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
        position: relative !important;
        z-index: 5;
    }

    .auth-main .auth-wrapper.v2 .auth-sidecontent {
        display: block !important;
        width: 100% !important;
        margin-top: 10px;
        order: 2;
    }

    .auth-main .auth-wrapper.v2 .logo {
        display: block !important;
        position: relative !important;
        margin-bottom: 10px !important;
        /* Separation from card below */
        text-align: center !important;
        width: 100% !important;
        z-index: 10;
        margin: auto;
        padding: 0;
    }

    .auth-main .auth-wrapper.v2 .logo img {
        max-width: 220px;
        /* Slightly larger logo for better visibility */
    }

    .auth-header h2 {
        font-size: 28px !important;
    }

    .auth-sidecontent h1 {
        font-size: 24px !important;
        margin-top: 20px;
    }

    .auth-sidecontent p.f-12 {
        font-size: 14px !important;
        margin-top: 10px !important;
    }
}

@media (max-width: 575px) {
    .auth-main .auth-wrapper.v2 {
        padding: 15px;
    }

    .auth-main .auth-wrapper.v2 .auth-form .card {
        padding: 15px !important;
    }

    .auth-header h2 {
        font-size: 24px !important;
    }

    .auth-header p {
        font-size: 14px !important;
    }

    .form-control {
        height: auto !important;
        padding: 6px 15px !important;
        font-size: 12px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px !important;
    }

    [data-pc-direction=ltr] #reservationForm .mb-4 {
        margin-bottom: 1rem !important;
    }
}

/* Trainee Specific Auth Styles */
.trainee-auth-card {
    border-radius: 15px !important;
    overflow: hidden;
    border: none !important;
}

.trainee-login-phases .form-floating>.form-control {
    border-radius: 10px;
    border: 1px solid #e5e5e5;
}

.trainee-login-phases .btn {
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 575px) {
    .trainee-auth-card {
        margin-top: 10px !important;
    }

    .trainee-login-phases {
        margin-top: 1.5rem !important;
    }

    .auth-header h2 {
        font-size: 22px !important;
    }

    [data-pc-direction=ltr] section.p-5 {
        padding: 0rem !important;
    }

    [data-pc-direction=ltr] .card-header.p-4 {
        padding: 1rem !important;
    }

    [data-pc-direction=ltr] .card-body.p-5 {
        padding: 1.5rem !important;
    }
}

@media (min-width: 600px) and (max-width: 800px) {
    .auth-main .auth-wrapper.v2 .auth-form {
        max-width: 700px !important;
        margin: auto !important;
    }
    .auth-main .auth-wrapper .auth-form .card {
    max-width: 700px;
    }
        .auth-main .auth-wrapper.v2 {
        padding: 20px 20px;
        }
        .form-control-lg {
    min-height: calc(1.5em + 1.3rem + 2px);
    padding: 0.3rem 0.8rem;
    font-size: 1rem;
    border-radius: 6px;
}


}