/* ============================================
   BIKROY MARKETPLACE - Complete Styles
   ============================================ */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f2f4f8;
    color: #1e293b;
    line-height: 1.5;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ---------- NAVBAR ---------- */
.navbar {
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #f1f5f9;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    font-weight: 700;
    color: #0d3b39;
    text-decoration: none;
    transition: 0.2s;
}

.logo i {
    color: #0f766e;
    font-size: 32px;
}

.logo span {
    background: #0f766e;
    color: white;
    font-size: 14px;
    font-weight: 600;
    padding: 2px 12px;
    border-radius: 40px;
    margin-left: 6px;
}

.logo:hover {
    opacity: 0.85;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ---------- SEARCH BAR ---------- */
.search-bar {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 60px;
    padding: 6px 6px 6px 18px;
    border: 1px solid #e2e8f0;
    transition: 0.2s;
    min-width: 280px;
}

.search-bar:focus-within {
    border-color: #0f766e;
    background: white;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.search-bar input {
    border: none;
    background: transparent;
    padding: 10px 0;
    font-size: 14px;
    width: 100%;
    outline: none;
    color: #1e293b;
}

.search-bar input::placeholder {
    color: #94a3b8;
}

.search-bar button {
    background: #0f766e;
    border: none;
    border-radius: 60px;
    color: white;
    padding: 10px 20px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.15s;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 600;
}

.search-bar button:hover {
    background: #0d5e57;
    transform: scale(1.02);
}

/* ---------- SELLER BUTTON ---------- */
.seller-btn {
    background: #0d3b39;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: 0.2s;
    white-space: nowrap;
    text-decoration: none;
}

.seller-btn i {
    font-size: 16px;
}

.seller-btn:hover {
    background: #144e4b;
    transform: scale(1.02);
    color: white;
}

/* ---------- AUTH LINKS ---------- */
.auth-links {
    display: flex;
    gap: 16px;
    font-weight: 500;
    align-items: center;
}

.auth-links a {
    color: #1e293b;
    text-decoration: none;
    font-size: 15px;
    transition: 0.15s;
}

.auth-links a:hover {
    color: #0f766e;
}

.auth-links span {
    color: #64748b;
    font-weight: 400;
}

/* ---------- MAIN LAYOUT ---------- */
.main-layout {
    display: flex;
    gap: 32px;
    margin: 30px 0 40px;
    flex: 1;
}

/* ---------- SIDEBAR ---------- */
.sidebar {
    flex: 0 0 240px;
    background: white;
    border-radius: 28px;
    padding: 24px 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    align-self: flex-start;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0d3b39;
}

.sidebar-title i {
    color: #0f766e;
    font-size: 20px;
}

.filter-group {
    margin-bottom: 28px;
}

.filter-group label {
    font-weight: 600;
    font-size: 14px;
    color: #475569;
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.filter-select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 60px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    transition: 0.15s;
}

.filter-select:focus {
    border-color: #0f766e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.sidebar-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 18px 0;
}

/* ---------- CATEGORY LIST ---------- */
.category-list {
    list-style: none;
    margin-top: 6px;
}

.category-list li {
    padding: 10px 14px;
    border-radius: 60px;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.12s;
    cursor: pointer;
    color: #334155;
}

.category-list li i {
    width: 22px;
    color: #0f766e;
    font-size: 18px;
    text-align: center;
}

.category-list li:hover {
    background: #f1f5f9;
    color: #0d3b39;
}

.category-list li.active {
    background: #ecfdf5;
    color: #0d3b39;
    font-weight: 600;
}

.category-list li.active i {
    color: #0d5e57;
}

.category-list li .badge {
    margin-left: auto;
    background: #e2e8f0;
    padding: 0 10px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

/* ---------- CONTENT ---------- */
.content {
    flex: 1;
    min-width: 0;
}

/* ---------- HERO / CATEGORY STRIP ---------- */
.hero-section {
    margin-bottom: 24px;
}

.category-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    background: white;
    padding: 14px 20px;
    border-radius: 40px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    align-items: center;
    border: 1px solid #f1f5f9;
}

.cat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #1e293b;
    padding: 6px 12px;
    border-radius: 40px;
    transition: 0.15s;
    cursor: pointer;
    font-size: 14px;
}

.cat-item i {
    color: #0f766e;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.cat-item:hover {
    background: #f1f5f9;
}

.highlight-cat {
    background: #ecfdf5;
    border-radius: 60px;
    padding: 6px 18px 6px 12px;
    font-weight: 600;
}

/* ---------- SECTION HEADER ---------- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin: 32px 0 18px;
    flex-wrap: wrap;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0d3b39;
}

.section-header h2 i {
    color: #0f766e;
}

.section-header a {
    color: #0f766e;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: 0.15s;
}

.section-header a:hover {
    text-decoration: underline;
}

/* ---------- PRODUCT GRID ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

/* No products message */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 40px;
    color: #64748b;
    background: white;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
}

.no-products i {
    font-size: 48px;
    display: block;
    margin-bottom: 16px;
    color: #94a3b8;
}

.no-products p {
    font-size: 18px;
    font-weight: 500;
}

/* ---------- PRODUCT CARD ---------- */
.product-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
    transition: 0.25s ease;
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
    border-color: #e2e8f0;
}

/* Boosted Card - Different Color Theme */
.product-card.boosted-card {
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb, #ffffff);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.15);
}

.product-card.boosted-card:hover {
    box-shadow: 0 16px 40px rgba(245, 158, 11, 0.25);
    border-color: #d97706;
}

/* ---------- PRODUCT IMAGE ---------- */
.product-img {
    height: 150px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.product-img i {
    opacity: 0.6;
}

.product-card.boosted-card .product-img {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

/* ---------- PRODUCT BADGES ---------- */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc2626;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 60px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    z-index: 2;
}

.product-badge.sold {
    background: #475569;
}

.product-badge.boost {
    background: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.product-badge.hot {
    background: #ef4444;
    animation: pulse-badge 1.5s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ---------- PRODUCT INFO ---------- */
.product-info {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.3;
    color: #0f172a;
    display: -webkit-box;
    
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Apply Filter Button */
.apply-filter-btn {
    width: 100%;
    padding: 10px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 60px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.apply-filter-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.apply-filter-btn i {
    font-size: 14px;
}

.product-price {
    font-weight: 700;
    font-size: 19px;
    color: #0d3b39;
    margin: 4px 0 8px;
}
/* Product Image Styles */
.product-img {
    height: 180px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #94a3b8;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-img i {
    opacity: 0.6;
}

.product-card.boosted-card .product-img {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
}

/* Image count badge */
.product-img .image-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(4px);
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #dc2626;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 60px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    z-index: 2;
}

.product-badge.sold {
    background: #475569;
}

.product-badge.boost {
    background: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.product-badge.hot {
    background: #ef4444;
    animation: pulse-badge 1.5s infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* No products message */
.no-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 40px;
    background: white;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
}

.no-products i {
    font-size: 48px;
    color: #cbd5e1;
    display: block;
    margin-bottom: 16px;
}

.no-products p {
    font-size: 18px;
    color: #64748b;
    font-weight: 500;
}
.product-card.boosted-card .product-price {
    color: #b45309;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #64748b;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

.product-meta i {
    margin-right: 4px;
    color: #94a3b8;
}

.seller-tag {
    background: #f1f5f9;
    border-radius: 60px;
    padding: 2px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.seller-tag i {
    color: #0f766e;
    font-size: 11px;
}

.product-card.boosted-card .seller-tag {
    background: #fef3c7;
    color: #92400e;
}

.product-card.boosted-card .seller-tag i {
    color: #d97706;
}

/* ---------- SELLER BANNER ---------- */
.seller-banner {
    background: linear-gradient(135deg, #0d3b39 0%, #1a6b63 100%);
    border-radius: 40px;
    padding: 32px 40px;
    margin: 20px 0 48px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: white;
    box-shadow: 0 12px 30px rgba(13, 59, 57, 0.25);
}

.banner-text h3 {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.banner-text p {
    opacity: 0.85;
    font-size: 15px;
    max-width: 400px;
    margin-top: 4px;
}

.banner-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.banner-btn {
    background: white;
    color: #0d3b39;
    border: none;
    padding: 12px 28px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: 0.15s;
    text-decoration: none;
}

.banner-btn i {
    font-size: 17px;
}

.banner-btn:hover {
    background: #f0fdfa;
    color: #0d3b39;
    transform: scale(1.02);
}

.banner-btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
}

.banner-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: white;
}

/* ---------- FOOTER ---------- */
.footer {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 28px 0 20px;
    margin-top: auto;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #475569;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.15s;
}

.footer-links a:hover {
    color: #0f766e;
}

.footer-copy {
    color: #94a3b8;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-social i {
    font-size: 20px;
    margin-left: 14px;
    color: #64748b;
    transition: 0.15s;
    cursor: pointer;
}

.footer-social i:hover {
    color: #0f766e;
}

/* ---------- AUTH CARDS ---------- */
.auth-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    max-width: 480px;
    margin: 40px auto;
}

.auth-card h2 {
    color: #0d3b39;
    text-align: center;
    margin-bottom: 8px;
}

.auth-card h2 i {
    color: #0f766e;
}

.auth-card .subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 30px;
}

/* ---------- RESPONSIVE ---------- */

/* Tablet */
@media (max-width: 1024px) {
    .sidebar {
        flex: 0 0 200px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }
    .search-bar {
        min-width: 200px;
    }
}

/* Mobile Large */
@media (max-width: 820px) {
    .main-layout {
        flex-direction: column;
    }
    
    .sidebar {
        flex: 1 1 auto;
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        padding: 20px;
        border-radius: 28px;
    }
    
    .sidebar-title {
        grid-column: 1 / -1;
        margin-bottom: 4px;
    }
    
    .filter-group {
        margin-bottom: 0;
    }
    
    .category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 4px 8px;
        margin-top: 0;
    }
    
    .category-list li {
        padding: 6px 14px;
        font-size: 14px;
        background: #f8fafc;
        border-radius: 40px;
        border: 1px solid #e2e8f0;
    }
    
    .category-list li .badge {
        display: none;
    }
    
    .category-list li i {
        width: 18px;
        font-size: 16px;
    }
    
    .sidebar-divider {
        display: none;
    }
    
    .nav-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-bar {
        min-width: unset;
        width: 100%;
    }
    
    .seller-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 28px 20px;
    }
    
    .banner-text p {
        max-width: 100%;
    }
    
    .auth-links {
        justify-content: center;
    }
}

/* Mobile Small */
@media (max-width: 500px) {
    .sidebar {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    
    .auth-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .category-strip {
        justify-content: center;
        padding: 12px;
        gap: 6px 10px;
    }
    
    .cat-item {
        font-size: 12px;
        padding: 4px 10px;
    }
    
    .cat-item i {
        font-size: 14px;
        width: 18px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .product-title {
        font-size: 13px;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .banner-text h3 {
        font-size: 20px;
    }
    
    .banner-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .auth-card {
        padding: 24px;
        margin: 20px 12px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .logo i {
        font-size: 26px;
    }
    
    .nav-actions {
        gap: 12px;
    }
    
    .seller-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Extra Small */
@media (max-width: 380px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .search-bar button {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .search-bar input {
        font-size: 13px;
        padding: 8px 0;
    }
}

/* ---------- UTILITY CLASSES ---------- */
.text-center { text-align: center; }
.text-muted { color: #64748b; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }

/* Alert Messages */
.alert-success {
    background: #ecfdf5;
    color: #0d3b39;
    padding: 12px 20px;
    border-radius: 12px;
    border-left: 4px solid #22c55e;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px 20px;
    border-radius: 12px;
    border-left: 4px solid #ef4444;
}

.alert-info {
    background: #eff6ff;
    color: #2563eb;
    padding: 12px 20px;
    border-radius: 12px;
    border-left: 4px solid #3b82f6;
}

/* ---------- ADMIN DASHBOARD SPECIFIC ---------- */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 30px 0;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.stat-card h3 {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.stat-card .number {
    font-size: 32px;
    font-weight: 700;
    color: #0d3b39;
}

.stat-card .number.gold {
    color: #f59e0b;
}
.stat-card .number.green {
    color: #22c55e;
}
.stat-card .number.red {
    color: #ef4444;
}
.stat-card .number.blue {
    color: #3b82f6;
}

/* Admin Navigation */
.admin-nav {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.admin-nav a {
    background: white;
    padding: 12px 24px;
    border-radius: 60px;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    transition: 0.2s;
}

.admin-nav a:hover {
    background: #0d3b39;
    color: white;
    border-color: #0d3b39;
    transform: translateY(-2px);
}

.admin-nav a.active {
    background: #0d3b39;
    color: white;
    border-color: #0d3b39;
}

/* Tables */
.table-wrap {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin: 20px 0;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

th {
    background: #f8fafc;
    font-weight: 600;
    color: #475569;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

tr:hover td {
    background: #fafbfc;
}

/* Buttons */
.btn-sm {
    padding: 4px 14px;
    border-radius: 20px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-sm:hover {
    transform: scale(1.05);
}

.btn-success {
    background: #22c55e;
    color: white;
}
.btn-danger {
    background: #ef4444;
    color: white;
}
.btn-warning {
    background: #f59e0b;
    color: white;
}
.btn-primary {
    background: #0f766e;
    color: white;
}
.btn-info {
    background: #3b82f6;
    color: white;
}

.btn-lg {
    padding: 12px 32px;
    border-radius: 60px;
    border: none;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

/* Role Badges */
.badge-role {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.badge-admin {
    background: #dc2626;
    color: white;
}
.badge-staff {
    background: #f59e0b;
    color: white;
}
.badge-seller {
    background: #0f766e;
    color: white;
}

/* Settings Forms */
.settings-form {
    max-width: 600px;
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    margin: 20px 0;
}

.settings-form label {
    display: block;
    font-weight: 600;
    margin: 16px 0 6px;
    color: #1e293b;
    font-size: 14px;
}

.settings-form input,
.settings-form textarea,
.settings-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: 0.15s;
    background: white;
}

.settings-form input:focus,
.settings-form textarea:focus,
.settings-form select:focus {
    border-color: #0f766e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.settings-form input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.settings-form .checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.settings-form .checkbox-group label {
    margin: 0;
    font-weight: 400;
}

.btn-save {
    background: #0f766e;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 20px;
}

.btn-save:hover {
    background: #0d5e57;
    transform: scale(1.02);
}

/* ---------- SCROLLBAR STYLING ---------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ---------- SELECTION ---------- */
::selection {
    background: #0f766e;
    color: white;
}