/* ==== Global Base Styles für Funtopia Government ==== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background: radial-gradient(circle at top, #020617 0, #020617 42%, #020617 60%, #020617 100%);
    color: #e5e7eb;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.btn--small {
    margin-top: 0.7rem;
    padding-inline: 1.1rem;
    padding-block: 0.45rem;
    font-size: 0.8rem;
}


/* ==== Ratsinformationssystem spezifische Elemente ==== */

.gov-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.gov-filter label {
    font-weight: 500;
}

.gov-filter select {
    padding: 0.45rem 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.7);
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    min-width: 220px;
}

.gov-link--reset {
    font-size: 0.85rem;
    opacity: 0.8;
}

.gov-card--muted {
    opacity: 0.85;
}

.gov-agenda {
    list-style: decimal;
    margin: 0;
    padding-left: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gov-agenda__item {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.gov-agenda__title {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
}

.gov-agenda__text {
    margin: 0;
    font-size: 0.9rem;
    color: #cbd5f5;
}


/* ==== Ratsinfosystem Status-Badges ==== */

.gov-status {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    margin-top: 0.15rem;
}

.gov-status--geplant {
    background: rgba(59, 130, 246, 0.12);
    color: #bfdbfe;
    border-color: rgba(59, 130, 246, 0.7);
}

.gov-status--laufend {
    background: rgba(16, 185, 129, 0.14);
    color: #a7f3d0;
    border-color: rgba(16, 185, 129, 0.75);
}

.gov-status--abgeschlossen {
    background: rgba(34, 197, 94, 0.14);
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, 0.75);
}

.gov-status--abgesagt {
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
    border-color: rgba(239, 68, 68, 0.85);
}


/* ==== Ratsinfosystem Unter-Navigation & Tabellen ==== */

.gov-subnav {
    display: inline-flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.gov-subnav a {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    text-decoration: none;
    color: #e5e7eb;
    opacity: 0.85;
}

.gov-subnav a.is-active {
    background: radial-gradient(circle at top, rgba(59, 130, 246, 0.3), rgba(37, 99, 235, 0.9));
    box-shadow: 0 0 18px rgba(37, 99, 235, 0.45);
    opacity: 1;
}

.gov-subnav a:hover {
    opacity: 1;
}

/* Basic table look similar to classic RIS */

.gov-table-wrapper {
    margin-top: 1.5rem;
}

.gov-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.gov-table thead {
    background: rgba(15, 23, 42, 0.95);
}

.gov-table th,
.gov-table td {
    padding: 0.55rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(30, 64, 175, 0.5);
}

.gov-table th {
    font-weight: 600;
    color: #e5e7eb;
    white-space: nowrap;
}

.gov-table tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, 0.75);
}

.gov-table tbody tr:hover {
    background: rgba(30, 64, 175, 0.55);
}

.gov-table a {
    color: #bfdbfe;
    text-decoration: none;
}

.gov-table a:hover {
    text-decoration: underline;
}

.ratsinfo-data-row--block {
    align-items: flex-start;
}

.ratsinfo-data-value--multiline {
    display: block;
    margin-top: 0.15rem;
    line-height: 1.4;
}
