/* ── Design tokens ── */
:root {
    --ocean-deep:  #001f3f;
    --ocean-mid:   #0a4f70;
    --ocean-light: #2e8b9e;
    --seafoam:     #7ec8bf;
    --coral:       #ff6b6b;
    --sand:        #f4e8d0;
    --text-light:  #ffffff;
    --text-dark:   #001f3f;
    --navbar-h:    52px;
    --admin-gold:  #f0c040;
}

/* ── Reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Archivo', sans-serif;
    overflow-x: hidden;
    position: relative;
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Background ── */
#dynamic-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg,
        rgba(0, 31, 63, 0.85) 0%,
        rgba(10, 79, 112, 0.75) 50%,
        rgba(46, 139, 158, 0.65) 100%);
    z-index: 2;
}

/* ── Bubbles ── */
.bubbles {
    position: fixed;
    width: 100%; height: 100%;
    z-index: 3;
    overflow: hidden;
    top: 0; left: 0;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: radial-gradient(circle at 30% 30%,
        rgba(255,255,255,0.3),
        rgba(126,200,191,0.1));
    border-radius: 50%;
    opacity: 0.5;
    animation: rise 15s infinite ease-in;
}

.bubble:nth-child(1) { left: 10%; width: 25px; height: 25px; animation-delay: 0s;   animation-duration: 12s; }
.bubble:nth-child(2) { left: 20%; width: 35px; height: 35px; animation-delay: 2s;   animation-duration: 14s; }
.bubble:nth-child(3) { left: 35%; width: 20px; height: 20px; animation-delay: 4s;   animation-duration: 10s; }
.bubble:nth-child(4) { left: 50%; width: 30px; height: 30px; animation-delay: 1s;   animation-duration: 13s; }
.bubble:nth-child(5) { left: 65%; width: 45px; height: 45px; animation-delay: 3s;   animation-duration: 15s; }
.bubble:nth-child(6) { left: 80%; width: 28px; height: 28px; animation-delay: 5s;   animation-duration: 11s; }
.bubble:nth-child(7) { left: 90%; width: 22px; height: 22px; animation-delay: 0.5s; animation-duration: 12s; }

@keyframes rise {
    0%   { bottom: -100px; transform: translateX(0)     rotate(0deg);   opacity: 0; }
    10%  {                                                                opacity: 0.5; }
    90%  {                                                                opacity: 0.3; }
    100% { bottom: 110vh;  transform: translateX(100px) rotate(360deg); opacity: 0; }
}

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    height: var(--navbar-h);
    background: rgba(0, 15, 35, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(126, 200, 191, 0.15);
}

.nav-brand img {
    height: 32px;
    width: auto;
}

.nav-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: nowrap;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1.1rem;
    border: 1.5px solid rgba(126, 200, 191, 0.45);
    border-radius: 8px;
    color: var(--seafoam);
    text-decoration: none;
    font-family: 'Archivo', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    transition: all 0.25s ease;
    background: rgba(126, 200, 191, 0.08);
    cursor: pointer;
}

.nav-btn:hover {
    background: rgba(126, 200, 191, 0.2);
    border-color: var(--seafoam);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(126, 200, 191, 0.3);
    transform: translateY(-1px);
}

/* ── Shared form styles ── */
.container {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: calc(var(--navbar-h) + 1.5rem) 1.25rem 2rem;
    text-align: center;
}

.card, .glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem 2.5rem 2rem;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1.2rem;
}

.card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.35rem;
}

.card .subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 0.75rem;
}

.form-row .form-group { flex: 1; }

.form-group {
    margin-bottom: 0.9rem;
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--text-light);
    font-size: 0.78rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.input-wrap { position: relative; }

.input-wrap i.field-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    pointer-events: none;
    transition: color 0.2s;
}

.input-wrap:focus-within i.field-icon { color: var(--seafoam); }

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 0.9rem;
    color: var(--text-light);
    transition: all 0.3s ease;
    font-family: 'Archivo', sans-serif;
}

.form-group input[type="password"] {
    font-family: Verdana, sans-serif;
    -webkit-text-security: disc;
}

.form-group input::placeholder { color: rgba(255, 255, 255, 0.35); }

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--seafoam);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(126, 200, 191, 0.2);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-group select option {
    background: var(--ocean-deep);
    color: var(--text-light);
}

.input-wrap .select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    pointer-events: none;
}

/* ── Buttons ── */
.btn-primary {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--coral) 0%, #ff8787 100%);
    border: none;
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Archivo', sans-serif;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.6);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    width: 100%;
    padding: 0.85rem;
    background: transparent;
    border: 2px solid rgba(126, 200, 191, 0.5);
    border-radius: 10px;
    color: var(--seafoam);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Archivo', sans-serif;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(126, 200, 191, 0.15);
    border-color: var(--seafoam);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(126, 200, 191, 0.25);
}

/* ── Divider ── */
.divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

/* ── Forgot link ── */
.forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.4rem;
    margin-bottom: 1.2rem;
}

.forgot-link {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}

.forgot-link:hover { color: var(--seafoam); }

/* ── Alerts ── */
.alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.2rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.alert-error {
    background: rgba(255, 107, 107, 0.3);
    border: 2px solid var(--coral);
}

.alert-success {
    background: rgba(126, 200, 191, 0.25);
    border: 2px solid var(--seafoam);
}

/* ── Terms note ── */
.terms-note {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    margin-top: 0.75rem;
    line-height: 1.5;
}

.terms-note a { color: var(--seafoam); text-decoration: none; }
.terms-note a:hover { text-decoration: underline; }

@media (max-width: 480px) {
    .card { padding: 1.5rem 1.25rem 1.25rem; }
    .form-row { flex-direction: column; gap: 0; }
    .card h2 { font-size: 1.35rem; }
    .card .subtitle { font-size: 0.82rem; }
}

/* ── Hamburger menu ── */
.nav-hamburger {
    display: none;
    background: none;
    border: 1.5px solid rgba(126,200,191,0.4);
    border-radius: 8px;
    color: var(--seafoam);
    width: 40px;
    height: 36px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s;
    flex-shrink: 0;
}
.nav-hamburger:hover {
    background: rgba(126,200,191,0.15);
    border-color: var(--seafoam);
}

.nav-drawer {
    display: none;
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    right: 0;
    background: rgba(0,12,28,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(126,200,191,0.15);
    z-index: 99;
    flex-direction: column;
    padding: 0.75rem 1rem 1rem;
    gap: 0.5rem;
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-btn {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1rem;
}

@media (max-width: 600px) {
    .nav-hamburger { display: flex; }
    .nav-actions { display: none !important; }
}

/* ── Signout button ── */

.nav-btn--signout {
    border-color: rgba(255, 107, 107, 0.4);
    color: rgba(255, 107, 107, 0.8);
    background: rgba(255, 107, 107, 0.06);
}

.nav-btn--signout:hover {
    background: rgba(255, 107, 107, 0.15);
    border-color: var(--coral);
    color: #ffffff;
    box-shadow: 0 0 16px rgba(255, 107, 107, 0.3);
}

/* Messages nav button + unread badge */
.nav-btn--messages {
    position: relative;
    padding: 0.45rem 0.75rem;
}

/* Alert state — coral border + bg + pulse when unread messages exist */
.nav-btn--messages-alert {
    border-color: var(--coral) !important;
    color: var(--coral) !important;
    background: rgba(255, 107, 107, 0.12) !important;
    animation: nav-msg-pulse 2.5s ease-in-out infinite;
}
.nav-btn--messages-alert:hover {
    background: rgba(255, 107, 107, 0.22) !important;
    box-shadow: 0 0 16px rgba(255, 107, 107, 0.35) !important;
}

@keyframes nav-msg-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
    50%       { box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2); }
}

.nav-msg-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--coral);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.18rem 0.38rem;
    border-radius: 10px;
    border: 2px solid rgba(0, 15, 35, 0.8);
    pointer-events: none;
}

/* Mobile unread alert icon — sits left of hamburger, hidden on desktop */
.nav-unread-alert {
    display: none;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    color: var(--coral);
    background: rgba(255, 107, 107, 0.12);
    border: 1.5px solid rgba(255, 107, 107, 0.5);
    border-radius: 8px;
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 700;
    animation: nav-msg-pulse 2.5s ease-in-out infinite;
}
.nav-unread-alert-count {
    font-size: 0.8rem;
    font-weight: 700;
}
@media (max-width: 600px) {
    .nav-unread-alert { display: flex; }
}

/* ============================================================
   Admin Panel Styles
   ============================================================ */

/* ── Admin page wrapper ── */
.admin-wrap {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: calc(var(--navbar-h) + 2rem) 1.5rem 3rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.admin-grid {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* ── Page title ── */
.admin-page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.admin-page-title i { color: #f0c040; }

.admin-page-subtitle {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}

/* ── Admin cards ── */
.admin-card {
    background: rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    overflow: visible;
}

.admin-card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 16px 16px 0 0;
}

.admin-card-header i { color: #f0c040; font-size: 0.9rem; }

.admin-card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin: 0;
}

.admin-card-body { padding: 1.5rem; }

/* ── Panel button grid ── */
.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.panel-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Archivo', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.25s ease;
    cursor: pointer;
}

.panel-btn i {
    font-size: 1.6rem;
    color: var(--seafoam);
    transition: color 0.25s;
}

.panel-btn:hover {
    background: rgba(126,200,191,0.12);
    border-color: rgba(126,200,191,0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.panel-btn:hover i { color: #fff; }

.panel-btn--disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

/* ── Member search ── */
.search-wrap { position: relative; }

.search-results {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: #0e2d50;
    border: 1.5px solid rgba(126,200,191,0.55);
    border-radius: 10px;
    z-index: 200;
    max-height: 260px;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.search-results.open { display: block; }

.search-result-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background 0.15s;
    color: #fff;
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: rgba(126,200,191,0.1); }

.sri-username { font-weight: 600; color: var(--seafoam); font-size: 0.9rem; }
.sri-name { color: rgba(255,255,255,0.55); font-size: 0.8rem; }
.sri-state { margin-left: auto; color: rgba(255,255,255,0.3); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; }

.search-no-results {
    padding: 1rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.88rem;
    text-align: center;
}

/* ── Member detail ── */
.member-detail { display: none; }
.member-detail.open { display: block; margin-top: 1.25rem; }

.member-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge-active   { background: rgba(126,200,191,0.15); border: 1px solid rgba(126,200,191,0.4); color: var(--seafoam); }
.badge-inactive { background: rgba(255,107,107,0.15); border: 1px solid rgba(255,107,107,0.4); color: var(--coral); }
.badge-admin    { background: rgba(240,192,64,0.15);  border: 1px solid rgba(240,192,64,0.4);  color: #f0c040; }
.badge-unverified { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.5); }

.member-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

/* ── Disable section ── */
.disable-section {
    border: 1.5px solid rgba(255,107,107,0.25);
    border-radius: 12px;
    padding: 1.25rem;
    background: rgba(255,107,107,0.04);
    margin-top: 1rem;
}

.disable-section h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: rgba(255,107,107,0.85);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-sm {
    padding: 0.45rem 1rem !important;
    font-size: 0.8rem !important;
    width: auto !important;
    margin: 0 !important;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s;
}

.alert-warning {
    background: rgba(240,192,64,0.15);
    border: 2px solid rgba(240,192,64,0.5);
    color: #f0c040;
}

/* ── Admin responsive ── */
@media (max-width: 600px) {
    .admin-wrap { padding: calc(var(--navbar-h) + 1rem) 1rem 2rem; }
    .admin-card-body { padding: 1rem; }
    .panel-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Input wrap helper text ── */
.helper-text {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    margin-top: 0.3rem;
    line-height: 1.4;
}

/* ── Blog — public listing page ── */
.blog-wrap {
    position: relative;
    z-index: 10;
    flex: 1;
    padding: calc(var(--navbar-h) + 2.5rem) 1.5rem 5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.blog-inner {
    width: 100%;
    max-width: 1080px;
}

.blog-hero {
    text-align: center;
    margin-bottom: 3.5rem;
}

.blog-hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.blog-hero-title i {
    color: var(--seafoam);
    margin-right: 0.4rem;
}

.blog-hero-sub {
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-empty {
    text-align: center;
    padding: 5rem 2rem;
    color: rgba(255,255,255,0.3);
}

.blog-empty i  { font-size: 3rem; margin-bottom: 1rem; display: block; }
.blog-empty p  { font-size: 1.1rem; }

/* ── Blog card list ── */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    min-height: 300px;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.blog-card:hover {
    border-color: rgba(126,200,191,0.35);
    box-shadow: 0 8px 48px rgba(0,0,0,0.4);
}

/* Image on right side: reverse column order visually with direction trick */
.blog-card--right {
    direction: rtl;
}
.blog-card--right > * {
    direction: ltr;
}

.blog-card-image-wrap {
    display: block;
    overflow: hidden;
    text-decoration: none;
}

.blog-card-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
    position: relative;
}

.blog-card:hover .blog-card-image {
    transform: scale(1.04);
}

.blog-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,31,63,0.2) 0%, transparent 60%);
    pointer-events: none;
}

.blog-card-image--placeholder {
    background: linear-gradient(135deg, rgba(10,79,112,0.4) 0%, rgba(0,31,63,0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image--placeholder i {
    font-size: 3.5rem;
    color: rgba(126,200,191,0.25);
}

.blog-card-body {
    padding: 2.25rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.38);
    font-family: 'Archivo', sans-serif;
    letter-spacing: 0.04em;
}

.blog-card-meta i {
    margin-right: 0.3rem;
    color: var(--seafoam);
    opacity: 0.7;
}

.blog-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
}

.blog-card-title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-card-title a:hover { color: var(--seafoam); }

.blog-card-excerpt {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--seafoam);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: gap 0.2s, opacity 0.2s;
    margin-top: 0.25rem;
}

.blog-card-readmore:hover { gap: 0.7rem; opacity: 0.85; }

@media (max-width: 700px) {
    .blog-card {
        grid-template-columns: 1fr;
        direction: ltr !important;
        min-height: auto;
    }
    .blog-card--right { direction: ltr; }
    .blog-card > * { direction: ltr !important; }
    .blog-card-image,
    .blog-card-image-wrap { min-height: 210px; }
    .blog-card-body { padding: 1.5rem 1.25rem; }
}

/* ── Article detail page ── */
.article-wrap {
    position: relative;
    z-index: 10;
    flex: 1;
    padding: calc(var(--navbar-h) + 2rem) 1.5rem 5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.article-inner {
    width: 100%;
    max-width: 780px;
}

.article-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 2rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.article-hero--no-img {
    min-height: auto;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2rem 2.25rem;
}

.article-hero-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.article-hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,10,28,0.93) 0%,
        rgba(0,10,28,0.4)  55%,
        rgba(0,0,0,0.1)    100%
    );
}

.article-hero-content {
    position: relative;
    z-index: 1;
    padding: 2.25rem 2.25rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.article-hero--no-img .article-hero-content {
    padding: 0;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    color: var(--seafoam);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s, gap 0.2s;
    letter-spacing: 0.03em;
    width: fit-content;
}

.article-back:hover { opacity: 1; gap: 0.6rem; }

.article-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.55rem, 4vw, 2.3rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    font-family: 'Archivo', sans-serif;
}

.article-meta i {
    color: var(--seafoam);
    opacity: 0.7;
    margin-right: 0.3rem;
}

.article-body-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 2.25rem 2.5rem;
}

.article-body {
    color: rgba(255,255,255,0.78);
    font-family: 'Archivo', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
}

.article-body p     { margin: 0 0 1.4em; }
.article-body h2    {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 2em 0 0.65em;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    letter-spacing: -0.01em;
}
.article-body h3    {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin: 1.5em 0 0.5em;
}
.article-body ul,
.article-body ol    { padding-left: 1.5rem; margin: 0 0 1.4em; color: rgba(255,255,255,0.7); }
.article-body li    { margin-bottom: 0.4em; line-height: 1.65; }
.article-body a     { color: var(--seafoam); text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: rgba(255,255,255,0.92); font-weight: 700; }
.article-body blockquote {
    margin: 1.5em 0;
    padding: 1rem 1.5rem;
    background: rgba(126,200,191,0.07);
    border-left: 3px solid var(--seafoam);
    border-radius: 0 10px 10px 0;
    color: rgba(255,255,255,0.65);
    font-style: italic;
}

.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.article-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.article-nav-link:hover {
    border-color: rgba(126,200,191,0.3);
    background: rgba(126,200,191,0.05);
}

.article-nav-link--next { text-align: right; }

.article-nav-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--seafoam);
    font-family: 'Outfit', sans-serif;
    opacity: 0.8;
}

.article-nav-title {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-family: 'Archivo', sans-serif;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer-cta {
    margin-top: 1.75rem;
    text-align: center;
}

@media (max-width: 600px) {
    .article-hero-content,
    .article-body-card { padding: 1.5rem 1.25rem; }
    .article-nav { grid-template-columns: 1fr; }
    .article-hero--no-img { padding: 1.5rem 1.25rem; }
}

/* ── Admin blog management table ── */
.blog-admin-table {
    width: 100%;
    border-collapse: collapse;
}

.blog-admin-table th {
    padding: 0.75rem 1.25rem;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.35);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.blog-admin-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    vertical-align: middle;
}

.blog-admin-table tr:last-child td { border-bottom: none; }
.blog-admin-table tr:hover td { background: rgba(255,255,255,0.02); }

.blog-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    border: 2px dashed rgba(255,255,255,0.15);
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
    background: rgba(255,255,255,0.02);
}

.blog-upload-label:hover {
    border-color: rgba(126,200,191,0.4);
    background: rgba(126,200,191,0.04);
    color: rgba(255,255,255,0.7);
}

.blog-upload-label i    { font-size: 2rem; color: var(--seafoam); opacity: 0.6; }
.blog-upload-label small { font-size: 0.72rem; color: rgba(255,255,255,0.3); }

/* ═══════════════════════════════════════════════════════════════════════════
   Contact & Feedback — contact.php / feedback.php / admin/contact.php
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Shared btn helpers (used by contact admin + form) ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; cursor: pointer; font-family: 'Outfit', sans-serif; text-decoration: none; transition: all 0.2s ease; border: none; }

.btn-lg     { padding: 0.75rem 1.8rem; font-size: 1rem; }

.btn-green  { background: rgba(80,200,120,.2); color: #50c878; border: 1px solid rgba(80,200,120,.4); }
.btn-green:hover { background: rgba(80,200,120,.35); }

.btn-ghost  { background: rgba(255,255,255,.06); color: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.12); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn-danger { background: rgba(255,107,107,.15); color: var(--coral); border: 1px solid rgba(255,107,107,.3); }
.btn-danger:hover { background: rgba(255,107,107,.3); }

.btn-active { background: var(--admin-gold) !important; color: var(--ocean-deep) !important; font-weight: 700; }

.btn-outline {
    background: transparent;
    border: 2px solid var(--seafoam);
    color: var(--seafoam);
    padding: 0.4rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.btn-outline:hover { background: rgba(126,200,191,.12); }

/* ── Shared badges ── */
.badge-grey  { background: rgba(255,255,255,.08); color: rgba(255,255,255,.4); padding: .2rem .5rem; border-radius: 5px; font-size: .78rem; }
.badge-green { background: rgba(80,200,120,.2); color: #50c878; padding: .2rem .5rem; border-radius: 5px; font-size: .78rem; }

/* ── Alert ── */
.alert { border-radius: 10px; padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.alert-error { background: rgba(255,107,107,.12); border: 1px solid rgba(255,107,107,.3); color: #ff9999; }
.alert-error p { margin: 0; font-size: .9rem; }

/* ── Contact page ── */
.contact-page { max-width: 760px; margin: 0 auto; padding: 2rem 1rem 4rem; }
.contact-hero { text-align: center; margin-bottom: 2rem; }
.contact-hero h1 { font-family: 'Outfit', sans-serif; font-size: 2.2rem; color: var(--sand); margin: 0 0 .5rem; }
.contact-hero p  { color: rgba(255,255,255,.7); margin: 0; }

.contact-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-type-card {
    background: rgba(255,255,255,.06);
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 1.4rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    color: var(--sand);
}
.contact-type-card:hover  { background: rgba(255,255,255,.1); border-color: var(--seafoam); }
.contact-type-card.active { background: rgba(126,200,191,.12); border-color: var(--seafoam); box-shadow: 0 0 0 3px rgba(126,200,191,.2); }
.cat-icon  { font-size: 2rem; }
.cat-label { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem; }
.cat-desc  { font-size: .8rem; color: rgba(255,255,255,.5); }

.contact-form  { background: rgba(255,255,255,.05); border-radius: 14px; padding: 2rem; }
.form-section  { margin-bottom: 1.8rem; }
.form-section h3 { font-family: 'Outfit', sans-serif; color: var(--seafoam); margin: 0 0 1rem; font-size: 1rem; }

/* Override card .form-row gap for contact page's simpler label/input rows */
.contact-form .form-row { display: block; margin-bottom: 1rem; }
.contact-form .form-row label { display: block; font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: .35rem; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="url"],
.contact-form textarea {
    width: 100%;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 8px;
    padding: .65rem .9rem;
    color: #fff;
    font-family: 'Archivo', sans-serif;
    font-size: .95rem;
    transition: border-color .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--seafoam); }
.contact-form textarea { resize: vertical; min-height: 120px; }

.optional { color: rgba(255,255,255,.35); font-size: .8rem; }
.required  { color: var(--coral); }
.form-actions { text-align: right; }

.sentiment-toggle { display: flex; gap: 1rem; }
.sentiment-opt    { display: flex; align-items: center; gap: .5rem; cursor: pointer; }
.sentiment-opt input { display: none; }
.sentiment-opt span {
    padding: .6rem 1.4rem;
    border-radius: 40px;
    border: 2px solid rgba(255,255,255,.2);
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all .2s;
    color: var(--sand);
}
.sentiment-opt input:checked + span { border-color: var(--seafoam); background: rgba(126,200,191,.15); }
.love-opt input:checked + span { border-color: #ff8a8a; background: rgba(255,107,107,.1); }

.contact-success { text-align: center; padding: 3rem 2rem; background: rgba(255,255,255,.05); border-radius: 14px; }
.success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.contact-success h2 { font-family: 'Outfit', sans-serif; color: var(--seafoam); }
.contact-success p  { color: rgba(255,255,255,.7); }

.guess-hint  { font-size: .9rem; color: rgba(255,255,255,.6); font-weight: normal; }
.guess-hint strong { color: var(--seafoam); }
.guess-hint a { color: var(--seafoam); }

/* ── Feedback public wall ── */
.feedback-page  { max-width: 900px; margin: 0 auto; padding: 2rem 1rem 4rem; }
.feedback-hero  { text-align: center; margin-bottom: 2rem; }
.feedback-hero h1 { font-family: 'Outfit', sans-serif; font-size: 2.2rem; color: var(--sand); margin: 0 0 .5rem; }
.feedback-hero p  { color: rgba(255,255,255,.6); margin-bottom: 1rem; }

.feedback-filters { display: flex; gap: .6rem; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; }
.filter-btn {
    padding: .4rem 1.1rem;
    border-radius: 30px;
    border: 2px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: .9rem;
    transition: all .2s;
}
.filter-btn:hover,
.filter-btn.active      { border-color: var(--seafoam); color: var(--seafoam); background: rgba(126,200,191,.1); }
.filter-btn.love.active { border-color: #ff8a8a; color: #ff8a8a; background: rgba(255,107,107,.08); }
.filter-btn.hate.active { border-color: #a78bfa; color: #a78bfa; background: rgba(167,139,250,.08); }

.feedback-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }

.feedback-card {
    background: rgba(255,255,255,.05);
    border-radius: 12px;
    padding: 1.3rem;
    border-left: 4px solid transparent;
    transition: transform .2s;
}
.feedback-card:hover { transform: translateY(-2px); }
.feedback-card.love  { border-left-color: #ff8a8a; }
.feedback-card.hate  { border-left-color: #a78bfa; }
.feedback-card h3    { font-family: 'Outfit', sans-serif; font-size: 1rem; color: var(--sand); margin: .7rem 0 .5rem; }
.feedback-card p     { font-size: .9rem; color: rgba(255,255,255,.65); margin: 0; line-height: 1.6; }

.fb-header  { display: flex; align-items: center; gap: .7rem; }
.fb-avatar  {
    width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
    background: var(--ocean-mid); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.fb-avatar img  { width: 100%; height: 100%; object-fit: cover; }
.fb-avatar span { font-family: 'Outfit', sans-serif; font-weight: 700; color: var(--seafoam); }
.fb-meta        { flex: 1; }
.fb-meta strong { display: block; font-size: .9rem; color: var(--sand); }
.fb-meta time   { font-size: .78rem; color: rgba(255,255,255,.4); }
.fb-sentiment   { font-size: 1.3rem; }

/* ── Shared pagination ── */
.pagination,
.admin-pagination {
    display: flex;
    gap: .4rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.page-btn {
    padding: .4rem .85rem;
    border-radius: 6px;
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.7);
    text-decoration: none;
    transition: all .2s;
}
.page-btn:hover,
.page-btn.active { background: var(--seafoam); color: var(--ocean-deep); font-weight: 600; }

/* ── Admin contact tabs ── */
.contact-tabs {
    display: flex;
    gap: .4rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid rgba(255,255,255,.1);
    padding-bottom: 0;
}
.contact-tab {
    padding: .55rem 1.1rem;
    border-radius: 8px 8px 0 0;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: .9rem;
    display: flex; align-items: center; gap: .4rem;
    border: 2px solid transparent;
    border-bottom: none;
    transition: all .15s;
    position: relative; bottom: -2px;
}
.contact-tab:hover  { color: var(--admin-gold); }
.contact-tab.active { background: rgba(240,192,64,.08); border-color: rgba(240,192,64,.3); color: var(--admin-gold); border-bottom-color: transparent; }

.unread-badge {
    background: var(--coral); color: #fff;
    border-radius: 12px; font-size: .7rem;
    padding: .1rem .45rem; font-weight: 700;
}

/* ── Contact cards (admin) ── */
.contact-list { display: flex; flex-direction: column; gap: 1rem; }

.contact-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    padding: 1.2rem 1.3rem;
    transition: border-color .2s;
}
.contact-card.unread          { border-left: 4px solid var(--admin-gold); background: rgba(240,192,64,.04); }
.contact-card.sentiment-love  { border-left-color: #ff8a8a; }
.contact-card.sentiment-hate  { border-left-color: #a78bfa; }

.cc-header   { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .6rem; flex-wrap: wrap; gap: .5rem; }
.cc-identity { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.cc-identity strong { font-family: 'Outfit', sans-serif; color: var(--sand); }
.cc-email  { font-size: .82rem; color: var(--seafoam); text-decoration: none; }
.cc-email:hover { text-decoration: underline; }
.cc-phone  { font-size: .82rem; color: rgba(255,255,255,.5); }
.cc-ip     { font-size: .78rem; color: rgba(255,255,255,.35); font-family: monospace; }
.cc-meta   { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.cc-meta time { font-size: .8rem; color: rgba(255,255,255,.4); }

.guess-tag {
    font-size: .78rem;
    background: rgba(126,200,191,.15);
    color: var(--seafoam);
    padding: .15rem .5rem;
    border-radius: 4px;
}

.contact-card h4  { margin: 0 0 .5rem; font-family: 'Outfit', sans-serif; color: #fff; font-size: 1rem; }
.cc-message       { font-size: .9rem; color: rgba(255,255,255,.65); white-space: pre-wrap; margin: 0 0 .8rem; line-height: 1.6; }
.bug-url          { display: inline-block; font-size: .82rem; color: var(--seafoam); text-decoration: none; margin-bottom: .6rem; word-break: break-all; }
.btn-reply        { font-weight: 600; }

.cc-admin-note {
    background: rgba(240,192,64,.08);
    border-left: 3px solid var(--admin-gold);
    border-radius: 0 6px 6px 0;
    padding: .5rem .8rem;
    font-size: .85rem; color: rgba(255,255,255,.7);
    margin-bottom: .8rem;
}

.cc-actions { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }

.cc-note-form { margin-top: .8rem; }
.cc-note-form textarea {
    width: 100%;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    padding: .5rem .7rem;
    color: #fff; font-size: .88rem;
    resize: vertical; margin-bottom: .4rem;
}

.inline-form { display: inline-flex; align-items: center; gap: .4rem; }
.inline-form select {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    padding: .35rem .6rem;
    color: #fff; font-size: .85rem; cursor: pointer;
}

/* Bug status badges */
.bug-status-badge,
.priority-badge {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 5px;
    font-size: .78rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}
.status-logged        { background: rgba(126,200,191,.2); color: var(--seafoam); }
.status-more-info     { background: rgba(255,165,0,.2);   color: #ffa500; }
.status-investigating { background: rgba(100,149,237,.2); color: #6495ed; }
.status-fixed         { background: rgba(80,200,120,.2);  color: #50c878; }
.status-future        { background: rgba(167,139,250,.2); color: #a78bfa; }

/* Feature priority card accents */
.priority-urgent      { border-left: 4px solid #ff4444 !important; }
.priority-great       { border-left: 4px solid #ff8c00 !important; }
.priority-nice        { border-left: 4px solid #4caf50 !important; }
.priority-investigate { border-left: 4px solid #6495ed !important; }
.priority-neutral     { border-left: 4px solid rgba(255,255,255,.25) !important; }
.priority-meh         { border-left: 4px solid rgba(255,255,255,.1) !important; }
.priority-dumb        { border-left: 4px solid #555 !important; opacity: .6; }

.priority-badge.priority-urgent      { background: rgba(255,68,68,.2);   color: #ff6b6b; }
.priority-badge.priority-great       { background: rgba(255,140,0,.2);   color: #ffa500; }
.priority-badge.priority-nice        { background: rgba(76,175,80,.2);   color: #81c784; }
.priority-badge.priority-investigate { background: rgba(100,149,237,.2); color: #6495ed; }
.priority-badge.priority-neutral     { background: rgba(255,255,255,.08); color: rgba(255,255,255,.5); }
.priority-badge.priority-meh         { background: rgba(255,255,255,.05); color: rgba(255,255,255,.35); }
.priority-badge.priority-dumb        { background: rgba(100,100,100,.2); color: rgba(255,255,255,.3); }

.contact-toolbar  { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; flex-wrap: wrap; gap: .6rem; }
.filter-btns      { display: flex; gap: .4rem; flex-wrap: wrap; }
.toolbar-hint     { font-size: .85rem; color: rgba(255,255,255,.4); }
.tab-info         { font-size: .9rem; color: rgba(255,255,255,.5); margin-bottom: 1.2rem; }
.empty-contact    { text-align: center; padding: 3rem; color: rgba(255,255,255,.3); }

.empty-state      { text-align: center; padding: 4rem 2rem; color: rgba(255,255,255,.5); }

/* ── Responsive ── */
@media (max-width: 600px) {
    .contact-type-grid { grid-template-columns: 1fr 1fr; }
    .contact-form      { padding: 1.25rem; }
    .sentiment-toggle  { flex-direction: column; }
    .feedback-grid     { grid-template-columns: 1fr; }
    .contact-tabs      { flex-wrap: wrap; gap: .3rem; }
    .contact-tab       { font-size: .8rem; padding: .4rem .75rem; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   Site Footer — footer.php (included on public pages)
   ═══════════════════════════════════════════════════════════════════════════ */

.site-footer {
    position: relative;
    z-index: 10;
    background: rgba(0, 10, 25, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(126, 200, 191, 0.12);
    margin-top: auto;
    padding: 3rem 2rem 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

/* ── Main columns ── */
.footer-cols {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Brand column */
.footer-brand .footer-logo {
    height: 38px;
    width: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.65;
    max-width: 220px;
}

/* Column headings */
.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

/* Links */
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-col ul li a {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-col ul li a:hover {
    color: var(--seafoam);
}

/* Social icons */
.footer-col ul li a .footer-social-icon {
    width: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: color 0.2s;
}

.footer-col ul li a:hover .footer-social-icon {
    color: var(--seafoam);
}

/* ── Bottom bar ── */
.footer-bottom {
    padding: 1.1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
}

.footer-bottom-host {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.28);
}

.footer-bottom-host a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-bottom-host a:hover { color: var(--seafoam); }

/* ── Responsive ── */
@media (max-width: 900px) {
    .footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-brand p { max-width: 100%; }
}

@media (max-width: 560px) {
    .site-footer { padding: 2rem 1.25rem 0; }
    .footer-cols {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1.25rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-col h4 { margin-bottom: 0.75rem; }
    .footer-col ul { gap: 0.45rem; }
    .footer-col ul li a { font-size: 0.82rem; }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 360px) {
    .footer-cols { grid-template-columns: 1fr; }
}
