/* Global Variables */
:root {
    --primary-color: #6c5ce7;
    --primary-light: #a29bfe;
    --success-color: #00b894;
    --danger-color: #d63031;
    --warning-color: #fdcb6e;
    --info-color: #0984e3;
    --text-color: #2d3436;
    --text-muted: #636e72;
    --bg-light: #f5f6fa;
    --bg-white: #ffffff;
    --border-color: #dfe6e9;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --font-family: 'Inter', sans-serif;
}

/* Reset & Typography */
body {
    font-family: var(--font-family);
    background-color: var(--bg-light);
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-color);
}

/* Utilities */
.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-info { color: var(--info-color) !important; }
.text-muted { color: var(--text-muted) !important; }

.bg-primary-light { background-color: rgba(108, 92, 231, 0.1); }
.bg-success-light { background-color: rgba(0, 184, 148, 0.1); }
.bg-danger-light { background-color: rgba(214, 48, 49, 0.1); }
.bg-warning-light { background-color: rgba(253, 203, 110, 0.1); }
.bg-info-light { background-color: rgba(9, 132, 227, 0.1); }

.rounded-lg { border-radius: var(--border-radius); }
.shadow-sm { box-shadow: var(--card-shadow); }
.shadow-hover:hover { box-shadow: var(--card-hover-shadow); transform: translateY(-2px); transition: all 0.3s ease; }

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1; 
}
::-webkit-scrollbar-thumb {
    background: #888; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555; 
}

/* Custom Layout for Fixed Sidebar */
.sidebar {
    position: fixed;
    /* top: 44px;  */
    bottom: 0;
    left: 0;
    z-index: 1030;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
    width: 275px;
    background-color: var(--bg-white);
    transition: all 0.3s ease-in-out;
    height: calc(100vh - 64px);
}

.main-content {
    margin-left: 275px;
    width: calc(100% - 275px);
    transition: all 0.3s ease-in-out;
}

/* Header Dropdown Menu (Premium) */
.header-dropdown-menu {
    width: 320px;
    padding: 0;
    margin-top: 15px !important;
    border-radius: 16px;
    overflow: hidden;
}

.header-dropdown-menu .dropdown-header {
    background-color: var(--bg-white);
    padding: 15px 20px;
    font-size: 0.95rem;
}

.header-dropdown-menu .dropdown-item {
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.2s;
}

.header-dropdown-menu .dropdown-item:last-child {
    border-bottom: none;
}

.header-dropdown-menu .dropdown-item:hover {
    background-color: #f8faff;
}

.header-dropdown-menu .dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #7367f0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
}

.header-dropdown-menu .dropdown-icon-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-soft-primary { background-color: rgba(115, 103, 240, 0.1); }
.bg-soft-orange { background-color: rgba(255, 159, 67, 0.1); }

.no-caret::after {
    display: none !important;
}

.profile-trigger:hover {
    opacity: 0.8;
}

.profile-trigger .profile-avatar {
    border-radius: 10px;
    background-color: #7367f0;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
    .sidebar {
        position: fixed;
        left: -275px;
        top: 0;
        bottom: 0;
        width: 275px;
        display: block !important;
        z-index: 1060;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        padding-top: 1rem !important;
        background-color: #fff !important;
        box-shadow: none;
    }

    .sidebar.show {
        transform: translateX(275px);
        box-shadow: 5px 0 25px rgba(0,0,0,0.1);
    }

    .sidebar-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1055;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .sidebar-backdrop.show {
        display: block;
        opacity: 1;
        z-index: 999;
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }
}
/* Sidebar Redesign Specifics */
.sidebar {
    background-color: #F8F9FA; /* Light background */
    border-right: none;
    padding-top: 10px !important; 
    display: flex;
    flex-direction: column;
}

.sidebar .nav-link {
    font-weight: 500;
    color: #5E6E82; /* Muted text color */
    padding: 10px 24px;
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 4px;
}

.sidebar .nav-link:hover {
    color: #E65100; /* Darker orange on hover */
    background-color: rgba(255, 159, 67, 0.05);
}

.sidebar .nav-link.active {
    color: #FF9F43; /* Orange text */
    background-color: #FFF5EB; /* Light orange background */
    font-weight: 600;
    border-right: 3px solid #FF9F43; /* Active indicator */
}

.sidebar .nav-link i {
    margin-right: 12px;
    font-size: 20px;
    display: flex;
    align-items: center;
}

/* Sidebar Section Headers */
.sidebar-heading {
    font-size: 11px;
    text-transform: uppercase;
    color: #A5A2AD;
    font-weight: 700;
    padding: 16px 24px 8px;
    letter-spacing: 0.5px;
}

/* Badges in Sidebar */
.sidebar .badge {
    margin-left: auto;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px; /* Pill shape */
    font-size: 11px;
}

.bg-orange {
    background-color: #FF9F43 !important;
    color: #fff;
}

.bg-grey-light {
    background-color: #E6E6E6 !important;
    color: #5E6E82;
}

/* Bottom User Card */
.sidebar-footer {
    padding: 16px 20px;
    margin-top: auto; /* Push to bottom */
    border-top: 1px solid #EBE9F1;
    background-color: #fff;
}

.user-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background-color: #FF9F43;
    color: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.user-info h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.user-info small {
    color: #A5A2AD; /* Muted role text */
    font-size: 12px;
}

.toggle-switch {
    display: none; /* Removed as per request */
}

/* Header Redesign */
header.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1.5rem;
    height: 64px;
    z-index: 1020;
    box-shadow: none !important;
}

.navbar-brand {
    color: #333 !important;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 0;
    display: flex;
    align-items: center;
    min-width: auto !important;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-search {
    max-width: 400px;
    position: relative;
    margin-left: 2rem;
}

.header-search .form-control {
    background: #f1f3f4;
    border: none;
    border-radius: 8px;
    padding-left: 2.5rem;
    font-size: 0.875rem;
    height: 38px;
    transition: all 0.3s;
    width: 250px;
}

.header-search .form-control:focus {
    background: #fff;
    box-shadow: 0 0 0 2px rgba(108, 92, 231, 0.2);
    width: 300px;
}

.header-search .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #5f6368;
    width: 16px;
    z-index: 5;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #5f6368;
    position: relative;
    transition: background 0.2s;
    background: transparent;
    border: none;
    outline: none;
}

.header-icon-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #333;
}

.header-icon-btn .badge {
    position: absolute;
    top: 6px;
    right: 6px;
    padding: 2px 4px;
    font-size: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.header-divider {
    height: 24px;
    width: 1px;
    background: #e0e0e0;
    margin: 0 0.5rem;
}

.profile-dropdown .avatar-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-dropdown .dropdown-toggle::after {
    display: none;
}

@media (max-width: 767.98px) {
    .header-search {
        display: none;
    }
    .header-divider {
        display: none;
    }
    .navbar-brand {
        font-size: 1.1rem;
    }
}

/* Activity Page Styles */
.bg-light-activity { background-color: #F8F9FA !important; }
.fs-13 { font-size: 13px !important; }
.fs-11 { font-size: 11px !important; }
.fs-14 { font-size: 14px !important; }
.fs-16 { font-size: 16px !important; }
.fs-18 { font-size: 18px !important; }

.metric-icon-box {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Activity Specific Soft Colors & Badges */
.bg-soft-primary-act { background-color: #EBF4FF; color: #2F88F8; }
.bg-soft-warning-act { background-color: #FFF9EE; color: #F59E0B; }
.bg-soft-success-act { background-color: #E8F9F5; color: #10B981; }
.bg-soft-danger-act { background-color: #FFF5F5; color: #EF4444; }
.bg-soft-info-act { background-color: #E0F2FE; color: #0EA5E9; }

.activity-card {
    border-radius: 16px;
    border: 1px solid #E2E8F0 !important;
    background-color: #fff;
}

/* Universal Button Styles */
.btn-premium-dark {
    border-radius: 10px !important;
    background-color: #1A202C !important;
    color: #fff !important;
    height: 44px;
    font-size: 13px;
    font-weight: 500;
    border: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    transition: all 0.2s ease;
}
.btn-premium-dark:hover {
    background-color: #2D3748 !important;
    transform: translateY(-1px);
}

.btn-premium-white {
    border-radius: 10px !important;
    background-color: #fff !important;
    color: #1A202C !important;
    height: 44px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #E2E8F0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    transition: all 0.2s ease;
}
.btn-premium-white:hover {
    background-color: #F8FAFC !important;
    border-color: #CBD5E0 !important;
    transform: translateY(-1px);
}

.btn-premium-danger {
    border-radius: 10px !important;
    background-color: #EF4444 !important;
    color: #fff !important;
    height: 44px;
    font-size: 13px;
    font-weight: 500;
    border: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    transition: all 0.2s ease;
}
.btn-premium-danger:hover {
    background-color: #DC2626 !important;
    transform: translateY(-1px);
}

.mockup-select {
    border-radius: 10px !important;
    padding: 10px 15px;
    font-size: 13px;
    color: #4A5568;
    border: 1px solid #E2E8F0 !important;
    background-color: #fff;
    height: 44px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%234A5568' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-size: 12px;
    box-shadow: none !important;
}

.mockup-search {
    border-color: #E2E8F0 !important;
    height: 44px;
    box-shadow: none !important;
}

.mockup-table thead th {
    font-size: 11px;
    text-transform: uppercase;
    color: #5E6E82;
    font-weight: 700;
    padding: 18px 15px;
    border-bottom: 1px solid #EDF2F7;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.mockup-table tbody tr {
    transition: all 0.2s ease;
}

.mockup-table tbody tr:hover {
    background-color: #F8FAFC;
}

.mockup-table tbody td {
    white-space: nowrap; 
    padding: 16px 15px;
    border-bottom: 1px solid #F1F5F9;
    color: #4A5568;
    font-size: 13px;
}

/* Checklist / Checkbox styling for tables */
.mockup-table .form-check-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    border: 1.5px solid #CBD5E0;
    border-radius: 4px;
}

.mockup-table .form-check-input:checked {
    background-color: #FF9F43;
    border-color: #FF9F43;
}

.causer-avatar-sm {
    width: 24px;
    height: 24px;
    background-color: #EBF4FF;
    color: #2F88F8;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
}

/* Table responsive scrollbar */
.table-responsive::-webkit-scrollbar {
    height: 6px;
}
.table-responsive::-webkit-scrollbar-thumb {
    background: #E2E8F0;
    border-radius: 10px;
}

/* Breadcrumb Custom Separator */
.breadcrumb-item + .breadcrumb-item::before {
    content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3e%3cpath d='M2.5 0L1 1.5 3.5 4 1 6.5 2.5 8l4-4-4-4z' fill='%23A5A2AD'/%3e%3c/svg%3e") !important;
    vertical-align: middle;
}

/* Pre tag Custom Scrollbar */
pre::-webkit-scrollbar {
    width: 6px;
}
pre::-webkit-scrollbar-thumb {
    background: #4A5568;
    border-radius: 10px;
}

/* Universal Premium Pagination */
.pagination-premium .page-item {
    margin: 0 3px;
}
.pagination-premium .page-link {
    border: none;
    border-radius: 8px !important;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #4A5568;
    background-color: transparent;
    transition: all 0.2s ease;
}
.pagination-premium .page-item.active .page-link {
    background-color: #1A202C !important;
    color: #fff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.pagination-premium .page-link:hover:not(.active) {
    background-color: #f1f5f9;
    color: #1A202C;
}
.pagination-premium .page-item.disabled .page-link {
    background-color: transparent;
    color: #cbd5e1;
}

/* Premium Dropdown Item Refinements */
.dropdown-item-premium {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #4A5568;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}
.dropdown-item-premium:hover {
    background-color: #f8faff;
    color: #1A202C;
}
.dropdown-item-premium i {
    font-size: 16px;
    width: 24px;
}
.dropdown-item-premium.text-danger:hover {
    background-color: #fff5f5;
}

/* Sidebar & Layout Enhancements */
#sidebarMenu {
    height: 100% !important;
    position: fixed !important;
    display: flex !important;
    flex-direction: column !important;
    background-color: #F8F9FA !important;
    z-index: 1030 !important;
}

.sidebar-inner {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.sidebar-content-area {
    overflow-y: auto;
    overflow-x: hidden;
    padding-top: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(30, 169, 255, 0.2) transparent;
}

.sidebar-content-area::-webkit-scrollbar {
    width: 4px;
    display: block;
}

.sidebar-content-area::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-content-area::-webkit-scrollbar-thumb {
    background-color: rgba(30, 169, 255, 0.2);
    border-radius: 10px;
}

.sub-menu {
    border-left: 1px solid #EBE9F1;
    margin-left: 1.8rem !important;
    padding-left: 0;
    margin-bottom: 0.5rem;
    position: relative;
}

.sub-menu .nav-item {
    position: relative;
}

.sub-menu .nav-item::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 50%;
    width: 8px;
    height: 1px;
    background-color: #EBE9F1;
    transform: translateY(-50%);
}

.sub-menu .nav-link {
    padding: 0.5rem 1rem 0.5rem 1.5rem !important;
    font-size: 0.85rem !important;
    color: #5E6E82 !important;
    font-weight: 400 !important;
    position: relative;
    display: flex !important;
    align-items: center !important;
}

.sub-menu .nav-link::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #A5A2AD;
    margin-right: 12px;
    transition: all 0.2s ease;
}

.sub-menu .nav-link:hover {
    color: #1EA9FF !important;
    background: transparent !important;
}

.sub-menu .nav-link:hover::before {
    background-color: #1EA9FF;
    box-shadow: 0 0 5px rgba(30, 169, 255, 0.5);
}

.sub-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
    opacity: 0.5;
}

[aria-expanded="true"] .sub-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: #1EA9FF;
}

.btn-soft-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: none;
}

.btn-soft-danger:hover {
    background-color: #dc3545;
    color: #fff;
}

/* Header & Dropdown Refinements */
.header-dropdown-menu {
    min-width: 320px !important;
    padding: 0.5rem 0;
    border-radius: 16px !important;
    margin-top: 15px !important;
}

.header-dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-item {
    padding: 12px 20px !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 0 8px;
    width: auto !important;
}

.header-dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:hover {
    background-color: rgba(30, 169, 255, 0.05) !important;
    color: #1EA9FF !important;
}

.header-dropdown-menu .dropdown-header {
    padding: 15px 20px !important;
}

.header-dropdown-menu .dropdown-divider {
    margin: 5px 0 !important;
    opacity: 0.08;
}

.dropdown-avatar {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    background: #f8f9fa;
}

.dropdown-icon-circle {
    width: 35px;
    height: 35px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Role Management UI */
.permission-card {
    transition: all 0.2s ease;
}

.permission-card:hover, .permission-card.selected-perm {
    border-color: var(--primary-color) !important;
    background-color: #F8FBFF !important;
}

.cursor-pointer { 
    cursor: pointer; 
}

/* User Edit & Tabs UI */
.custom-tab-btn {
    color: #64748b;
    transition: all 0.2s ease;
}

.custom-tab-btn:hover {
    color: #1e293b;
}

.custom-tab-btn.active {
    color: var(--primary-color) !important;
    background: transparent !important;
}

.custom-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.max-w-600 {
    max-width: 600px !important;
}

.input-group-text {
    border-color: #e2e8f0;
}

/* Premium Layout Utilities */
.back-btn-square {
    width: 40px;
    height: 40px;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.avatar-100 {
    width: 100px !important;
    height: 100px !important;
    font-size: 32px !important;
    border-radius: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-edit-avatar {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border: 2px solid #fff !important;
}

.bg-premium-soft {
    background-color: #F8FBFF !important;
}

.card-premium-rounded {
    border-radius: 16px !important;
    overflow: hidden !important;
}

.card-rounded-12 {
    border-radius: 12px !important;
    overflow: hidden !important;
}

.breadcrumb-tiny {
    font-size: 11px !important;
}

.icon-box-32 {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.icon-box-36 {
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.table-responsive-min-h {
    min-height: 400px;
}

.table-header-premium {
    background-color: #F8FBFF !important;
}

.col-w-50 {
    width: 50px !important;
}

.text-max-250 {
    max-width: 250px !important;
}

.dropdown-menu-premium {
    border-radius: 16px !important;
    margin-top: 10px !important;
    min-width: 220px !important;
    padding: 12px 0 !important;
    background-color: #fff !important;
    border: 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
}

.sidebar-mobile-header {
    z-index: 1030 !important;
}

.fs-24 { 
    font-size: 24px !important; 
}

/* Premium Admin Improvements */
.min-height-adjust { min-height: calc(100vh - 124px); }
.bg-light-activity { background-color: #f7f9fc; }
.bg-light-soft { background-color: #f8fbff; }
.avatar-sm { line-height: 32px; }
.avatar-lg { line-height: 60px; }
.cursor-pointer { cursor: pointer; }
.hover-up { transition: all 0.2s ease; }
.hover-up:hover { transform: translateY(-2px); }
.line-height-1-5 { line-height: 1.5; }
.letter-spacing-1 { letter-spacing: 1px; }
.font-primary-bold-italic { font-family: 'DM Sans', sans-serif; font-weight: 700; font-style: italic; }

/* Metrics & Stats */
.metric-icon-box { width: 44px; height: 44px; align-items: center; justify-content: center; flex-shrink: 0; display: flex; }
.metric-icon-box i { font-size: 20px; }

/* Form Controls (Premium Mockup) */
.mockup-search { height: 44px; }
.mockup-select { height: 44px; font-size: 13px; color: #6c757d; border-radius: 8px; }

/* Modern Badge Premium System */
.badge-premium-pill {
    padding: 4px 12px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.badge-premium-danger { background-color: #FFF5F5; color: #E53E3E; }
.badge-premium-warning { background-color: #FFFAF0; color: #DD6B20; }
.badge-premium-success { background-color: #F0FFF4; color: #38A169; }
.badge-premium-info { background-color: #EBF8FF; color: #3182CE; }

/* Circular Profile/Avatar Patterns */
.avatar-circle-box {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #F7FAFC;
}

.avatar-circle-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Action Icons Refinement */
.table-action-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #718096;
    transition: all 0.2s ease;
}

.table-action-icon:hover {
    background-color: #EDF2F7;
    color: #2D3748;
}

/* Buttons */
.back-btn-square { width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; }

/* Navigation Tabs (Premium) */
.premium-nav-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #6c757d;
    font-size: 13px;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    border-radius: 0;
    background: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}
.premium-nav-tabs .nav-link i { font-size: 16px; }
.premium-nav-tabs .nav-link.active { color: var(--primary-color); border-bottom-color: var(--primary-color); }
.premium-nav-tabs .nav-link:hover:not(.active) { color: #343a40; border-bottom-color: #dee2e6; }

/* Timeline */
.timeline-line { left: 7px !important; }

/* Product Content */
.product-description-content h4 { font-size: 16px; font-weight: 700; color: #333; margin-top: 1.5rem; margin-bottom: 0.75rem; }
.product-description-content ul { padding-left: 1.25rem; }
.product-description-content li { margin-bottom: 0.5rem; }

/* Additional Utilities for Product Management */
.border-dashed { border: 2px dashed #dee2e6 !important; }
.scrollbar-hidden::-webkit-scrollbar { display: none; }
.scrollbar-hidden { -ms-overflow-style: none; scrollbar-width: none; }

/* Auth Layout Styles */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium Floating Label Fields */
.premium-field-group {
    position: relative;
    margin-top: 10px;
}
.premium-field-label {
    position: absolute;
    top: -10px;
    left: 12px;
    background: white;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 600;
    color: #64748B;
    z-index: 10;
    transition: all 0.2s ease;
}
.premium-field-control {
    width: 100%;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: #1E293B;
    transition: all 0.2s ease;
    outline: none;
    background-color: white;
}
.premium-field-control:focus {
    border-color: #1E293B;
    box-shadow: 0 0 0 4px rgba(30, 41, 59, 0.05);
}
.premium-field-group:focus-within .premium-field-label {
    color: #1E293B;
}

/* Profile Specific Components */
.profile-avatar-preview {
    width: 120px;
    height: 120px;
    position: relative;
    cursor: pointer;
}
.profile-avatar-preview img {
    transition: all 0.3s ease;
}
.upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: all 0.3s ease;
}
.profile-avatar-preview:hover .upload-overlay {
    opacity: 1;
}
.profile-avatar-preview:hover img {
    filter: blur(1px);
}

.mockup-switch {
    width: 44px !important;
    height: 22px !important;
    cursor: pointer;
    border-color: #E2E8F0 !important;
}
.mockup-switch:checked {
    background-color: #00A76F !important;
    border-color: #00A76F !important;
}

.btn-soft-danger {
    background-color: #FFF1F2;
    color: #E11D48;
    border: none;
    transition: all 0.2s ease;
}
.btn-soft-danger:hover {
    background-color: #FFE4E6;
    color: #BE123C;
}
