/* Modern SaaS Dashboard Redesign Base Styles */
:root {
    --modern-primary: #4361ee;
    --modern-success: #2ec4b6;
    --modern-info: #3f37c9;
    --modern-warning: #ff9f1c;
    --modern-danger: #e71d36;
    --modern-bg: #f8f9fa;
    --modern-card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    --modern-border-radius: 12px;
}

body.modern-dashboard {
    background-color: var(--modern-bg);
}

/* Page Header Enhancement */
.modern-header {
    background: white;
    padding: 1.5rem;
    border-radius: var(--modern-border-radius);
    box-shadow: var(--modern-card-shadow);
    margin-bottom: 2rem;
}

/* Stat Cards */
.modern-card {
    background: white;
    border: none;
    border-radius: var(--modern-border-radius);
    box-shadow: var(--modern-card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.modern-stat-card {
    padding: 1.5rem;
}

.modern-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.icon-blue {
    background: #eef2ff;
    color: #4361ee;
}

.icon-green {
    background: #e6fffa;
    color: #2ec4b6;
}

.icon-orange {
    background: #fffaf0;
    color: #ff9f1c;
}

.icon-red {
    background: #fff5f5;
    color: #e71d36;
}

.icon-purple {
    background: #f3e8ff;
    color: #7c3aed;
}

.modern-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.modern-stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

/* Charts & Graphs Container */
.modern-chart-container {
    padding: 1.5rem;
    position: relative;
}

.modern-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modern-chart-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
}

/* Modern Table Enhancements */
.modern-table-container {
    background: white;
    border-radius: var(--modern-border-radius);
    box-shadow: var(--modern-card-shadow);
    overflow: hidden;
}

.modern-table {
    margin-bottom: 0;
    table-layout: fixed;
    /* Tablo genişliğini sabitle */
}


.modern-table thead th {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 1rem;
}

.modern-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

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

.modern-table tbody tr:hover {
    background-color: #f9fafb;
}

/* Modern Status Badges */
.badge-modern {
    padding: 0.5em 0.75em;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
}

.badge-yeni {
    background: #dcfce7;
    color: #166534;
}

.badge-arandi {
    background: #dbeafe;
    color: #1e40af;
}

.badge-teklif {
    background: #fef9c3;
    color: #854d0e;
}

.badge-satis {
    background: #ede9fe;
    color: #5b21b6;
}

.badge-kara {
    background: #fee2e2;
    color: #991b1b;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .modern-header {
        padding: 1rem;
    }

    .modern-stat-card {
        padding: 1rem;
    }

    .modern-stat-value {
        font-size: 1.5rem;
    }
}