/* =============================================
   Admin Panel Stylesheet – Light Theme
   AVC Beach Tour – 25th Samila Open 2026
   ============================================= */

/* ── Admin Key Button in Nav ── */
.nav-admin-key {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0 !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.08) !important;
    color: rgba(255,255,255,.5) !important;
    font-size: .85rem !important;
    transition: all .3s cubic-bezier(.4,0,.2,1) !important;
    margin-left: 8px;
}
.nav-admin-key:hover {
    background: rgba(221,103,3,.2) !important;
    color: var(--orange) !important;
    transform: rotate(-15deg);
}
.nav-admin-key.nav-active {
    color: var(--orange) !important;
    background: rgba(221,103,3,.15) !important;
}

/* ── Admin Main ── */
.admin-main {
    position: relative;
    z-index: 2;
    background: #f4f5f7;
    padding: 40px 0 80px;
}
.container {
    max-width: 1200px;
}

.login-card {
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(0,0,0,.1);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}
.login-icon {
    font-size: 3rem;
    color: #dd6703;
    margin-bottom: 16px;
}
.login-card h2 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: .03em;
}
.login-error {
    background: rgba(239,68,68,.08);
    border: 1px solid rgba(239,68,68,.25);
    color: #dc2626;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: .85rem;
    margin-bottom: 20px;
}
.login-form { text-align: left; }
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: .8rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.form-group input {
    width: 100%;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: .95rem;
    font-family: var(--font);
    transition: .25s;
}
.form-group input:focus {
    outline: none;
    border-color: #dd6703;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(221,103,3,.1);
}
.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #dd6703, #e8920d);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
    margin-top: 8px;
}
.login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(221,103,3,.3);
}

/* ── Admin Top Bar ── */
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.admin-topbar-right {
    display: flex;
    gap: 10px;
    align-items: center;
}
.btn-view-page, .btn-save, .btn-logout, .btn-add, .btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: .25s;
    font-family: var(--font);
    text-decoration: none;
}
.btn-view-page {
    background: #fff;
    color: #555;
    border: 1px solid #d1d5db;
}
.btn-view-page:hover { background: #f3f4f6; color: #1a1a1a; }
.btn-save {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
}
.btn-save:hover { box-shadow: 0 4px 16px rgba(16,185,129,.3); transform: translateY(-1px); }
.btn-save:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.btn-logout {
    background: #fff;
    color: #dc2626;
    border: 1px solid rgba(239,68,68,.25);
}
.btn-logout:hover { background: rgba(239,68,68,.06); }
.btn-add {
    background: #fff;
    color: #dd6703;
    border: 1px solid rgba(221,103,3,.25);
}
.btn-add:hover { background: rgba(221,103,3,.06); }
.btn-cancel {
    background: #fff;
    color: #555;
    border: 1px solid #d1d5db;
}
.btn-cancel:hover { background: #f3f4f6; }

/* ── Admin Tabs ── */
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 24px;
    justify-content: center;
}
.admin-tab-btn {
    padding: 10px 18px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px 8px 0 0;
    color: #777;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    font-family: var(--font);
}
.admin-tab-btn.active {
    background: #fff;
    color: #dd6703;
    border-bottom-color: #fff;
    box-shadow: 0 -2px 0 #dd6703 inset;
}
.admin-tab-btn:hover:not(.active) { color: #1a1a1a; background: #f9fafb; }

/* ── Admin Panels ── */
.admin-panel { display: none; }
.admin-panel.active { display: block; }

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.panel-header h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: #1a1a1a;
    letter-spacing: .02em;
}

/* ── Admin Table ── */
.admin-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1100px;
}
.admin-table thead th {
    padding: 12px 8px;
    font-size: .72rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: .06em;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    white-space: nowrap;
}
.admin-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: .2s;
}
.admin-table tbody tr:hover {
    background: #f9fafb;
}
.admin-table tbody td {
    padding: 6px 6px;
    font-size: .85rem;
    color: #333;
    vertical-align: middle;
}
.col-narrow { width: 40px; text-align: center; font-weight: 700; color: #dd6703 !important; }
.col-flag { width: 50px; }
.col-pts { width: 70px; text-align: center; }
.col-action { width: 80px; text-align: center; }

/* ── Table Inputs ── */
.admin-table input {
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 7px 8px;
    color: #1a1a1a;
    font-size: .82rem;
    font-family: var(--font);
    transition: .2s;
    width: 100%;
    box-sizing: border-box;
}
.admin-table input:focus {
    outline: none;
    border-color: #dd6703;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(221,103,3,.1);
}
.input-flag { width: 45px !important; text-align: center; font-size: 1.1rem !important; }
.input-sm { width: 80px !important; }
.input-md { width: 100%; min-width: 120px; }
.input-pts { width: 65px !important; text-align: center; }
.input-total { font-weight: 700 !important; color: #dd6703 !important; }

/* ── Action Buttons ── */
.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: .75rem;
    transition: .2s;
}
.btn-edit-bd {
    background: rgba(59,130,246,.1);
    color: #3b82f6;
}
.btn-edit-bd:hover { background: rgba(59,130,246,.2); }
.btn-del {
    background: rgba(239,68,68,.08);
    color: #ef4444;
}
.btn-del:hover { background: rgba(239,68,68,.18); }

/* ── Modal ── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,.4);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}
.modal-overlay.open {
    display: flex;
}
.modal-content {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0,0,0,.15);
}
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}
.modal-header h3 {
    font-family: var(--font-head);
    font-size: 1.2rem;
    color: #1a1a1a;
}
.modal-close {
    background: 0;
    border: 0;
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
    transition: .2s;
}
.modal-close:hover { color: #333; }
.modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}
.modal-hint {
    font-size: .82rem;
    color: #888;
    margin-bottom: 12px;
    line-height: 1.5;
}
.modal-hint code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: .78rem;
    color: #dd6703;
}
#bdTextarea {
    width: 100%;
    min-height: 300px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 14px 16px;
    color: #1a1a1a;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: .78rem;
    line-height: 1.6;
    resize: vertical;
}
#bdTextarea:focus {
    outline: none;
    border-color: #dd6703;
}
.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ── Toast ── */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    padding: 14px 28px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transition: .4s cubic-bezier(.4,0,.2,1);
    z-index: 2000;
    pointer-events: none;
    white-space: nowrap;
}
.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.toast-success { background: linear-gradient(135deg, #10b981, #059669); box-shadow: 0 8px 30px rgba(16,185,129,.3); }
.toast-error { background: linear-gradient(135deg, #ef4444, #dc2626); box-shadow: 0 8px 30px rgba(239,68,68,.3); }
.toast-info { background: linear-gradient(135deg, #3b82f6, #2563eb); box-shadow: 0 8px 30px rgba(59,130,246,.3); }

/* ── Panel Header with Actions ── */
.panel-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── Entry Mode Toggle ── */
.entry-mode-toggle {
    display: flex;
    gap: 3px;
    background: #f3f4f6;
    border-radius: 8px;
    padding: 3px;
    border: 1px solid #e5e7eb;
}
.entry-mode-btn {
    padding: 7px 14px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #888;
    font-size: .78rem;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    font-family: var(--font);
}
.entry-mode-btn.active {
    background: #fff;
    color: #dd6703;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.entry-mode-btn:hover:not(.active) { color: #555; }
.entry-mode-btn i { margin-right: 4px; }

/* ── Entry TSV Area ── */
.entry-tsv-area {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}
.tsv-hint {
    font-size: .82rem;
    color: #888;
    margin-bottom: 12px;
    line-height: 1.6;
}
.tsv-hint i { color: #dd6703; margin-right: 4px; }
.tsv-hint strong { color: #333; }
.entry-tsv-textarea {
    width: 100%;
    min-height: 260px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 14px 16px;
    color: #1a1a1a;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: .78rem;
    line-height: 1.6;
    resize: vertical;
    tab-size: 16;
    white-space: pre;
    box-sizing: border-box;
}
.entry-tsv-textarea:focus {
    outline: none;
    border-color: #dd6703;
    box-shadow: 0 0 0 3px rgba(221,103,3,.08);
}
.tsv-actions {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.btn-export-tsv {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #fff;
    color: #555;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    font-family: var(--font);
}
.btn-export-tsv:hover { background: #f3f4f6; color: #1a1a1a; }

/* ── Breakdown Modal – wider ── */
.modal-content.modal-lg {
    max-width: 1100px;
    max-height: 90vh;
}

/* ── Modal Title ── */
#bdModalTitle {
    margin: 0;
}

/* ── Mode Toggle ── */
.bd-mode-toggle {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}
.bd-mode-btn {
    padding: 8px 18px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #888;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    font-family: var(--font);
}
.bd-mode-btn.active {
    background: #fff;
    color: #dd6703;
    border-color: rgba(221,103,3,.35);
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.bd-mode-btn:hover:not(.active) { color: #555; }
.bd-mode-btn i { margin-right: 5px; }

/* ── Edit Modes ── */
.bd-edit-mode { display: none; }
.bd-edit-mode.active { display: block; }

/* ── Visual Editor ── */
.bd-editor-player {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}
.bd-editor-player-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
    color: #dd6703;
    font-size: 1.1rem;
}
.bd-player-name-input {
    flex: 1;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 8px 12px;
    color: #1a1a1a;
    font-size: .95rem;
    font-weight: 700;
    font-family: var(--font);
}
.bd-player-name-input:focus {
    outline: none;
    border-color: #dd6703;
    box-shadow: 0 0 0 2px rgba(221,103,3,.1);
}
.bd-editor-section {
    margin-top: 12px;
    margin-bottom: 8px;
}
.bd-editor-section-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.bd-editor-section-head label {
    font-size: .82rem;
    color: #666;
    font-weight: 600;
}
.bd-editor-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 4px;
}
.bd-editor-table thead th {
    font-size: .7rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    text-align: left;
    padding: 6px 4px;
    letter-spacing: .06em;
}
.bd-editor-table tbody td {
    padding: 3px 3px;
}
.bd-input {
    width: 100%;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 6px 8px;
    color: #1a1a1a;
    font-size: .8rem;
    font-family: var(--font);
    box-sizing: border-box;
}
.bd-input:focus {
    outline: none;
    border-color: #dd6703;
    background: #fff;
}
.bd-input-wide { min-width: 180px; }
.bd-input-sm { width: 65px !important; text-align: center; }
.btn-tiny { width: 24px; height: 24px; font-size: .65rem; }
.btn-add-row {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    border: 1px dashed rgba(221,103,3,.35);
    border-radius: 5px;
    background: transparent;
    color: #dd6703;
    font-size: .75rem;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    font-family: var(--font);
    margin-left: auto;
}
.btn-add-row:hover { background: rgba(221,103,3,.06); }
.btn-add-player {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px;
    border: 2px dashed rgba(221,103,3,.2);
    border-radius: 10px;
    background: transparent;
    color: #dd6703;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    font-family: var(--font);
}
.btn-add-player:hover { background: rgba(221,103,3,.05); border-color: rgba(221,103,3,.4); }

/* ── TSV Mode ── */
.tsv-instructions {
    margin-bottom: 14px;
}
.tsv-instructions p {
    font-size: .82rem;
    color: #888;
    margin-bottom: 6px;
    line-height: 1.5;
}
.tsv-format-box {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 14px;
}
.tsv-format-box h5 {
    font-size: .78rem;
    font-weight: 700;
    color: #dd6703;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 8px;
}
.tsv-example {
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: .72rem;
    line-height: 1.7;
    color: #555;
    white-space: pre;
    overflow-x: auto;
}
#bdTsvTextarea {
    width: 100%;
    min-height: 200px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 14px 16px;
    color: #1a1a1a;
    font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
    font-size: .78rem;
    line-height: 1.6;
    resize: vertical;
    margin-bottom: 12px;
}
#bdTsvTextarea:focus {
    outline: none;
    border-color: #dd6703;
}
.btn-parse-tsv {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #dd6703, #e8920d);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
    font-family: var(--font);
}
.btn-parse-tsv:hover { box-shadow: 0 4px 16px rgba(221,103,3,.3); transform: translateY(-1px); }

/* ── Content Editor Panel ── */
.content-editor-wrap { padding: 8px 0; }
.content-editor-desc {
    font-size: .85rem;
    color: #888;
    margin-bottom: 20px;
    line-height: 1.6;
}
.content-editor-desc strong { color: #dd6703; }
.content-editor-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
}
.content-editor-pages h4 {
    font-size: .78rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 10px;
}
.content-page-list { display: flex; flex-direction: column; gap: 4px; }
.content-page-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: #f9fafb;
    color: #777;
    font-size: .82rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: .25s;
    text-align: left;
}
.content-page-btn:hover { background: #f0f0f0; color: #333; }
.content-page-btn.active {
    background: rgba(221,103,3,.08);
    color: #dd6703;
    border-color: rgba(221,103,3,.25);
}
.content-page-btn i { width: 18px; text-align: center; }
.content-editor-main { min-height: 400px; }
.content-editor-toolbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.content-editor-toolbar label {
    font-size: .82rem;
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.content-editor-toolbar select {
    flex: 1;
    max-width: 320px;
    padding: 9px 12px;
    border-radius: 7px;
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #d1d5db;
    font-size: .82rem;
    font-family: var(--font);
}
.content-editor-toolbar select:focus { outline: none; border-color: #dd6703; }
#contentEditorArea { display: none; }
.content-editor-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 300px;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    color: #bbb;
    font-size: .9rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .admin-topbar { flex-direction: column; align-items: stretch; }
    .admin-topbar-right { justify-content: flex-end; }
    .login-card { padding: 32px 24px; margin: 0 16px; }
    .admin-tabs { flex-direction: column; }
    .admin-tab-btn { border-radius: 8px; }
    .panel-header { flex-direction: column; gap: 12px; align-items: flex-start; }
    .panel-header-actions { flex-wrap: wrap; }
    .tsv-actions { flex-direction: column; }
    .modal-content.modal-lg { max-width: 100%; max-height: 95vh; }
    .bd-mode-toggle { flex-wrap: wrap; }
    .bd-input-wide { min-width: 100px; }
    .content-editor-grid { grid-template-columns: 1fr; }
    .content-page-list { flex-direction: row; flex-wrap: wrap; }
}

/* ── Bulletin Manager ── */
.bul-file-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: .8rem;
    word-break: break-all;
    transition: .2s;
}
.bul-file-link:hover { color: #1d4ed8; text-decoration: underline; }
.bul-file-link i { color: #e74c3c; margin-right: 4px; }
.input-file {
    width: 100%;
    padding: 10px 12px;
    background: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    color: #555;
    font-size: .85rem;
    font-family: var(--font);
    cursor: pointer;
}
.input-file::-webkit-file-upload-button {
    background: linear-gradient(135deg, #dd6703, #e8920d);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
    font-family: var(--font);
}
.input-file::file-selector-button {
    background: linear-gradient(135deg, #dd6703, #e8920d);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 10px;
    font-family: var(--font);
}

/* ── Content Editor textarea (TinyMCE fallback) ── */
#adminContentEditor {
    width: 100%;
    min-height: 350px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 14px 16px;
    color: #1a1a1a;
    font-family: var(--font);
    font-size: .9rem;
    line-height: 1.7;
    resize: vertical;
}
#adminContentEditor:focus {
    outline: none;
    border-color: #dd6703;
    box-shadow: 0 0 0 3px rgba(221,103,3,.08);
}

/* ── Gallery Card Hover ── */
.gal-act-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.gal-modal-thumb:hover {
    transform: scale(1.08);
    z-index: 2;
    box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.gal-modal-thumb:hover img {
    transform: scale(1.05);
}
.gal-modal-thumb:hover .gal-zoom-btn {
    opacity: 1 !important;
}
