<link rel="stylesheet" href="/agrobattle/assets/css/battle.css?v=<?= time() ?>">

/* ===== BASE ===== */
body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    margin: 0;
}

/* ===== HEADER ===== */
.header {
    background: #2e7d32;
    color: #fff;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.tagline {
    font-size: 14px;
    opacity: 0.9;
}

/* ===== MAIN CONTENT ===== */
.content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
}

/* ===== OPTIONS GRID ===== */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* ===== OPTION CARD ===== */
.option {
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    background: #fafafa;
    cursor: pointer;
}

/* ===== OPTION IMAGE ===== */
.option img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* ===== OPTION BODY ===== */
.option-title {
    padding: 10px;
    font-weight: bold;
    text-align: center;
}

/* ===== FORMS ===== */
form {
    margin: 0;
}

select,
button {
    padding: 10px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

/* ===== MAP ===== */
.map {
    margin-top: 30px;
    max-width: 100%;
    overflow-x: hidden;
    text-align: center;
}

/* SVG responsive */
.map svg {
    width: 100% !important;
    height: auto !important;
    max-width: 700px;
    display: block;
    margin: 0 auto;
}


/* ===== MOBILE FINAL (SINGLE SOURCE OF TRUTH) ===== */
@media screen and (max-width: 900px) {

    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        overflow-x: hidden;
    }

    .header-inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .content {
        max-width: 100%;
        margin: 0;
        padding-left: 16px;
        padding-right: 16px;
    }

    .options-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .option {
        width: 100%;
    }

    .option img {
        height: 180px;
    }
}


/* ===== REGIONS STATS ===== */
.regions-stats {
    margin-top: 32px;
}

.regions-stats h2 {
    margin-bottom: 16px;
}

.region-block {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    background: #fafafa;
}

.region-title {
    font-weight: bold;
    margin-bottom: 8px;
}

.region-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 4px;
}

.region-option .color {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid #aaa;
}

.region-option .title {
    flex: 1;
}

.region-option .meta {
    color: #555;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    .region-option {
        font-size: 13px;
    }
}

/* ===== HEADER ===== */


.ab-logo a{
    color:#fff;
    font-size:22px;
    font-weight:bold;
    text-decoration:none;
}


/* CTA */
.vote-btn{
    background:#ffb300;
    color:#1b5e20;
    padding:10px 16px;
    border-radius:8px;
    font-weight:bold;
    text-decoration:none;
}

.vote-btn:hover{
    background:#ffc947;
}


