/* ===== SOFT MODERN DASHBOARD - NO RADIUS ===== */
:root {
    --primary: #5b7fe0;
    --primary-light: #eef2ff;
    --success: #6bb38a;
    --success-light: #ecf7f0;
    --warning: #e5a54b;
    --warning-light: #fef7ec;
    --danger: #d4736a;
    --danger-light: #fdf0ef;
    --purple: #9683d9;
    --purple-light: #f5f3fb;
    --cyan: #5ab4c5;
    --cyan-light: #edf8fa;
    --dark: #3d4f5f;
    --gray-700: #5a6a7a;
    --gray-500: #8896a4;
    --gray-400: #a8b5c2;
    --gray-200: #dfe6ed;
    --gray-100: #f4f7fa;
    --gray-50: #f9fbfc;
    --white: #ffffff;
    --shadow-soft: 0 2px 8px rgba(61, 79, 95, 0.06);
    --shadow-medium: 0 4px 16px rgba(61, 79, 95, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    background: #f0f4f8;
    color: var(--dark);
    min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 230px;
    height: 100vh;
    background: var(--white);
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    border-right: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

    .sidebar.collapsed {
        margin-left: -230px;
    }

.sidebar-brand {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gray-100);
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.brand-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
}

.brand-sub {
    font-size: 10px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sidebar-nav {
    padding: 16px 12px;
}

    .sidebar-nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 14px;
        color: var(--gray-500);
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        margin-bottom: 2px;
        transition: all 0.2s ease;
    }

        .sidebar-nav a:hover {
            background: var(--gray-50);
            color: var(--dark);
        }

        .sidebar-nav a.active {
            background: var(--primary-light);
            color: var(--primary);
        }

        .sidebar-nav a i {
            font-size: 17px;
            width: 22px;
        }

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: 230px;
    min-height: 100vh;
    transition: all 0.3s ease;
}

    .main-content.expanded {
        margin-left: 0;
    }

/* ===== HEADER ===== */
.header {
    height: 60px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-toggle {
    width: 36px;
    height: 36px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    font-size: 18px;
    cursor: pointer;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

    .btn-toggle:hover {
        background: var(--gray-100);
        color: var(--dark);
    }

.header-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-date {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-700);
    font-size: 12px;
    font-weight: 500;
}

    .header-date i {
        color: var(--primary);
    }

.header-user {
    width: 36px;
    height: 36px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 16px;
    cursor: pointer;
}

/* ===== CONTENT AREA ===== */
.content-area {
    padding: 20px;
}

/* ===== SOFT CARD ===== */
.soft-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-soft);
    margin-bottom: 16px;
}

.soft-card-header {
    padding: 14px 18px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    gap: 12px;
}

    .soft-card-header .card-icon {
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }

        .soft-card-header .card-icon.blue {
            background: var(--primary-light);
            color: var(--primary);
        }

        .soft-card-header .card-icon.green {
            background: var(--success-light);
            color: var(--success);
        }

        .soft-card-header .card-icon.orange {
            background: var(--warning-light);
            color: var(--warning);
        }

        .soft-card-header .card-icon.red {
            background: var(--danger-light);
            color: var(--danger);
        }

        .soft-card-header .card-icon.purple {
            background: var(--purple-light);
            color: var(--purple);
        }

        .soft-card-header .card-icon.cyan {
            background: var(--cyan-light);
            color: var(--cyan);
        }

    .soft-card-header h6 {
        font-size: 13px;
        font-weight: 600;
        color: var(--dark);
        margin: 0;
    }

    .soft-card-header small {
        font-size: 11px;
        color: var(--gray-500);
    }

.soft-card-body {
    padding: 16px 18px;
}

/* ===== MAP ===== */
#map {
    width: 100%;
    height: 430px;
}

/* ===== PLACEHOLDER ===== */
.placeholder-box {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 60px 40px;
    text-align: center;
}

    .placeholder-box i {
        font-size: 48px;
        color: var(--gray-300);
        margin-bottom: 16px;
    }

    .placeholder-box h5 {
        font-size: 16px;
        font-weight: 600;
        color: var(--gray-700);
        margin-bottom: 8px;
    }

    .placeholder-box p {
        font-size: 13px;
        color: var(--gray-500);
    }

/* ===== INFO LIST ===== */
.info-list {
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

    .info-row:last-child {
        border-bottom: none;
    }

    .info-row .label {
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--gray-500);
        font-size: 12px;
    }

        .info-row .label i {
            width: 28px;
            height: 28px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
        }

            .info-row .label i.blue {
                background: var(--primary-light);
                color: var(--primary);
            }

            .info-row .label i.green {
                background: var(--success-light);
                color: var(--success);
            }

            .info-row .label i.orange {
                background: var(--warning-light);
                color: var(--warning);
            }

            .info-row .label i.purple {
                background: var(--purple-light);
                color: var(--purple);
            }

            .info-row .label i.cyan {
                background: var(--cyan-light);
                color: var(--cyan);
            }

            .info-row .label i.red {
                background: var(--danger-light);
                color: var(--danger);
            }

    .info-row .value {
        font-weight: 600;
        font-size: 13px;
        color: var(--dark);
    }

/* ===== RISK ITEM ===== */
.risk-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

    .risk-item:last-child {
        border-bottom: none;
    }

.risk-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.risk-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--dark);
}

    .risk-label i {
        width: 28px;
        height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
    }

.risk-value {
    font-size: 14px;
    font-weight: 700;
}

.risk-bar {
    height: 5px;
    background: var(--gray-100);
    overflow: hidden;
}

.risk-fill {
    height: 100%;
    transition: width 0.4s ease;
}

.risk-detail {
    font-size: 10px;
    color: var(--gray-500);
    margin-top: 4px;
}

.risk-total {
    background: var(--dark);
    color: var(--white);
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

    .risk-total span {
        font-size: 12px;
    }

    .risk-total strong {
        font-size: 18px;
    }

/* ===== CLIMATE ===== */
.climate-header {
    background: linear-gradient(135deg, var(--primary-light) 0%, #e8f4fd 100%);
    padding: 16px;
    text-align: center;
    margin-bottom: 12px;
}

.climate-badge {
    display: inline-block;
    background: var(--white);
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-soft);
}

.climate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.climate-item {
    background: var(--gray-50);
    padding: 12px 8px;
    text-align: center;
}

    .climate-item .icon {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .climate-item .val {
        font-size: 14px;
        font-weight: 700;
        color: var(--dark);
    }

    .climate-item .lbl {
        font-size: 9px;
        color: var(--gray-500);
        text-transform: uppercase;
    }

/* ===== SEASON ===== */
.season-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.season-item {
    padding: 14px 8px;
    text-align: center;
}

    .season-item.winter {
        background: #eef6fc;
    }

    .season-item.spring {
        background: #eef9f2;
    }

    .season-item.summer {
        background: #fefaee;
    }

    .season-item.autumn {
        background: #fdf5ee;
    }

    .season-item .icon {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .season-item .name {
        font-size: 10px;
        font-weight: 700;
        color: var(--dark);
        text-transform: uppercase;
        margin-bottom: 6px;
    }

    .season-item .data {
        font-size: 10px;
        color: var(--gray-700);
        line-height: 1.5;
    }

/* ===== TABLE ===== */
.data-table {
    width: 100%;
    font-size: 11px;
}

    .data-table th {
        background: var(--gray-50);
        padding: 10px 8px;
        font-weight: 600;
        font-size: 10px;
        text-transform: uppercase;
        color: var(--gray-500);
        text-align: left;
        border-bottom: 1px solid var(--gray-200);
    }

    .data-table td {
        padding: 9px 8px;
        border-bottom: 1px solid var(--gray-100);
        color: var(--gray-700);
    }

    .data-table tr.current td {
        background: var(--primary-light);
    }

    .data-table tbody tr:hover td {
        background: var(--gray-50);
    }

/* ===== CROP ===== */
.crop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: var(--gray-50);
    margin-bottom: 14px;
}

.crop-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crop-icon {
    width: 44px;
    height: 44px;
    background: var(--success-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--success);
}

.crop-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
}

.crop-level {
    display: inline-block;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 600;
    margin-top: 4px;
}

    .crop-level.very-suitable {
        background: var(--success-light);
        color: #2d6a4f;
    }

    .crop-level.suitable {
        background: var(--primary-light);
        color: #3b5998;
    }

    .crop-level.conditional {
        background: var(--warning-light);
        color: #b8860b;
    }

    .crop-level.not-suitable {
        background: var(--danger-light);
        color: #a52a2a;
    }

.crop-score {
    text-align: center;
}

    .crop-score .num {
        font-size: 32px;
        font-weight: 800;
        line-height: 1;
    }

    .crop-score .lbl {
        font-size: 10px;
        color: var(--gray-500);
        text-transform: uppercase;
    }

.factor-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
}

    .factor-item:last-child {
        border-bottom: none;
    }

.factor-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--white);
}

.factor-name {
    width: 60px;
    font-size: 11px;
    color: var(--gray-500);
}

.factor-bar {
    flex: 1;
    height: 5px;
    background: var(--gray-100);
}

.factor-fill {
    height: 100%;
}

.factor-score {
    width: 45px;
    text-align: right;
    font-size: 11px;
    font-weight: 700;
}

.recommendations {
    background: var(--warning-light);
    padding: 12px 14px;
    margin-top: 12px;
}

    .recommendations h6 {
        font-size: 11px;
        font-weight: 700;
        color: var(--warning);
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .recommendations ul {
        margin: 0;
        padding-left: 18px;
        font-size: 11px;
        color: #7a5c1e;
    }

    .recommendations li {
        margin-bottom: 3px;
    }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .climate-grid, .season-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .sidebar {
        margin-left: -230px;
    }

    .main-content {
        margin-left: 0;
    }

    #map {
        height: 280px;
    }
}
/* ===== INFO GRID BOX ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.info-box {
    padding: 14px 12px;
    text-align: center;
}

    .info-box .info-icon {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .info-box .info-label {
        font-size: 10px;
        color: var(--gray-500);
        text-transform: uppercase;
        letter-spacing: 0.3px;
        margin-bottom: 4px;
    }

    .info-box .info-value {
        font-size: 13px;
        font-weight: 600;
        color: var(--dark);
    }

    /* Box Renkleri */
    .info-box.blue-box {
        background: var(--primary-light);
    }

        .info-box.blue-box .info-icon {
            color: var(--primary);
        }

    .info-box.green-box {
        background: var(--success-light);
    }

        .info-box.green-box .info-icon {
            color: var(--success);
        }

    .info-box.orange-box {
        background: var(--warning-light);
    }

        .info-box.orange-box .info-icon {
            color: var(--warning);
        }

    .info-box.purple-box {
        background: var(--purple-light);
    }

        .info-box.purple-box .info-icon {
            color: var(--purple);
        }

    .info-box.cyan-box {
        background: var(--cyan-light);
    }

        .info-box.cyan-box .info-icon {
            color: var(--cyan);
        }

    .info-box.red-box {
        background: var(--danger-light);
    }

        .info-box.red-box .info-icon {
            color: var(--danger);
        }
/* ===== HEADER SCORE ===== */
.header-score {
    text-align: center;
    padding: 8px 14px;
    background: var(--danger-light);
}

.header-score-label {
    display: block;
    font-size: 9px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.header-score-value {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--danger);
}