/* Import Google Font for Brand Logo Style */
@import url('https://fonts.googleapis.com/css2?family=Pacifico&display=swap');

/* ==========================================================================
   Mukesh Travels Custom Styles (Custom CSS)
   All custom styling, responsive rules, and overrides go here.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. LOGIN PAGE - LEFT HERO IMAGE
   -------------------------------------------------------------------------- */
.hero-img-responsive {
    width: 100%;
    max-height: 85vh;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   2. LOGIN PAGE - LOGO & FORM CONTAINER POSITION
   (Yahan se margin-top change karke form ki upar/neeche position adjust karein)
   -------------------------------------------------------------------------- */
.login-form-container {
    margin-top: -75px;
    /* Form ko upar shift karne ke liye */
    transition: margin-top 0.3s ease;
}

.login-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

/* --------------------------------------------------------------------------
   3. LOGIN PAGE - HEADER & WELCOME TITLE STYLING
   -------------------------------------------------------------------------- */
.login-header {
    margin-bottom: 20px;
}

.login-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
}

/* Matching Exact Logo Typography and Brand Color */
.brand-text-highlight {
    font-family: 'Pacifico', cursive !important;
    color: #E62A6B !important;
    /* Exact pink/magenta color from logo */
    font-size: 1em;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1;
}

.login-subtitle {
    font-size: 13.5px;
    color: #718096;
    font-weight: 400;
}

/* --------------------------------------------------------------------------
   3. LOGIN PAGE - SIGN IN BUTTON (#FF0E5C)
   -------------------------------------------------------------------------- */
.btn-login-custom {
    background-color: #FF0E5C !important;
    border-color: #FF0E5C !important;
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-login-custom:hover,
.btn-login-custom:focus,
.btn-login-custom:active {
    background-color: #e00b4f !important;
    border-color: #e00b4f !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 14, 92, 0.35) !important;
}

/* --------------------------------------------------------------------------
   4. LOGIN PAGE - COPYRIGHT TEXT (FULL SCREEN CENTERED)
   -------------------------------------------------------------------------- */
.copyright-text {
    font-size: 13px;
    z-index: 10;
}

/* --------------------------------------------------------------------------
   5. FLASH TOAST NOTIFICATIONS (Auto-Dismiss)
   -------------------------------------------------------------------------- */
.custom-flash-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    min-width: 320px;
    max-width: 400px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #ffffff;
    z-index: 999999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 2px 6px rgba(0, 0, 0, 0.06);
    animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.custom-flash-toast.success-toast {
    border-left: 5px solid #1ABE17;
}

.custom-flash-toast.success-toast .toast-icon-wrap {
    color: #1ABE17;
    background: rgba(26, 190, 23, 0.12);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.custom-flash-toast.error-toast {
    border-left: 5px solid #EF1E1E;
}

.custom-flash-toast.error-toast .toast-icon-wrap {
    color: #EF1E1E;
    background: rgba(239, 30, 30, 0.12);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* --------------------------------------------------------------------------
   6. LOGOUT CONFIRMATION MODAL STYLING
   -------------------------------------------------------------------------- */
.logout-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(239, 30, 30, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   7. KPI / SUMMARY STATS CARDS
   -------------------------------------------------------------------------- */
.kpi-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #eef2f6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    padding: 16px 18px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.kpi-card.cursor-pointer {
    cursor: pointer;
    user-select: none;
}

.kpi-card.cursor-pointer:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.kpi-card.active-kpi {
    border-color: #E41F07 !important;
    box-shadow: 0 6px 18px rgba(228, 31, 7, 0.16) !important;
    background: #fffcfb !important;
}

.kpi-card.active-kpi.success-kpi {
    border-color: #1ABE17 !important;
    box-shadow: 0 6px 18px rgba(26, 190, 23, 0.16) !important;
    background: #f8fdf8 !important;
}

.kpi-card.active-kpi.danger-kpi {
    border-color: #EF1E1E !important;
    box-shadow: 0 6px 18px rgba(239, 30, 30, 0.16) !important;
    background: #fdf8f8 !important;
}

.kpi-card.active-kpi.info-kpi {
    border-color: #2F80ED !important;
    box-shadow: 0 6px 18px rgba(47, 128, 237, 0.16) !important;
    background: #f8fbfe !important;
}

.kpi-card.active-kpi.warning-kpi {
    border-color: #f59e0b !important;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.16) !important;
    background: #fffdf5 !important;
}

.kpi-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.kpi-icon-wrap.primary {
    background: rgba(228, 31, 7, 0.1);
    color: #E41F07;
}

.kpi-icon-wrap.success {
    background: rgba(26, 190, 23, 0.1);
    color: #1ABE17;
}

.kpi-icon-wrap.danger {
    background: rgba(239, 30, 30, 0.1);
    color: #EF1E1E;
}

.kpi-icon-wrap.info {
    background: rgba(47, 128, 237, 0.1);
    color: #2F80ED;
}

.kpi-title {
    font-size: 12px;
    font-weight: 600;
    color: #718096;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.kpi-count {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    line-height: 1.2;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE MEDIA QUERIES (Mobile & Tablet < 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .login-wrapper {
        height: auto !important;
        min-height: 100vh;
        overflow-y: auto !important;
    }

    .form-column-wrapper {
        height: auto !important;
        min-height: 100vh;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .login-form-container {
        margin-top: 0 !important;
        /* Mobile par naturally center rahega */
    }

    .copyright-text {
        position: relative !important;
        bottom: auto !important;
        margin-top: 20px;
        padding-bottom: 20px !important;
    }
}

/* --------------------------------------------------------------------------
   9. LEADS & ENQUIRY MANAGEMENT STYLES
   -------------------------------------------------------------------------- */
.btn-whatsapp {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-whatsapp:hover {
    background-color: #1ebc5a !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.35);
}

.btn-call {
    background-color: #0ea5e9 !important;
    border-color: #0ea5e9 !important;
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-call:hover {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.35);
}

.live-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #EF1E1E;
    box-shadow: 0 0 0 rgba(239, 30, 30, 0.7);
    animation: pulseGlow 1.8s infinite;
    vertical-align: middle;
    margin-right: 4px;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 30, 30, 0.7);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(239, 30, 30, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 30, 30, 0);
    }
}

.lead-source-tag {
    font-size: 11px;
    font-weight: 500;
    padding: 3px 7px;
    border-radius: 4px;
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.status-dropdown-btn {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.status-dropdown-btn:hover {
    transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   10. REDESIGNED SPLIT-SCREEN LOGIN PAGE STYLES
   -------------------------------------------------------------------------- */
.redesign-login-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45)), url('/assets/img/login_hero_bg.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 15vh;
    padding-left: 30px;
    padding-right: 30px;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.redesign-hero-title {
    font-family: 'Pacifico', cursive;
    font-size: 52px;
    margin-bottom: 20px;
    color: #ffffff !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.redesign-hero-desc {
    font-size: 15.5px;
    max-width: 480px;
    line-height: 1.65;
    color: #ffffff !important;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    font-weight: 300;
}

.redesign-login-form-col {
    background-color: #ffffff;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    overflow-y: auto;
}

/* Airplane and Track at top-right */
.airplane-track-container {
    position: absolute;
    top: 15px;
    right: 15px;
    pointer-events: none;
    z-index: 2;
}

/* Custom Floating Label Inputs */
.custom-floating-group {
    position: relative;
    margin-bottom: 22px;
}

.custom-floating-group label {
    position: absolute;
    top: -9px;
    left: 14px;
    background-color: #ffffff;
    padding: 0 6px;
    font-size: 11.5px;
    color: #0ea5e9;
    font-weight: 600;
    z-index: 3;
    border-radius: 3px;
    letter-spacing: 0.3px;
}

.custom-floating-group .form-control {
    border: 1.5px solid #bae6fd;
    border-radius: 8px;
    height: 50px;
    padding-left: 42px;
    padding-right: 15px;
    font-size: 14.5px;
    color: #1e293b;
    background-color: #ffffff;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-floating-group .form-control:focus {
    border-color: #0ea5e9;
    background-color: #ffffff;
}

.custom-floating-group .input-icon-left {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 14px;
    color: #94a3b8;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
}

.custom-floating-group .toggle-password-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 14px;
    color: #64748b;
    cursor: pointer;
    font-size: 18px;
    z-index: 5;
    padding: 5px;
}

/* Blue Action Login Button */
.btn-login-blue {
    background-color: #0ea5e9 !important;
    border-color: #0ea5e9 !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3) !important;
    transition: all 0.25s ease;
}

.btn-login-blue:hover {
    background-color: #0284c7 !important;
    border-color: #0284c7 !important;
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.45) !important;
    transform: translateY(-1px);
}

/* Social Buttons Grid */
.social-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-login-btn {
    background-color: #f1f5f9;
    border: none;
    border-radius: 8px;
    width: 65px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #334155;
    transition: all 0.2s ease;
}

.social-login-btn:hover {
    background-color: #e2e8f0;
    color: #0f172a;
    transform: translateY(-1px);
}

/* Landmarks Illustration styling */
.landmarks-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.redesign-welcome-title {
    font-size: 34px;
    font-weight: 700;
    color: #0ea5e9;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.redesign-welcome-subtitle {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 30px;
    font-weight: 500;
}

/* Responsive adjustment for Mobile view */
@media (max-width: 991.98px) {
    .redesign-login-form-col {
        height: auto;
        min-height: 100vh;
        padding: 40px 25px;
        justify-content: flex-start;
    }

    .landmarks-container {
        margin-top: 30px;
    }

    .airplane-track-container {
        display: none;
    }
}

/* Full screen layout resets for the login page */
body.account-page .main-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
}

body.account-page .main-wrapper>.container-fluid {
    height: 100% !important;
    padding: 0 !important;
}

body.account-page .main-wrapper>.container-fluid>.row {
    height: 100% !important;
}

/* ==========================================================================
   11. CARD-BASED TRAVELING LOGIN PAGE REDESIGN
   ========================================================================== */

/* Left column background */
.traveling-left-panel {
    background-color: #f2f7fb;
    height: 100% !important;
    min-height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

/* Poster container on the left */
.login-poster-card {
    width: 100%;
    max-width: 520px;
    height: 100%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.login-poster-img {
    width: 100%;
    max-height: 86vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

/* Card container on the left */
.traveling-hero-card {
    background: #ffffff;
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Image container with relative positioning */
.overlapping-images-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    margin-bottom: 25px;
}

.traveling-photo {
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    position: absolute;
}

.photo-bridge-img {
    width: 60%;
    height: 190px;
    top: 0;
    left: 10px;
    z-index: 1;
}

.photo-hiking-img {
    width: 60%;
    height: 190px;
    bottom: 0;
    right: 10px;
    z-index: 3;
}

/* Binoculars Explorer SVG positioned absolutely */
.explorer-badge {
    position: absolute;
    top: -20px;
    right: 35%;
    z-index: 5;
    width: 65px;
    height: 65px;
}

/* Globe badge bottom-left */
.globe-badge {
    position: absolute;
    bottom: 35px;
    left: 35%;
    z-index: 5;
    width: 40px;
    height: 40px;
}

/* Spotlight Cone Beam pointing to the right */
.spotlight-beam-svg {
    position: absolute;
    top: 5px;
    left: 60%;
    width: 250px;
    height: 80px;
    z-index: 4;
    pointer-events: none;
}

/* Hero card texts */
.traveling-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    text-align: center;
}

.traveling-card-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Pagination Dots */
.traveling-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
}

.traveling-dot {
    height: 6px;
    border-radius: 3px;
    background-color: #cbd5e1;
    transition: all 0.2s ease;
}

.traveling-dot.active {
    width: 20px;
    background-color: #ff7c54;
}

.traveling-dot.inactive {
    width: 6px;
}

/* Right Form Column */
.traveling-right-panel {
    background-color: #ffffff;
    height: 100vh;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    overflow: hidden;
}

/* Orange/Coral Theme color properties */
.color-coral {
    color: #ff7c54 !important;
}

.bg-coral {
    background-color: #ff7c54 !important;
}

/* Logo brand header */
.traveling-logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.traveling-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.traveling-logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.traveling-welcome-title {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.traveling-welcome-subtitle {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 400;
}

/* Coral border floating inputs */
.coral-input-group {
    position: relative;
    margin-bottom: 22px;
}

.coral-input-group label {
    position: absolute;
    top: -9px;
    left: 14px;
    background-color: #ffffff;
    padding: 0 6px;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    z-index: 3;
    transition: color 0.2s ease;
}

.coral-input-group .form-control {
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    height: 50px;
    padding: 0 16px;
    font-size: 14px;
    color: #0f172a;
    box-shadow: none !important;
    transition: border-color 0.2s ease;
}

.coral-input-group .form-control.pass-input {
    padding-right: 44px;
}

.coral-input-group .toggle-pass-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coral-input-group .toggle-pass-btn:hover {
    color: #ff7c54;
}

.coral-input-group .form-control:focus {
    border-color: #ff7c54;
}

.coral-input-group .form-control:focus~label {
    color: #ff7c54;
}

/* Button Log in */
.btn-login-coral {
    background-color: #ff7c54 !important;
    border-color: #ff7c54 !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 12px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.25s ease;
}

.btn-login-coral:hover {
    background-color: #e0623a !important;
    border-color: #e0623a !important;
    transform: translateY(-0.5px);
}

/* Social Grid Horizontal layout with text */
.social-grid-container {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 10px;
}

.btn-social-horizontal {
    flex: 1;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 8px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.btn-social-horizontal:hover {
    background-color: #f8fafc;
    border-color: #cbd5e1 !important;
    color: #1e293b;
}

/* Paper Airplane track top-right form column */
.paper-plane-track-container {
    position: absolute;
    top: 20px;
    right: 20px;
    pointer-events: none;
    z-index: 1;
}

/* Absolute bottom copyright notice */
.traveling-copyright-bottom {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    color: #94a3b8;
    z-index: 5;
}
/* ==========================================================================
   SIDEBAR & SUBMENU CLEAN FIXES (MATCHED WITH STANDARD THEME)
   ========================================================================== */
.sidebar .sidebar-menu > ul > li ul > li a {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
}

/* Base hover for parent submenu links */
.sidebar .sidebar-menu > ul > li > ul > li.submenu > a:hover {
    background: var(--menu-item-active-bg, rgba(228, 31, 7, 0.1)) !important;
    color: var(--primary, #E41F07) !important;
    border-radius: 6px !important;
}

.sidebar .sidebar-menu > ul > li > ul > li.submenu > a:hover i {
    background-color: var(--primary, #E41F07) !important;
    color: #ffffff !important;
}

.sidebar .sidebar-menu > ul > li > ul > li.submenu > a:hover span {
    color: var(--primary, #E41F07) !important;
}

.sidebar .sidebar-menu > ul > li > ul > li.submenu > a:hover .menu-arrow::before {
    border-color: var(--primary, #E41F07) !important;
}

/* Active / Subdrop Parent Link State */
.sidebar .sidebar-menu > ul > li > ul > li.submenu > a.subdrop,
.sidebar .sidebar-menu > ul > li > ul > li.submenu > a.active {
    background: var(--menu-item-active-bg, rgba(228, 31, 7, 0.1)) !important;
    color: var(--primary, #E41F07) !important;
    border-radius: 6px !important;
}

.sidebar .sidebar-menu > ul > li > ul > li.submenu > a.subdrop i,
.sidebar .sidebar-menu > ul > li > ul > li.submenu > a.active i {
    background-color: var(--primary, #E41F07) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.sidebar .sidebar-menu > ul > li > ul > li.submenu > a.subdrop span:first-of-type,
.sidebar .sidebar-menu > ul > li > ul > li.submenu > a.active span:first-of-type {
    color: var(--primary, #E41F07) !important;
    font-weight: 500 !important;
}

.sidebar .sidebar-menu > ul > li > ul > li.submenu > a .menu-arrow {
    margin-left: auto !important;
}

.sidebar .sidebar-menu > ul > li > ul > li.submenu > a.subdrop .menu-arrow::before,
.sidebar .sidebar-menu > ul > li > ul > li.submenu > a.active .menu-arrow::before {
    border-color: var(--primary, #E41F07) !important;
}

/* Clean submenu list container */
.sidebar .sidebar-menu > ul li.submenu > ul {
    background: transparent !important;
    padding: 2px 0 6px 0 !important;
    margin-top: 2px !important;
}

.sidebar .sidebar-menu > ul li.submenu > ul li {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Submenu inner items */
.sidebar .sidebar-menu > ul li.submenu > ul li a {
    background: transparent !important;
    padding: 8px 12px 8px 42px !important;
    font-size: 13.5px !important;
    font-weight: 400 !important;
    color: #707070 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.sidebar .sidebar-menu > ul li.submenu > ul li a:hover {
    color: var(--primary, #E41F07) !important;
    background: rgba(228, 31, 7, 0.06) !important;
}

.sidebar .sidebar-menu > ul li.submenu > ul li a:hover::after {
    background-color: var(--primary, #E41F07) !important;
}

.sidebar .sidebar-menu > ul li.submenu > ul li a.active {
    color: var(--primary, #E41F07) !important;
    font-weight: 600 !important;
    background: rgba(228, 31, 7, 0.08) !important;
}

.sidebar .sidebar-menu > ul li.submenu > ul li a.active::after {
    background-color: var(--primary, #E41F07) !important;
}
