/* Øl admin portal: calm and readable, with the site's green and gold */
:root { --a-green: #0f2420; --a-green-2: #163a32; --a-gold: #e9b44c; --a-bg: #f5f2ea; --a-line: #e2dccd; }
body.admin { background: var(--a-bg); color: #222; font-family: "Lato", "Segoe UI", system-ui, sans-serif; }
.admin h1, .admin h2 { font-family: "Oswald", "Arial Narrow", sans-serif; font-weight: 500; letter-spacing: .02em; }
.admin-top { background: var(--a-green); border-bottom: 3px solid var(--a-gold); padding: .4rem 0; }
.admin-brand { display: flex; align-items: center; gap: .6rem; color: #f6e8c3; font-family: "Oswald", sans-serif; font-size: 1.25rem; text-decoration: none; }
.admin-brand:hover { color: #fff; }
.admin-top-actions { align-items: center; gap: 1rem; margin-left: auto; }
.admin-top-actions a { color: #f6e8c3; text-decoration: none; font-size: .9rem; }
.admin-top-actions a:hover { color: var(--a-gold); }
.admin-user { color: #c9bea6; font-size: .85rem; }
.admin-shell { display: flex; min-height: calc(100vh - 60px); }
.admin-side { width: 230px; flex: 0 0 230px; background: #fff; border-right: 1px solid var(--a-line); padding: 1rem .5rem; }
.admin-side .nav-link { color: #333; border-radius: 6px; padding: .45rem .8rem; }
.admin-side .nav-link:hover { background: #f1ede2; }
.admin-side .nav-link.active { background: var(--a-green-2); color: #fff; }
.admin-side .nav-heading { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: #8a8270; padding: 1rem .8rem .3rem; }
.admin-main { flex: 1; padding: 1.75rem; min-width: 0; }
@media (max-width: 991.98px) {
    .admin-shell { flex-direction: column; }
    .admin-side { width: 100%; flex-basis: auto; border-right: 0; border-bottom: 1px solid var(--a-line); }
    .admin-main { padding: 1.25rem 1rem; }
}
.admin-head { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.admin-head h1 { margin: 0; font-size: 1.8rem; color: var(--a-green); }
.admin-head-actions { display: flex; gap: .5rem; }
.admin-intro { color: #6b6455; margin: .25rem 0 0; max-width: 60ch; }
.btn-gold { background: var(--a-gold); border-color: var(--a-gold); color: #1b1b1b; font-weight: 700; }
.btn-gold:hover, .btn-gold:focus { background: #d9a23a; border-color: #d9a23a; color: #000; }
.admin-search { display: flex; gap: .5rem; max-width: 520px; margin-bottom: 1rem; }
.admin-table { background: #fff; border: 1px solid var(--a-line); border-radius: 8px; }
.admin-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #6b6455; background: #faf8f2; }
.admin-thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 50%; }
.admin-count { color: #8a8270; font-size: .85rem; margin-top: .5rem; }
.admin-empty, .admin-card { background: #fff; border: 1px solid var(--a-line); border-radius: 8px; padding: 1.5rem; }
.admin-empty { text-align: center; }
.admin-form { background: #fff; border: 1px solid var(--a-line); border-radius: 8px; padding: 1.5rem; }
.admin-form .req { color: #b4442f; }
.admin-form-actions { display: flex; gap: .5rem; margin-top: 1.5rem; }
.admin-image-field { display: flex; gap: 1rem; align-items: flex-start; }
.admin-image-preview { width: 110px; height: 110px; object-fit: cover; border-radius: 8px; border: 1px solid var(--a-line); }
.admin-details { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: .6rem 1.25rem; margin: 0; }
.admin-details dt { color: #6b6455; font-weight: 400; }
.admin-details dd { margin: 0; }
@media (max-width: 575.98px) { .admin-details { grid-template-columns: 1fr; } .admin-details dd { margin-bottom: .5rem; } }
.admin-tile { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--a-line); border-left: 4px solid var(--a-green-2); border-radius: 8px; padding: 1.1rem 1.25rem; text-decoration: none; color: inherit; transition: box-shadow .15s; }
.admin-tile:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); color: inherit; }
.admin-tile.attention { border-left-color: var(--a-gold); }
.admin-tile-value { font-family: "Oswald", sans-serif; font-size: 2.2rem; line-height: 1; color: var(--a-green); }
.admin-tile-label { font-weight: 700; margin-top: .3rem; }
.admin-tile-note { color: #8a8270; font-size: .85rem; margin-top: auto; padding-top: .5rem; }
.admin-upload { margin-bottom: 1rem; }
.admin-gallery { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.admin-gallery figure { margin: 0; background: #fff; border: 1px solid var(--a-line); border-radius: 8px; overflow: hidden; }
.admin-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.admin-gallery figcaption { display: flex; justify-content: space-between; align-items: center; padding: .4rem .5rem; font-size: .85rem; }
.admin-login { max-width: 400px; margin: 3rem auto; background: #fff; border: 1px solid var(--a-line); border-radius: 10px; padding: 2rem; text-align: center; }
.admin-login form { text-align: left; }
.admin-login h1 { color: var(--a-green); margin: 1rem 0 1.25rem; }
