/* Temel Resetleme ve Ayarlar */
* {
    box-sizing: border-box;
}

/* Font Ayarları */
body, html {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #FAFAFA;
    color: var(--dark-text);
    overflow-x: hidden;
}

/* HEADER ve LOGO STYLES - Modern Mobile */
header {
    background: linear-gradient(to bottom, #FFFFFF 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15), 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: visible;
    z-index: 1000;
    min-height: 70px;
    margin-bottom: 0;
    border-bottom: 3px solid var(--gold-primary);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    header {
        padding: 10px 15px;
        min-height: 60px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 8px 12px;
        min-height: 55px;
    }
    
    .logo img, #headerLogo, img#headerLogo {
        height: 45px !important;
        min-height: 45px !important;
    }
}





.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-height: none !important;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.logo img, #headerLogo, img#headerLogo {
    height: 55px !important;
    width: auto !important;
    max-height: none !important;
    min-height: 55px !important;
    transition: all 0.2s ease;
}

.logo img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0px 6px 10px rgba(212, 175, 55, 0.4));
}



.page-title {
    flex: 1;
    display: flex;
    align-items: center;
}


/* Modern Dashboard Stilleri */
.welcome-section {
    text-align: center;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    background: linear-gradient(to right, var(--gold-light), rgba(255, 255, 255, 0.9));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.welcome-section h1 {
    color: var(--gold-dark);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.welcome-section p {
    color: var(--dark-text);
    font-size: 1.1rem;
    opacity: 0.8;
}

.welcome-section .detail-link {
    color: var(--gold-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
}

.welcome-section .detail-link:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: scale(1.1);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-sm);
}

.stat-card {
    background-color: var(--white-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: 4px solid var(--gold-light);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card.highlight {
    border-left-color: var(--gold-primary);
    background: linear-gradient(to right bottom, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.9));
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: 0.5rem;
}

.stat-content {
    width: 100%;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark-text);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.quick-actions-section {
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.quick-actions-section h2 {
    font-size: 1.3rem;
    color: var(--gold-dark);
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--gold-light);
    padding-bottom: 0.5rem;
}

.quick-action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: 15px;
}

.quick-action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: #333;
    border: none;
    border-radius: 16px;
    padding: 20px;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.quick-action-button i {
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: var(--spacing-sm);
    transition: transform 0.3s ease;
}

.quick-action-button:hover i {
    transform: scale(1.2);
}

.quick-action-button::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    border-radius: 3px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.quick-action-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.quick-action-button:hover::before {
    width: 60px;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white-bg);
    color: var(--dark-text);
    text-decoration: none;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gold-light);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.quick-action-btn:hover {
    background-color: var(--gold-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.quick-action-btn i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--gold-primary);
}

.quick-action-btn span {
    font-weight: 500;
}

.date-filter {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
    justify-content: center;
}

.filter-date {
    padding: 10px 18px;
    background-color: var(--light-bg);
    border: none;
    border-radius: 20px;
    color: var(--dark-text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.filter-date:hover {
    background-color: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.filter-date.active {
    background: linear-gradient(to right, var(--gold-primary), var(--gold-light));
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.filter-tabs {
    overflow-x: auto;
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    padding-bottom: var(--spacing-xs);
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tab {
    white-space: nowrap;
    background-color: var(--light-bg);
    border: none;
    border-radius: 20px;
    color: var(--dark-text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.filter-tab:hover {
    background-color: #efefef;
    transform: translateY(-2px);
}

.filter-tab.active {
    background: linear-gradient(to right, var(--gold-primary), var(--gold-light));
    color: white;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.product-item {
    background-color: var(--white-bg);
    border-radius: 16px;
    padding: var(--spacing-md);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--gold-primary);
}



.product-name {
    font-weight: 600;
    font-size: var(--font-md);
    color: var(--dark-text);
    margin-bottom: 5px;
    position: relative;
    display: inline-block;
}

/* Base Styles - Modern Mobile First */
body {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #FAFAFA 0%, #FFFFFF 50%, #F8F9FA 100%);
    color: var(--dark-text);
    font-family: var(--font-family);
    font-size: var(--font-md);
    line-height: 1.6;
    min-height: 100vh;
}

/* Container - Modern Layout */
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 100%;
    overflow-x: hidden;
}

/* Header */
header {
    background: #fff;
    padding: var(--spacing-md) var(--spacing-md) calc(var(--spacing-md) + 5px);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: var(--spacing-lg);
    position: relative;
    border-bottom: 3px solid;
    border-image: linear-gradient(to right, var(--gold-primary), var(--gold-light)) 1;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-md);
}

/* Grafik Gösterge */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    border-top: 1px dashed rgba(0,0,0,0.08);
}

.logo img {
    width: 100px;
    height: auto;
    margin: var(--spacing-md) 0;
}

.logo h1 {
    margin: 0;
    font-size: var(--font-lg);
    color: var(--gold-primary);
}

/* Hesap Menüsü */
/* Hesap Menüsü Stilleri */
.account-menu {
    position: absolute;
    z-index: 200;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.account-btn {
    background-color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15), 0 0 5px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 201;
}

.account-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.account-btn:hover::after {
    opacity: 1;
}

.account-btn i {
    color: white;
    font-size: 22px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.account-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 0 15px rgba(212, 175, 55, 0.5);
}

.account-dropdown {
    position: absolute;
    top: 45px;
    right: 0;
    background-color: var(--white-bg);
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 0 5px rgba(212, 175, 55, 0.2);
    min-width: 180px;
    z-index: 1000;
    display: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
    margin-bottom: 10px;
}

.account-dropdown.active {
    display: block;
}

.account-item {
    padding: var(--spacing-md);
    display: block;
    text-decoration: none;
    color: var(--dark-text);
    transition: var(--transition-normal);
    border-bottom: 1px solid var(--gold-light);
}

.account-item:last-child {
    border-bottom: none;
}

.account-item:hover {
    background-color: var(--gold-light);
    color: var(--gold-dark);
}

/* Canlı Altın Fiyatları */
.live-gold {
    background-color: var(--white-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    margin-top: var(--spacing-sm);
    border: 1px solid var(--gold-primary);
}

.gold-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
}

.gold-price .label {
    font-size: var(--font-sm);
    color: var(--gray-text);
}

.gold-price .value {
    font-weight: bold;
    font-size: var(--font-lg);
    color: var(--gold-secondary);
}

.gold-price .change {
    font-size: var(--font-xs);
    padding: 2px 4px;
    border-radius: var(--radius-sm);
}

.change.up {
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--success);
}

.change.down {
    background-color: rgba(244, 67, 54, 0.2);
    color: var(--error);
}

.refresh-btn {
    background-color: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--gold-primary);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    overflow: hidden;
}

.refresh-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 70%);
    top: -50%;
    left: -50%;
    opacity: 0;
    transition: all 0.5s ease;
}

.refresh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-md);
    font-size: var(--font-xs);
    color: var(--gray-text);
}

#refreshGold {
    background: none;
    border: none;
    color: var(--info);
    cursor: pointer;
    font-size: var(--font-sm);
}

/* Ana İçerik - Mobile Optimized */
main {
    flex: 1;
    padding: 15px;
    padding-bottom: 85px; /* Alt navigasyon için daha fazla alan */
    max-width: 100vw;
    overflow-x: hidden;
    background: transparent;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--white-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-decoration: none;
    color: var(--dark-text);
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
    aspect-ratio: 1/1;
    border: 1px solid var(--gold-light);
}

.menu-item:hover, .menu-item:active {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.menu-item i {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.sales i { color: var(--success); }
.stock i { color: var(--info); }
.products i { color: var(--gold-secondary); }
.cashier i { color: var(--warning); }
.reports i { color: var(--gold-primary); }
.settings i { color: var(--gray-text); }

.menu-item span {
    font-size: var(--font-md);
    font-weight: 500;
    text-align: center;
}

/* Alt Navigasyon */
.bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white-bg);
    border-top: 2px solid var(--gold-primary);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    z-index: 1000;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.7rem;
    padding: 5px;
    transition: all 0.3s ease;
}

.bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.bottom-nav .nav-item.active i,
.bottom-nav .nav-item.active span {
    color: var(--gold-primary);
    font-weight: bold;
}

.bottom-nav .nav-item:hover {
    color: var(--accent-color);
}

.bottom-nav .nav-item:hover i {
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--white-bg);
    color: var(--dark-text);
    text-align: center;
    padding: var(--spacing-md);
    margin-top: auto;
    font-size: 0.9rem;
    border-top: 1px solid var(--light-border);
    margin-bottom: 60px; /* Alt navigasyon çubuğu için alt boşluk */
}

/* Tablo Stilleri */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: var(--spacing-md) 0;
    font-size: 0.95rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.data-table th, .data-table td {
    padding: 12px 16px;
    text-align: left;
}

.data-table th {
    width: 25%; /* Tüm sütunları eşit genişlikte yapar */
    background: linear-gradient(to right, var(--gold-primary), var(--gold-light));
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
}

.data-table tbody tr {
    background-color: #fff;
    transition: all 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table tbody tr:hover {
    background-color: rgba(212, 175, 55, 0.05);
    transform: scale(1.005);
}

.table-container {
    overflow-x: auto;
    margin-bottom: var(--spacing-md);
    border-radius: 10px;
}

/* Kartlar ve Paneller - Modern Mobile Design */
.card {
    background: linear-gradient(145deg, #FFFFFF 0%, #FEFEFE 100%);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.25);
}

.card-title {
    font-size: 1.4rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    position: relative;
    font-weight: 700;
    border-bottom: 2px solid rgba(212, 175, 55, 0.1);
    letter-spacing: -0.02em;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 4px;
    width: 60px;
    background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.card:hover .card-title::after {
    width: 120px;
}

.card-title i {
    margin-right: var(--spacing-sm);
}

/* Satış Kartları */
.sales-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

@media (max-width: 768px) {
    .sales-cards {
        grid-template-columns: 1fr;
    }
}

.sale-card {
    background-color: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 3px solid var(--gold-primary);
}

.sale-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(to right, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0));
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sale-date {
    color: var(--gray-text);
    font-size: var(--font-sm);
    display: flex;
    align-items: center;
    gap: 5px;
}

.sale-amount {
    font-weight: 600;
    color: var(--dark-text);
    font-size: var(--font-lg);
}

.sale-body {
    padding: var(--spacing-md);
}

.sale-product {
    font-weight: 600;
    font-size: var(--font-md);
    margin-bottom: var(--spacing-xs);
}

.sale-weight {
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 5px;
}

.sale-footer {
    padding: var(--spacing-sm) var(--spacing-md);
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: flex-end;
}

.sale-detail-btn {
    background-color: transparent;
    border: none;
    color: var(--gold-dark);
    cursor: pointer;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-sm);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.sale-detail-btn:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold-primary);
}

/* İstatistik Kartları */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.stat-card {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: 16px;
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold-primary), var(--gold-light));
    opacity: 0.8;
}

.stat-card-icon {
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-bottom: 10px;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: var(--spacing-xs);
    position: relative;
}

.stat-value.in {
    color: #28a745;
}

.stat-value.out {
    color: #dc3545;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* İçerik Sayfaları */
.page-title {
    font-size: 1.6rem;
    color: #333;
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.page-title h1 {
    font-weight: 600;
    display: flex;
    align-items: center;
}

.page-title i {
    margin-right: var(--spacing-sm);
    color: var(--gold-primary);
    font-size: 1.7rem;
}

.back-button {
    background: #f5f5f5;
    border: none;
    color: #555;
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-button:hover {
    background: #efefef;
    transform: translateX(-3px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Form Elemanları */
.search-bar {
    display: flex;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-radius: 50px;
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
    background-color: #fff;
    color: #333;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25);
}

.search-bar button {
    background: linear-gradient(45deg, var(--gold-dark), var(--gold-primary));
    border: none;
    border-radius: 0 50px 50px 0;
    padding: 0 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-light));
    transform: scale(1.05);
}

/* Altın Kutusu */
.gold-box {
    display: flex;
    align-items: center;
    background-color: var(--dark-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.gold-box-info {
    flex: 1;
}

.gold-box-title {
    font-weight: bold;
    color: var(--gold-primary);
    margin-bottom: 2px;
}

.gold-box-details {
    font-size: var(--font-xs);
    color: var(--gray-text);
}

.gold-box-price {
    font-weight: bold;
    color: var(--gold-secondary);
}

/* İlerleme çubuğu */
.category-progress {
    height: 8px;
    background-color: rgba(0,0,0,0.05);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 6px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, var(--gold-primary), var(--gold-light));
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(212, 175, 55, 0.15);
    transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.2) 50%, 
        rgba(255,255,255,0) 100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* İlerleme yüzdeleri için sınıflar */
.progress-35 { width: 35%; }
.progress-45 { width: 45%; }
.progress-65 { width: 65%; }
.progress-75 { width: 75%; }
.progress-85 { width: 85%; }
.progress-90 { width: 90%; }

/* Kategori ikon stil */
.category-icon {
    font-size: 1rem;
    margin-right: 8px;
    color: var(--gold-primary);
}

/* Kasa Sayfası Stilleri */
.balance-card {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-secondary));
    color: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.25);
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}

.balance-title {
    font-size: var(--font-md);
    opacity: 0.9;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.balance-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
}

.balance-amount {
    font-size: 2.2rem;
    font-weight: 700;
    margin: var(--spacing-md) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.balance-date {
    font-size: var(--font-sm);
    opacity: 0.8;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.15);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
}

.currency-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.currency-item {
    background-color: var(--white-bg);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    border-left: 3px solid var(--gold-primary);
    transition: all 0.3s ease;
}

.currency-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.currency-name {
    font-size: var(--font-sm);
    color: var(--dark-text);
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.currency-amount {
    font-size: var(--font-lg);
    font-weight: bold;
    color: var(--dark-text);
    position: relative;
    display: inline-block;
}

.currency-amount::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: linear-gradient(to right, var(--gold-primary), transparent);
    border-radius: 3px;
}

.transaction-in {
    color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: var(--font-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.transaction-in::before {
    content: '\f062';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 5px;
    font-size: 0.8em;
}

.transaction-out {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: var(--font-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.transaction-out::before {
    content: '\f063';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 5px;
    font-size: 0.8em;
}

/* Altın Paneli Stilleri */
.gold-panel {
    background-color: #fff;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--spacing-lg);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.panel-header h3 {
    font-size: var(--font-lg);
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.panel-header h3 i {
    color: var(--gold-primary);
    margin-right: 8px;
}

.header-info {
    display: flex;
    gap: var(--spacing-md);
}

.price-type {
    font-size: var(--font-sm);
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: rgba(0,0,0,0.05);
}

.price-type.alis {
    color: var(--success);
}

.price-type.satis {
    color: var(--error);
}

.price-type i {
    font-size: 0.8em;
    margin-right: 4px;
}

.gold-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.gold-name {
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gold-change-small {
    font-size: 0.8rem;
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-weight: 500;
    background-color: var(--light-bg);
    max-width: fit-content;
}

.gold-change-small.up {
    color: var(--success);
    background-color: rgba(76, 175, 80, 0.1);
}

.gold-change-small.down {
    color: var(--error);
    background-color: rgba(244, 67, 54, 0.1);
}

.gold-prices {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.gold-value {
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    min-width: 100px;
    text-align: right;
}

.gold-value.gold-alis {
    color: var(--success);
}

.gold-value.gold-satis {
    color: var(--error);
}

.gold-update {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-md);
    font-size: var(--font-sm);
    color: var(--gray-text);
}

/* Grafik renkleri */
.legend-color {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.legend-gold {
    background-color: rgba(212, 175, 55, 0.8);
}

.legend-yellow-gold {
    background-color: rgba(255, 215, 0, 0.8);
}

.legend-dark-gold {
    background-color: rgba(170, 140, 44, 0.8);
}

.legend-silver {
    background-color: rgba(192, 192, 192, 0.8);
}

/* Grafik konteynerleri ve gösterge stilleri */
.chart-container {
    margin: var(--spacing-lg) 0;
    height: 250px;
    border-radius: var(--radius-md);
    padding: var(--spacing-sm);
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
}

.legend-item {
    display: flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 30px;
    background-color: rgba(248, 249, 250, 0.7);
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

.legend-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.legend-label {
    font-size: var(--font-sm);
    color: var(--dark-text);
    font-weight: 500;
}

.legend-gold { background: linear-gradient(135deg, #D4AF37, #FFD700); }
.legend-yellow-gold { background: linear-gradient(135deg, #FFD700, #FFC30B); }
.legend-dark-gold { background: linear-gradient(135deg, #996515, #AA771C); }
.legend-silver { background: linear-gradient(135deg, #C0C0C0, #E6E8E6); }

/* Alt Navigasyon - Modern Mobile */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(to top, #FFFFFF 0%, rgba(255, 255, 255, 0.98) 100%);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 8px 8px 8px;
    box-shadow: 0 -8px 32px rgba(212, 175, 55, 0.15), 0 -4px 16px rgba(0, 0, 0, 0.08);
    border-top: 3px solid var(--gold-primary);
    z-index: 1000;
    min-height: 72px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #8E8E93;
    position: relative;
    padding: 8px 12px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
    min-width: 64px;
    flex: 1;
    max-width: 80px;
}

.nav-item.active {
    color: var(--gold-primary);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(255, 215, 0, 0.1) 100%);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.25);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--gold-primary), var(--gold-secondary));
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

.nav-item i {
    font-size: 1.5rem;
    margin-bottom: 6px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-item:hover {
    color: var(--gold-primary);
    transform: translateY(-2px) scale(1.05);
}

.nav-item:hover i {
    transform: translateY(-2px) scale(1.1);
}

.nav-item.active i {
    transform: scale(1.2);
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.4));
}

.nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.02em;
    margin-top: 2px;
}

/* Modern Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    letter-spacing: 0.02em;
    min-height: 44px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #F8F9FA 0%, #FFFFFF 100%);
    color: var(--dark-text);
    border: 2px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border-color: var(--gold-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.15);
}

/* Profil Popup Stilleri */
.profile-modal {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: rgba(0, 0, 0, 0.75) !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 9999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    height: 100vh !important;
    width: 100vw !important;
    overflow: auto !important;
    transition: all 0.3s ease;
    pointer-events: auto !important;
    opacity: 0;
}

.profile-modal.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.profile-content {
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.profile-header {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary), var(--gold-light));
    color: #333333;
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-header h2 {
    margin: 0;
    font-size: var(--font-lg);
}

.profile-header .close-btn {
    background: none;
    border: none;
    color: #333333;
    font-size: var(--font-xl);
    cursor: pointer;
}

.profile-body {
    padding: var(--spacing-md);
}

.profile-info {
    margin-bottom: var(--spacing-md);
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-secondary), var(--gold-light));
    color: #333333;
    font-size: var(--font-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    border: 3px solid var(--gold-primary);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.profile-avatar:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.profile-avatar i {
    font-size: 3rem;
    transition: all 0.3s ease;
}

.profile-avatar:hover i {
    transform: scale(1.1);
}

.profile-name {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: #333333;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    letter-spacing: 0.3px;
}

.profile-role {
    text-align: center;
    color: #666666;
    font-size: var(--font-sm);
    margin-bottom: var(--spacing-md);
    background: -webkit-linear-gradient(var(--gold-dark), var(--gold-primary));
    background: linear-gradient(var(--gold-dark), var(--gold-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.profile-detail {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-xs);
    padding: var(--spacing-xs) 0;
}

.profile-detail i {
    width: 20px;
    color: var(--gold-secondary);
    margin-right: var(--spacing-sm);
}

.profile-detail span {
    color: #333333;
}

.profile-footer {
    padding: var(--spacing-md);
    border-top: 1px solid var(--gold-light);
    text-align: right;
}

/* Profil Formu Stilleri */
.profile-form {
    width: 100%;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) inset;
    background-color: #f9f9f9;
    color: #333;
}

.form-input:focus {
    border-color: var(--gold-primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.save-btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 20px;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.save-btn:hover {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.4);
}

.save-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(212, 175, 55, 0.2);
}

.save-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s;
}

.save-btn:hover::before {
    left: 100%;
}

.profile-logout {
    background-color: var(--error);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

.profile-logout:hover {
    background-color: #c62828;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Form Styles */
.form-control, .search-input, .filter-select, input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="date"], select, textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: linear-gradient(145deg, #FFFFFF 0%, #FEFEFE 100%);
    color: var(--dark-text);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(10px);
}

.form-control:focus, .search-input:focus, .filter-select:focus, input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15), 0 4px 16px rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
    background: #FFFFFF;
}

/* Modern Table Styles */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    font-size: 0.95rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.08);
    background: linear-gradient(145deg, #FFFFFF 0%, #FEFEFE 100%);
}

.data-table th {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 16px;
    text-align: left;
    position: sticky;
    top: 70px;
    z-index: 10;
}

.data-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.data-table tbody tr {
    transition: all 0.3s ease;
}

.data-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(255, 215, 0, 0.03) 100%);
    transform: scale(1.002);
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.1);
}

/* Modern Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 0 5px;
}

.stat-card {
    background: linear-gradient(145deg, #FFFFFF 0%, #FEFEFE 100%);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(212, 175, 55, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 2px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-primary) 0%, var(--gold-secondary) 100%);
}

.stat-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 16px 48px rgba(212, 175, 55, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.25);
}

/* Responsive Design - Enhanced Mobile */
@media (max-width: 768px) {
    .card {
        margin: 0 10px 20px 10px;
        padding: 16px;
        border-radius: 16px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 0 10px 20px 10px;
    }
    
    .stat-card {
        padding: 20px;
        min-height: 120px;
    }
    
    main {
        padding: 10px;
        padding-bottom: 90px;
    }
    
    .bottom-nav {
        padding: 8px 4px 6px 4px;
        min-height: 68px;
    }
    
    .nav-item {
        padding: 6px 8px;
        min-width: 56px;
        max-width: 72px;
    }
    
    .nav-item i {
        font-size: 1.3rem;
        margin-bottom: 4px;
    }
    
    .nav-item span {
        font-size: 0.65rem;
    }
}

/* Extra Mobile Optimizations */
@media (max-width: 480px) {
    .card {
        margin: 0 8px 16px 8px;
        padding: 12px;
        border-radius: 12px;
    }
    
    .stats-grid {
        margin: 0 8px 16px 8px;
        gap: 12px;
    }
    
    .stat-card {
        padding: 16px;
        min-height: 100px;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    main {
        padding: 8px;
        padding-bottom: 85px;
    }
    
    .card-title {
        font-size: 1.2rem;
        margin-bottom: 16px;
        padding-bottom: 8px;
    }
    
    .nav-item {
        padding: 4px 6px;
        min-width: 50px;
        max-width: 65px;
    }
    
    .nav-item i {
        font-size: 1.2rem;
        margin-bottom: 3px;
    }
    
    .nav-item span {
        font-size: 0.6rem;
    }
}

/* Touch-Friendly Improvements */
@media (pointer: coarse) {
    .btn {
        min-height: 48px;
        padding: 12px 20px;
    }
    
    .form-control, .search-input, .filter-select {
        min-height: 48px;
        padding: 12px 16px;
    }
    
    .nav-item {
        min-height: 48px;
        padding: 8px;
    }
    
    .product-card, .sale-card, .transaction-item {
        padding: 16px;
    }
}
