* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f0f2f5;
    color: #333;
}
.no-outline:focus,
.no-outline:active {
  outline: none !important; 
  box-shadow: none !important;
  border-color: #ced4da;
}
/* Navbar */
.top-navbar {
    background-color: white;
    padding: 14px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 22px;
}
.logo-icon {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #6375fc 0%, #3452FE 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}
.logo-text {
    color: #5B6FFF;
    font-weight: 600;
    letter-spacing: -0.5px;
}
.logo-sales {
    color: #1f2937;
    font-weight: 400;
}
.navbar-icons {
    display: flex;
    gap: 16px;
    align-items: center;
}
.navbar-icons i {
    font-size: 18px;
    color: #6b7280;
    cursor: pointer;
}
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6499FE 0%, #3452FE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 12px;
    position: relative;
}
.online-dot {
    width: 9px;
    height: 9px;
    background: #10b981;
    border: 2px solid white;
    border-radius: 50%;
    position: absolute;
    bottom: -1px;
    right: -1px;
}
/* Profile Dropdown */
.user-avatar {
    cursor: pointer;
}
.dropdown-menu {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    padding: 0;
    margin-top: 8px !important;
}
.dropdown-header {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}
.dropdown-header .user-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}
.dropdown-header .user-email {
    font-size: 12px;
    color: #9ca3af;
}
.dropdown-item {
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4b5563;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.dropdown-item:hover {
    background: #f9fafb;
    color: #5B6FFF;
}
.dropdown-item i {
    font-size: 14px;
    width: 16px;
}
.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 0;
}
.dropdown-item.logout {
    color: #dc2626;
}
.dropdown-item.logout:hover {
    background: #fef2f2;
    color: #dc2626;
}
.navbar-nav .nav-link {
    font-size: 14px;
    color: #6b7280 !important; /* light gray */
    font-weight: 500;
}
.navbar-nav .dropdown-menu {
    border-radius: 8px;
    padding: 0;
}
.navbar-nav .dropdown-item {
    padding: 10px 14px;
    font-size: 14px;
}
/* Main Content */
.main-content {
    padding: 24px;
}
.welcome-section {
    background: white;
    padding: 24px 28px;
    border-radius: 8px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #e5e7eb;
}
.welcome-text h2 {
    font-size: 22px;
    font-weight: 600;
    color: #58637a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.welcome-text p {
    color: #858d9d;
    font-size: 13px;
    margin: 0;
    line-height: 1.6;
}
.btn-gray {
    background: rgb(239, 240, 232) !important;
    color: gray !important;
}
.resync-btn {
    background: white;
    border: 1.5px solid #5B6FFF;
    color: #5B6FFF;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
}
.resync-btn:hover {
    background: #5B6FFF;
    color: white;
}
/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}
.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.stat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.stat-icon.blue {
    background: #EFF6FF;
    color: #3B82F6;
}
.stat-icon.orange {
    background: #FFF7ED;
    color: #F59E0B;
}
.stat-icon.pink {
    background: #FDF2F8;
    color: #EC4899;
}
.stat-icon.cyan {
    background: #ECFEFF;
    color: #06B6D4;
}
.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
}
.stat-label {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 500;
}
.stat-change {
    font-size: 11px;
    color: #10b981;
    font-weight: 500;
}
.stat-change .text-muted {
    color: #9ca3af;
    font-weight: 400;
}
/* Bottom Section */
.bottom-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}
.section-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}
.section-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}
.show-more {
    color: #5B6FFF;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}
.show-more:hover {
    text-decoration: underline;
}
/* Products Table */
.table-controls {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    align-items: center;
}
.export-buttons {
    display: flex;
    gap: 6px;
}
.export-btn {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    color: #374151;
    font-weight: 500;
}
.export-btn:hover {
    background: #f9fafb;
    border-color: #5B6FFF;
    color: #5B6FFF;
}
.search-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-wrapper label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}
.search-wrapper input {
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    width: 180px;
    font-size: 12px;
}
.products-table {
    width: 100%;
    border-collapse: collapse;
}
.products-table thead {
    background: #fafafa;
}
.products-table th {
    text-align: left;
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    border: 1px solid #e5e7eb;
    letter-spacing: 0.3px;
}
.products-table td {
    padding: 12px;
    border: 1px solid #e5e7eb;
    font-size: 13px;
    color: #374151;
    vertical-align: middle;
}
.products-table tbody tr:hover {
    background: #fafafa;
}
.product-image {
    width: 50px;
    height: 50px;
    background: #f3f4f6;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 10px;
    text-align: center;
    border: 1px solid #e5e7eb;
}
.product-image i {
    font-size: 18px;
    margin-bottom: 2px;
}
/* Employees List */
.employees-header {
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.employee-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}
.employee-item:last-child {
    border-bottom: none;
}
.employee-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    border: 1px solid #e5e7eb;
}
.employee-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 3px 0;
}
.employee-info p {
    font-size: 12px;
    color: #9ca3af;
    margin: 0;
}
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bottom-section {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}