﻿body {
    font-family: 'Segoe UI', sans-serif;
    background: #f8f9fa;
}

.navbar-brand {
    font-size: 1.4rem;
}

.nav-link {
    font-weight: 500;
}

    .nav-link:hover {
        color: #ffc107 !important;
    }

footer a:hover {
    color: #ffc107 !important;
}

main {
    min-height: 70vh;
}


.gallery-cover {
    height: 280px;
    object-fit: cover;
    transition: .4s;
    cursor: pointer;
}

    .gallery-cover:hover {
        transform: scale(1.05);
    }

.card {
    border-radius: 18px;
    overflow: hidden;
}

.card-body {
    background: #fff;
}

.card h4 {
    font-weight: bold;
}

.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.dropdown-item {
    padding: 10px 20px;
    transition: .3s;
}

    .dropdown-item:hover {
        background: #0d6efd;
        color: #fff;
    }


.card {
    transition: .35s;
    border-radius: 18px;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 35px rgba(0,0,0,.18) !important;
    }

.card-body {
    padding: 30px;
}

.badge {
    padding: 10px 18px;
    border-radius: 25px;
    font-weight: 500;
}

.card h4 {
    color: #0d6efd;
    margin-bottom: 15px;
    font-size: 1.25rem;
}


.page-title {
    font-size: 42px;
    font-weight: 700;
    color: #0d6efd;
}

/* Kart Başlığı */

.member-name {
    font-size: 24px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 15px;
}

/* Rozet */

.member-badge {
    font-size: 16px;
    padding: 10px 18px;
    border-radius: 30px;
}

/* Kart */

.card {
    border-radius: 18px;
    transition: .35s;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(0,0,0,.15) !important;
    }

/* =========================================
   KARAR GEÇMİŞİ - TIMELINE
   ========================================= */

.karar-timeline {
    position: relative;
    margin: 10px 0 5px 10px;
    padding-left: 32px;
}

    .karar-timeline::before {
        content: "";
        position: absolute;
        left: 9px;
        top: 8px;
        bottom: 8px;
        width: 2px;
        background: #dee2e6;
    }

.timeline-item {
    position: relative;
    margin-bottom: 22px;
}

    .timeline-item:last-child {
        margin-bottom: 0;
    }

.timeline-dot {
    position: absolute;
    left: -32px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #dee2e6;
}

.timeline-success {
    background: #198754;
}

.timeline-warning {
    background: #ffc107;
}

.timeline-danger {
    background: #dc3545;
}

.timeline-secondary {
    background: #6c757d;
}

.timeline-content {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 14px 16px;
    transition: all 0.2s ease;
}

    .timeline-content:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        background: #fff;
    }

    .timeline-content .fw-bold {
        font-size: 15px;
    }

@media (max-width: 576px) {

    .karar-timeline {
        margin-left: 5px;
        padding-left: 28px;
    }

    .timeline-content {
        padding: 12px;
    }

    .timeline-dot {
        left: -28px;
    }
}
/* =====================================================
   YÖNETİCİ DASHBOARD
   ===================================================== */

.admin-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #ffffff, #f5f7fb);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 24px 28px;
}

.admin-dashboard-icon {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #212529;
    color: #fff;
    font-size: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,.12);
}


/* İSTATİSTİK KARTLARI */

.admin-stat-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 145px;
    padding: 22px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e9ecef;
    overflow: hidden;
    transition: all .25s ease;
}

    .admin-stat-card::after {
        content: "";
        position: absolute;
        width: 90px;
        height: 90px;
        border-radius: 50%;
        right: -30px;
        bottom: -30px;
        opacity: .08;
        background: currentColor;
    }

    .admin-stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,.08);
    }

.stat-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
}

.stat-title {
    color: #6c757d;
    font-size: 14px;
    font-weight: 600;
}

.stat-value {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    margin: 3px 0;
}

.stat-description {
    color: #8a8f98;
    font-size: 12px;
}


/* KART RENKLERİ */

.stat-blue {
    color: #0d6efd;
}

    .stat-blue .stat-icon {
        background: #e7f1ff;
        color: #0d6efd;
    }

.stat-purple {
    color: #6f42c1;
}

    .stat-purple .stat-icon {
        background: #f0eaff;
        color: #6f42c1;
    }

.stat-orange {
    color: #fd7e14;
}

    .stat-orange .stat-icon {
        background: #fff0e4;
        color: #fd7e14;
    }

.stat-green {
    color: #198754;
}

    .stat-green .stat-icon {
        background: #e5f6ed;
        color: #198754;
    }


/* BÖLÜM BAŞLIĞI */

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* YÖNETİM KARTLARI */

.admin-action-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 105px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all .25s ease;
}

    .admin-action-card:hover {
        color: inherit;
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,.08);
        border-color: #dee2e6;
    }

.action-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.action-blue {
    background: #e7f1ff;
    color: #0d6efd;
}

.action-purple {
    background: #f0eaff;
    color: #6f42c1;
}

.action-green {
    background: #e5f6ed;
    color: #198754;
}

.action-content {
    flex: 1;
}

    .action-content h6 {
        font-weight: 700;
        margin-bottom: 4px;
    }

    .action-content p {
        color: #6c757d;
        font-size: 13px;
        margin: 0;
    }

.action-arrow {
    color: #adb5bd;
    transition: transform .2s ease;
}

.admin-action-card:hover .action-arrow {
    transform: translateX(4px);
    color: #495057;
}


/* SON BİLDİRİLER */

.dashboard-section-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
}

.dashboard-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid #e9ecef;
    background: #fafbfc;
}

.dashboard-section-card .table {
    font-size: 14px;
}

    .dashboard-section-card .table th {
        color: #6c757d;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: .3px;
        background: #fafbfc;
        border-bottom: 1px solid #e9ecef;
    }

    .dashboard-section-card .table td {
        padding-top: 14px;
        padding-bottom: 14px;
    }


/* ALT BİLGİ */

.admin-dashboard-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-radius: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    font-size: 13px;
}


/* MOBİL */

@media (max-width: 767px) {
    .admin-dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

        .admin-dashboard-header > div:last-child {
            width: 100%;
            justify-content: space-between;
        }

        .admin-dashboard-header .btn {
            flex: 1;
        }

    .admin-dashboard-header {
        padding: 20px;
    }

    .admin-dashboard-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .admin-stat-card {
        min-height: 125px;
    }

    .dashboard-section-header {
        align-items: flex-start;
        gap: 12px;
        flex-direction: column;
    }

    .admin-dashboard-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}