
/* Profile Dropdown Container */
.profile-dropdown-custom .dropdown-toggle {
    background: none;
    border: none;
    padding: 8px;
}

.profile-dropdown-menu-custom {
    width: 320px;
    border-radius: 10px;
    border: 1px solid #EFF2F5; 
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 0;
    margin-top: 12px;
    background: #FFFFFF;
}

/* Profile Header Section */
.profile-header-section {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    position: relative;
}

.profile-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.profile-header-info {
    flex: 1;
    min-width: 0;
}

.profile-name-custom {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #181C32; 
    line-height: 1.3;
}

.profile-email-custom {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: #7E8299;
    line-height: 1.3;
}

.badge-pro-custom {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #009EF7 0%, #009EF7 50%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

/* Menu Divider */
.menu-divider-custom {
    height: 1px;
    background: #EFF2F5; 
    margin: 0;
}

/* Menu Items */
.profile-menu-items-custom {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.customers-nav-item-profile-link {
    margin: 0;
    position: relative;
}

.menu-link-custom {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    color: #5E6278; 
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.menu-link-custom:hover:not(.menu-link-disabled) {
    background-color: #F1F5FF; 
    color: #009EF7; 
    border-left-color: #009EF7; 
}

.menu-link-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.menu-link-disabled:hover {
    background-color: transparent;
    border-left-color: transparent;
}

.menu-icon-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    height: 20px;
    font-size: 16px;
    color: #7E8299;
}

.menu-link-custom:hover:not(.menu-link-disabled) .menu-icon-custom {
    color: #009EF7;
}

    .menu-text-custom {
        flex: 1;
        font-weight: 500;
    }

    /* Language Item */
    .language-item-custom {
        position: relative;
    }

    .language-item-custom .menu-link-custom {
        justify-content: space-between;
    }

    .language-value-custom {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        color: #6c757d;
    }

    /* Submenu positioning - BELOW */
    .language-item-custom .dropdown-menu.language-submenu-custom {
        position: absolute;
        top: 100%;
        left: 0;
        margin-top: 0;
        min-width: 100%;
        display: none;
        list-style: none;
        padding: 4px 0;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

    .language-item-custom:hover .language-submenu-custom,
    .language-item-custom .language-submenu-custom.show {
        display: block;
    }

    .language-option-custom {
        display: block;
        padding: 8px 16px;
        color: #495057;
        text-decoration: none;
        font-size: 13px;
        transition: all 0.2s ease;
    }

    .language-option-custom:hover {
        background-color: #e9ecef;
        color: #2c3e50;
    }

    .language-submenu-custom li.active .language-option-custom {
        color: #667eea;
        font-weight: 600;
    }

    /* Dark Mode Toggle */
    .dark-mode-item-custom .menu-link-custom {
        justify-content: space-between;
    }

    .toggle-switch-custom {
        position: relative;
        display: inline-block;
        width: 40px;
        height: 20px;
    }

    .toggle-checkbox {
        display: none;
    }

    .toggle-label {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ccc;
        border-radius: 20px;
        transition: all 0.3s ease;
    }

    .toggle-label::after {
        content: '';
        position: absolute;
        left: 2px;
        top: 2px;
        width: 16px;
        height: 16px;
        background-color: white;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .toggle-checkbox:checked+.toggle-label {
        background-color: #667eea;
    }

    .toggle-checkbox:checked+.toggle-label::after {
        left: 22px;
    }

    /* Announcements Badge */
    .badge-announcement-custom {
        margin-left: auto;
        background: #dc3545;
        color: white;
        font-size: 11px;
        font-weight: 600;
        padding: 2px 6px;
        border-radius: 4px;
        min-width: 20px;
        text-align: center;
    }

    /* Logout Button */
    .customers-nav-item-logout-custom {
        list-style: none;
        margin: 0;
        padding: 8px;
    }

    .logout-btn-custom {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 10px 16px;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 6px;
        color: #495057;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.2s ease;
        cursor: pointer;
    }

    .logout-btn-custom:hover {
        background: #e9ecef;
        color: #2c3e50;
        border-color: #dee2e6;
        text-decoration: none;
    }

    .logout-btn-custom i {
        font-size: 16px;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .profile-dropdown-menu-custom {
            width: 280px;
            right: 0;
        }
    }

    /* Animation */
    .profile-dropdown-menu-custom.fadeIn {
        animation: fadeIn 0.2s ease-in-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(-8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

.btn.btn-primary {
    background-color: #408BFF!important;      
    border-color: #408BFF !important;
    color: #fff !important;
    font-weight: 500;
    border-radius: 0.475rem;         
    padding: 0.55rem 1.25rem;           
    transition: all .2s ease-in-out;
}

.btn.btn-primary.btn-sm {
    background-color: #408BFF !important;      
    border-color: #408BFF !important;
    color: #fff !important;
    font-weight: 500;
    border-radius: 0.475rem;         
    padding: 0.35rem 1rem;           
    transition: all .2s ease-in-out;
    font-size: 1em;
}



.btn.btn-primary:hover {
    background-color: #007ACC !important; 
    border-color: #007ACC !important;
}

.btn.btn-primary:active,
.btn.btn-primary:focus {
    background-color: #005FA3 !important;     
    border-color: #005FA3 !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 149, 232, 0.25) !important;
}


/* Dropdown Container */
.kt-dropdown-menu {
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 8px 0 !important;
    /* box-shadow: 0 8px 32px rgba(0,0,0,0.10) !important; */
    border: none !important;
    min-width: 220px;
}

/* Dropdown Items */
.kt-dropdown-item a.kt-dropdown-link {
    padding: 10px 16px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3a3a3a !important;
    font-size: 14px;
    font-weight: 500;
}

/* Hover Style */
.kt-dropdown-item a.kt-dropdown-link:hover {
    background: #f5f8fa !important;
    color: #009ef7 !important; 
}

/* Icon styling */
.kt-dropdown-item i {
    font-size: 14px;
    width: 16px;
}

/* Active Menu Item */
.kt-dropdown-item.active > a {
    background: #eef6ff !important;
    color: #009ef7 !important;
}


/* Make customer header sticky */
.navbar.header { 
    position: sticky; 
    top: 0; z-index: 9999; 
    background: #fff; 
    /* box-shadow: 0 2px 10px rgba(0,0,0,0.08);  */
    box-shadow: none; 
}

.navbar.header .dropdown-menu {
    z-index: 99999 !important;
}

/* Metronic style for menu trigger */
.kt-menu-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #EFF2F5;
    border-radius: 8px;
    font-size: 14px;
    color: #5E6278;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.kt-menu-link i {
    font-size: 15px;
    color: #5E6278;
    transition: color 0.25s ease;
}

/* Hover */
.kt-menu-link:hover,
.kt-menu-link:focus {
    background: #F1F5FF; 
    border-color: #009EF7;
    color: #009EF7;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 158, 247, 0.15);
}

.kt-menu-link:hover i {
    color: #009EF7;
}

/* Active (if dropdown open) */
.kt-menu-link[aria-expanded="true"] {
    background: #F1F5FF;
    border-color: #009EF7;
    color: #009EF7;
    box-shadow: 0 4px 10px rgba(0, 158, 247, 0.18);
}

.border-green-500{
    border: 2px solid oklch(72.3% 0.219 149.579);; 
    border-radius:50%;
}
.client-profile-image-small{
    width: 45px;
    height: 45px;
}

/* .language-submenu-custom {
    display: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.2s ease;
}

.language-item-custom.open-submenu > .language-submenu-custom {
    display: block;
    opacity: 1;
    transform: translateX(0);
} */

#loading-indicator{
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 9999;
}

/* Wrapper for the loader  */
.loader-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}


.loader {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background:
    conic-gradient(
      from 0deg,
      #3A7BFF 0deg,
      #70D7FF 270deg,
      rgba(180, 254, 221, 0) 320deg,
      rgba(180, 254, 221, 0) 360deg
    );

  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 5px),
    #000 calc(100% - 5px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 5px),
    #000 calc(100% - 5px)
  );

  /* Infinite spinning animation */
  animation: spin 1s linear infinite;
}

/* Rotation keyframes */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.kt-input{
    .form-control;
}


/* Metronic-style breadcrumb */
.breadcrumb {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›"; 
    color: #7e8299; 
    font-weight: 600;
}

.breadcrumb-item a {
    color: #5e6278; 
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb-item a:hover {
    color: #009ef7; 
}

.breadcrumb-item.active {
    color: #181c32; 
    font-weight: 500;
}


.panel_s{
    box-shadow: none;
}
