/* ============================================
   MODERN DARK SIDEBAR + LIGHT CONTENT
   Koyu menü, renkli butonlar, belirgin kartlar
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}

/* ============ LAYOUT ============ */
.dk-shell {
    display: flex;
    min-height: 100vh;
    background-color: #f5f7fa;
}

/* ============ SIDEBAR ============ */
.dk-sidenav {
    width: 260px;
    background: linear-gradient(180deg, #1a2a4e 0%, #0f1929 100%);
    color: white;
    padding: 24px 16px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
}

    .dk-sidenav::-webkit-scrollbar {
        width: 6px;
    }

    .dk-sidenav::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
    }

    .dk-sidenav::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 3px;
    }

        .dk-sidenav::-webkit-scrollbar-thumb:hover {
            background: rgba(255, 255, 255, 0.5);
        }

/* Brand Logo */
.dk-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    margin-bottom: 32px;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .dk-brand:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

.dk-brand-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: inline-block;
}

/* Navigation */
.dk-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dk-navlink {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

    .dk-navlink::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 3px;
        background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .dk-navlink:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .dk-navlink.active {
        background: linear-gradient(90deg, rgba(102, 126, 234, 0.2) 0%, rgba(102, 126, 234, 0.1) 100%);
        color: white;
    }

        .dk-navlink.active::before {
            opacity: 1;
        }

/* Separator */
.dk-sep {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 16px 0;
}

/* Warning Link */
.dk-navlink.dk-warn {
    color: #fbbf24;
}

    .dk-navlink.dk-warn:hover {
        background-color: rgba(251, 191, 36, 0.1);
        color: #fcd34d;
    }

/* ============ CONTENT ============ */
.dk-content {
    margin-left: 260px;
    flex: 1;
    background-color: #f5f7fa;
}

.dk-content-inner {
    padding: 32px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ============ DASHBOARD STYLES ============ */

.dashboard-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e0e7ff;
}

    .dashboard-header h2 {
        font-size: 32px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 8px;
    }

.dashboard-header-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}

.dashboard-header-buttons {
    display: flex;
    gap: 12px;
}

.header-btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.header-btn-outline {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

    .header-btn-outline:hover {
        background: #f0f4ff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    }

.header-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

    .header-btn-primary:hover {
        box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
        transform: translateY(-2px);
    }

/* ============ DASHBOARD GRID & CARDS ============ */

.section-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: #666;
    margin: 32px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

/* KARTLAR - Belirgin Renkler */
.dashboard-card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: none;
}

    .dashboard-card:hover {
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
        transform: translateY(-6px);
    }

/* Kart Renkleri - Daha Koyu ve Belirgin */
.card-gradient-blue {
    background: linear-gradient(135deg, #4f46e5 0%, #5b5dd3 100%);
    color: white;
}

.card-gradient-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.card-gradient-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.card-gradient-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.card-gradient-red {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.card-content {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.card-left {
    flex: 1;
}

.card-label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.card-number {
    font-size: 40px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 20px;
}

.card-icon {
    font-size: 56px;
    opacity: 0.75;
    transition: all 0.3s ease;
}

.dashboard-card:hover .card-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Kart Butonları */
.card-buttons {
    display: flex;
    gap: 8px;
}

.card-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.card-btn-outline {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

    .card-btn-outline:hover {
        background: rgba(255, 255, 255, 0.4);
        border-color: white;
    }

.card-btn-primary {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 1.5px solid white;
    font-weight: 700;
}

    .card-btn-primary:hover {
        background: white;
        color: inherit;
    }

/* ============ QUICK ACTIONS ============ */

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 40px 0 24px 0;
    padding-left: 12px;
    border-left: 4px solid #667eea;
}

.quick-actions-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

    .quick-actions-card h5 {
        font-size: 20px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 8px;
    }

.quick-actions-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quick-action-btn {
    padding: 12px 24px;
    border-radius: 8px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .quick-action-btn:hover {
        background: #667eea;
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
    }

/* ============ RESPONSIVE ============ */

@media (max-width: 768px) {
    .dk-sidenav {
        position: fixed;
        left: -260px;
        width: 260px;
        height: 100vh;
        z-index: 999;
    }

    .dk-content {
        margin-left: 0;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-header h2 {
        font-size: 24px;
    }

    .card-number {
        font-size: 32px;
    }

    .quick-actions {
        flex-direction: column;
    }

    .quick-action-btn {
        width: 100%;
        text-align: center;
    }
}

/* ============ ANIMATIONS ============ */

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dashboard-card {
    animation: slideUp 0.5s ease;
}

/* ============ SCROLL ============ */

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f5f7fa;
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #999;
    }
