﻿:root {
    --volos-blue: #2f73b8;
    --volos-blue-dark: #245d95;
    --volos-blue-soft: #edf5fc;
    --volos-orange: #f39c12;
    --volos-text: #24384b;
    --volos-muted: #6f8192;
    --volos-border: #dfe7ee;
    --volos-bg: #f6f8fa;
    --volos-danger: #c0392b;
}

* { box-sizing: border-box; }

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body.public-decisions-body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: visible;
    color: var(--volos-text);
    background: var(--volos-bg);
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

a { color: var(--volos-blue-dark); }

.municipal-header {
    width: 100%;
    background: #fff;
    box-shadow: 0 1px 8px rgba(25, 55, 85, .08);
}

.municipal-header-inner {
    width: calc(100% - 40px);
    max-width: 1180px;
    min-height: 86px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 0;
}

.municipal-brand {
    width: 175px;
    min-width: 175px;
    min-height: 86px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--volos-blue);
    text-decoration: none;
}

.municipal-brand img {
    width: 138px;
    max-width: 100%;
    height: auto;
    max-height: none;
    display: block;
    object-fit: contain;
}

.municipal-brand-fallback {
    display: none;
    color: var(--volos-blue-dark);
    font-size: 18px;
    font-weight: 800;
}

.municipal-app-title {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 0 12px 28px;
    border-left: 0;
}

.municipal-app-title-main {
    color: var(--volos-blue-dark);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .2px;
}

.municipal-app-title-sub {
    margin-top: 3px;
    color: var(--volos-muted);
    font-size: 14px;
}

.municipal-header-accent {
    height: 4px;
    background: var(--volos-blue);
}

.public-shell { min-height: calc(100vh - 112px); }

.public-container {
    width: calc(100% - 40px);
    max-width: 1180px;
    margin: 0 auto;
    padding: 34px 0 18px;
}

.public-decisions-card {
    width: 100%;
    min-height: 460px;
    padding: 31px 34px 28px;
    background: #fff;
    border: 1px solid #edf1f4;
    border-radius: 7px;
    box-shadow: 0 5px 20px rgba(32, 63, 91, .08);
}

.public-decisions-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.public-decisions-heading { min-width: 0; }

.heading-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--volos-blue-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .75px;
}

.public-decisions-heading h1 {
    margin: 0;
    color: #24384b;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 750;
}

.heading-accent {
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 11px;
    border-radius: 2px;
    background: var(--volos-blue);
}

.year-filter {
    width: 118px;
    flex: 0 0 118px;
}

.year-filter label,
.filter-field label,
.results-sort label {
    display: block;
    margin-bottom: 5px;
    color: var(--volos-blue-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .35px;
}

.form-control {
    width: 100%;
    height: 40px;
    padding: 8px 10px;
    color: #33495e;
    background: #fff;
    border: 1px solid #c8d5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
}

.form-control:focus {
    border-color: var(--volos-blue);
    box-shadow: 0 0 0 3px rgba(47, 115, 184, .10);
}

.category-tabs {
    margin: 24px 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tab {
    min-height: 38px;
    padding: 9px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--volos-blue-dark) !important;
    background: #fff;
    border: 1px solid #c9d9e8;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: .18s ease;
}

.category-tab:hover,
.category-tab:focus {
    border-color: var(--volos-blue);
    background: var(--volos-blue-soft);
}

.category-tab.active {
    color: #fff !important;
    border-color: var(--volos-blue);
    background: var(--volos-blue);
}

.filters-toggle-row { margin: 20px 0 0; }

.filters-toggle {
    width: 100%;
    min-height: 42px;
    padding: 9px 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    color: var(--volos-blue-dark);
    background: #f7fbff;
    border: 1px solid #cbdcea;
    border-radius: 5px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}

.filters-toggle-icon { font-size: 16px; line-height: 1; }

.filters-toggle-arrow {
    margin-left: auto;
    font-size: 11px;
    transition: transform .2s ease;
}

.filters-toggle[aria-expanded="true"] .filters-toggle-arrow {
    transform: rotate(180deg);
}

.filters-panel {
    display: none;
    margin-top: 10px;
    padding: 18px;
    background: #f8fbfd;
    border: 1px solid #dce8f1;
    border-radius: 6px;
}

.filters-panel.open { display: block; }

.filters-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 12px;
}

.filters-grid.khmdhs-grid {
    grid-template-columns: 1.7fr 1fr 1fr 1fr;
}

.filter-field-wide { grid-column: span 2; }

.filter-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.public-search-button {
    min-width: 126px;
    height: 42px;
    padding: 0 15px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #c8d5e1;
    border-radius: 4px;
    color: var(--volos-blue-dark) !important;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 750;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
}

.public-search-submit {
    color: #fff !important;
    border-color: var(--volos-blue);
    background: var(--volos-blue);
}

.public-search-submit:hover,
.public-search-submit:focus {
    color: #fff !important;
    background: var(--volos-blue-dark);
}

.public-search-clear:hover,
.public-search-clear:focus { background: #eef5fb; }

.action-icon { font-size: 16px; line-height: 1; }

.results-toolbar {
    margin: 27px 0 12px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.results-heading { min-width: 0; }

.results-title {
    display: block;
    color: #31475b;
    font-size: 15px;
    font-weight: 750;
}

.results-subtitle {
    display: block;
    margin-top: 4px;
    color: var(--volos-muted);
    font-size: 12px;
}

.results-sort {
    flex: 0 0 275px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.results-sort label { margin: 0; white-space: nowrap; }

.results-sort-select {
    width: 205px;
    height: 37px;
    font-size: 12px;
}

.public-results-list { border-top: 1px solid var(--volos-border); }

.result-card {
    padding: 17px 5px 16px;
    border-bottom: 1px solid var(--volos-border);
}

.result-card:hover { background: #fbfdff; }

.result-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.result-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.result-tag {
    padding: 3px 8px;
    color: var(--volos-blue-dark);
    background: #eaf4fd;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 800;
}

.result-tag.category {
    color: #fff;
    background: var(--volos-blue);
}

.result-date {
    flex: 0 0 auto;
    color: var(--volos-muted);
    font-size: 11px;
    font-weight: 650;
}

.result-title {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 8px 0 6px;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: normal;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;
    color: #263c50;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
    font-size: 15px;
    line-height: 1.55;
    font-weight: 700;
}

.result-meta {
    color: #66798a;
    font-size: 12px;
    line-height: 1.6;
}

.result-meta strong {
    color: #40576b;
    font-weight: 700;
}

.result-actions {
    margin-top: 9px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.result-link {
    padding: 6px 10px;
    color: var(--volos-blue-dark) !important;
    background: #fff;
    border: 1px solid #cbdcea;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
}

.result-empty {
    padding: 34px 12px;
    color: var(--volos-muted);
    text-align: center;
    font-size: 14px;
}

.pagination-row {
    margin-top: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.page-button {
    min-width: 96px;
    height: 36px;
    color: var(--volos-blue-dark);
    background: #fff;
    border: 1px solid #c9d8e5;
    border-radius: 4px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.page-button:disabled {
    color: #9eacb7;
    background: #f5f7f8;
    cursor: default;
}

.page-info {
    min-width: 130px;
    color: #65798b;
    text-align: center;
    font-size: 11px;
}

.public-loader-overlay {
    position: fixed !important;
    z-index: 99999 !important;
    inset: 0 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(238, 244, 249, .86);
    backdrop-filter: blur(2px);
}

.public-loader-card {
    width: min(390px, 94vw);
    padding: 28px 26px 25px;
    text-align: center;
    background: #fff;
    border: 1px solid #dfe7ee;
    border-radius: 8px;
    box-shadow: 0 15px 45px rgba(24, 53, 80, .17);
}

.public-spinner {
    width: 38px;
    height: 38px;
    margin: 0 auto 15px;
    border: 4px solid #dcebf7;
    border-top-color: var(--volos-blue);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.public-loader-kicker {
    display: block;
    margin-bottom: 6px;
    color: var(--volos-blue-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .65px;
}

.public-loader-card h2 {
    margin: 0;
    color: #24384b;
    font-size: 19px;
}

.public-loader-card p {
    margin: 6px 0 0;
    color: var(--volos-muted);
    font-size: 12px;
}

.public-footer-status {
    width: 100%;
    margin: 16px 0 0;
}

.public-error {
    display: block;
    color: var(--volos-danger) !important;
    font-size: 12px;
}

.municipal-public-footer {
    position: relative;
    left: 50%;
    width: 100vw;
    margin-top: 24px;
    margin-left: -50vw;
    margin-bottom: -18px;
    color: #fff;
    background: linear-gradient(180deg, #1b68ad 0%, #15548f 100%);
    border-top: 3px solid var(--volos-blue);
}

.municipal-public-footer-inner {
    width: calc(100% - 40px);
    max-width: 1180px;
    min-height: 64px;
    margin: 0 auto;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.municipal-public-footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    font-size: 13px;
    white-space: nowrap;
}

.municipal-public-footer-city { font-weight: 800; }

.municipal-public-footer-divider,
.municipal-public-footer-info-divider {
    color: rgba(255,255,255,.48);
}

.municipal-public-footer-app { color: rgba(255,255,255,.92); }

.municipal-public-footer-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    color: rgba(255,255,255,.94);
    font-size: 12px;
    white-space: nowrap;
}

.public-license-expiry,
.public-copyright {
    color: rgba(255,255,255,.94) !important;
    font-size: 12px !important;
}

@media (max-width: 900px) {
    .filters-grid,
    .filters-grid.khmdhs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .filter-field-wide { grid-column: span 2; }

    .municipal-public-footer-info {
        flex-wrap: wrap;
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .municipal-header-inner {
        width: calc(100% - 24px);
        min-height: 86px;
        gap: 12px;
    }

    .municipal-brand {
        width: 105px;
        min-width: 105px;
    }

    .municipal-brand img {
        max-width: 102px;
        max-height: 58px;
    }

    .municipal-app-title { padding-left: 12px; }

    .municipal-app-title-main { font-size: 16px; }

    .municipal-app-title-sub { font-size: 11px; }

    .public-container {
        width: calc(100% - 18px);
        padding-top: 18px;
    }

    .public-decisions-card { padding: 22px 15px 20px; }

    .public-decisions-heading-row { gap: 12px; }

    .public-decisions-heading h1 { font-size: 19px; }

    .year-filter {
        width: 92px;
        flex-basis: 92px;
    }

    .category-tabs { gap: 6px; }

    .category-tab {
        min-height: 34px;
        padding: 7px 10px;
        font-size: 10px;
    }

    .filters-grid,
    .filters-grid.khmdhs-grid {
        grid-template-columns: 1fr;
    }

    .filter-field-wide { grid-column: auto; }

    .filter-actions { justify-content: flex-start; }

    .public-search-button {
        width: 42px !important;
        min-width: 42px;
        height: 42px;
        padding: 0;
        gap: 0;
    }

    .public-search-button .public-action-label {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
    }

    .results-toolbar { display: block; }

    .results-heading { margin-bottom: 10px; }

    .results-sort {
        width: 100%;
        justify-content: flex-start;
    }

    .results-sort-select {
        width: 100%;
        max-width: 260px;
    }

    .result-topline { align-items: flex-start; }

    .result-date { white-space: nowrap; }

    .municipal-public-footer { margin-bottom: -8px; }

    .municipal-public-footer-inner {
        width: calc(100% - 24px);
        min-height: 0;
        padding: 13px 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .municipal-public-footer-brand,
    .municipal-public-footer-info {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        white-space: normal;
        font-size: 11px;
    }

    .public-license-expiry,
    .public-copyright {
        font-size: 11px !important;
    }
}


/* 2026-09-05 v3 - Κοινή τυπογραφία Διαύγειας / ΚΗΜΔΗΣ */
.result-card,
.result-meta,
.result-tag,
.result-date,
.result-link {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
}

.result-card {
    overflow: visible !important;
}

.result-meta {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.55;
}
