/* ============================================
   RADIO MIRAGE – PUBLIC STYLE (Retro Top20)
   ============================================ */

:root {
    --bg-main: #000;
    --bg-card: #111;
    --accent: #ff2a2a;
    --accent-soft: #330000;
    --text-main: #fff;
    --text-muted: #aaa;
    --border-soft: #333;
}

/* GLOBAL */
body {
    background-color: var(--bg-main);
    font-family: 'Segoe UI', sans-serif;
    color: var(--text-main);
    margin: 0;
    padding: 20px;
}

/* TOPBAR */
.topbar {
    max-width: 1100px;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-title {
    font-size: 26px;
    color: var(--accent);
    text-shadow: 0 0 12px var(--accent);
    font-weight: bold;
}

.topbar-sub {
    font-size: 13px;
    color: var(--text-muted);
}

.topbar-right {
    text-align: right;
    font-size: 13px;
    color: var(--text-muted);
}

/* MAIN CONTAINER */
.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* CARDS */
.card {
    background-color: var(--bg-card);
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 0 20px var(--accent);
}

.card h1,
.card h2 {
    color: var(--accent);
    text-shadow: 0 0 12px var(--accent);
    margin-top: 0;
}

/* MENU */
.mainmenu {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 0 auto 30px auto;
    flex-wrap: wrap;
}

.mainmenu a {
    text-decoration: none;
    color: #fff;
    background-color: #220000;
    border: 1px solid var(--accent);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: bold;
    box-shadow: 0 0 8px var(--accent);
    transition: background-color 0.2s;
}

.mainmenu a:hover {
    background-color: #330000;
}

.mainmenu a.active {
    background-color: var(--accent);
    color: #000;
    box-shadow: 0 0 12px var(--accent);
}

/* SHORTCUT BUTTONS */
.shortcut {
    display: block;
    text-align: center;
    padding: 12px;
    background: #220000;
    border: 1px solid var(--accent);
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 10px var(--accent);
}

.shortcut:hover {
    background: #330000;
}

.shortcut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

/* FORM ELEMENTS */
input[type="text"],
textarea,
select {
    width: 100%;
    background-color: #000;
    border: 1px solid var(--accent);
    border-radius: 6px;
    padding: 8px;
    color: #fff;
    margin-bottom: 10px;
    box-sizing: border-box;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 10px var(--accent);
}

/* BUTTONS */
button {
    background-color: var(--accent);
    border: none;
    padding: 9px 16px;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent);
    font-size: 14px;
}

button:hover {
    background-color: #ff4444;
}

button.secondary {
    background-color: #222;
    border: 1px solid var(--accent);
    box-shadow: none;
}

button.secondary:hover {
    background-color: var(--accent-soft);
}

/* TABLES */
table {
    width: 100%;
    border-collapse: collapse;
    color: #fff;
    font-size: 14px;
}

table th {
    background-color: #220000;
    color: var(--accent);
    padding: 10px;
    text-shadow: 0 0 8px var(--accent);
}

table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-soft);
    vertical-align: top;
}

table tr:hover {
    background-color: #1a0000;
}

/* CHANNEL LABELS */
.channel-label {
    font-size: 12px;
    margin-top: 4px;
    padding: 3px 8px;
    display: inline-block;
    border-radius: 4px;
    font-weight: bold;
}

.channel-ITALO-DANCE {
    background-color: #ff2a2a;
    color: #fff;
}

.channel-SPACE {
    background-color: #1e90ff;
    color: #fff;
}

.channel-PRYWATKA {
    background-color: #ffcc00;
    color: #000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .topbar {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .mainmenu {
        gap: 10px;
    }

    .card {
        padding: 16px;
    }

    .card h1,
    .card h2 {
        font-size: 20px;
    }
}

.vote-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 10px 0;
}

.vote-item {
    padding: 6px;
    background: #f4f4f4;
    border-radius: 6px;
}

