:root {
    --bg-color: #F4F6F8; 
    --text-main: #222B36; 
    --accent-color: #C85A17; 
    --card-bg: #FFFFFF; 
    --border-color: #DFE3E8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
}

button {
    background-color: var(--accent-color);
    color: var(--card-bg);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

button:hover {
    background-color: #a64912;
}

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

#gallery-feed {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.gallery-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    cursor: grab;
    border-bottom: 1px solid var(--border-color);
}

.interaction-bar {
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reaction-group {
    display: flex;
    gap: 1.5rem;
}

.reaction-btn {
    background: none;
    border: none;
    color: #637381;
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0;
}

.reaction-btn span {
    font-size: 1.1rem;
    font-weight: bold;
}

.reaction-btn:hover {
    background: none;
    color: var(--accent-color);
    transform: scale(1.1);
}

.reaction-btn.active-reaction {
    color: var(--accent-color);
    transform: scale(1.1);
}

.admin-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.report-btn {
    background: none;
    border: none;
    color: #919EAB;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
}

.report-btn:hover {
    color: #FF4842;
    background: none;
}

.delete-btn {
    background-color: #FF4842;
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    border-radius: 4px;
}

/* --- Comments UI --- */
.comment-box {
    background: #FAFAFA;
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.comments-list {
    margin-bottom: 1rem;
}

.comment-row {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    border-left: 3px solid var(--accent-color);
    padding-left: 0.8rem;
    line-height: 1.4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delete-comment-btn {
    background: none;
    border: none;
    color: #FF4842;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
}

.delete-comment-btn:hover {
    background: none;
    transform: scale(1.2);
}

.guest-inputs {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    align-items: center;
}

.guest-name { width: 25%; }
.guest-msg { flex-grow: 1; }

.guest-inputs input {
    padding: 0.7rem 1rem;
    border: 1px solid #DFE3E8;
    border-radius: 8px;
    font-size: 0.95rem;
    background: #FFFFFF;
    outline: none;
}

.guest-inputs input:focus {
    border-color: var(--accent-color);
}

.submit-comment-btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 8px;
    background-color: var(--text-main);
}

/* --- Modals & Overlays --- */
#overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(2px);
    z-index: 1000;
}

.modal {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
    background: var(--card-bg); padding: 2rem; border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2); z-index: 1001; 
    width: 90%; max-width: 450px; border: 1px solid var(--border-color);
}

.modal.hidden, #overlay.hidden { display: none; }

.modal h3 { margin-bottom: 1rem; color: var(--text-main); }
.modal p { margin-bottom: 1.5rem; font-size: 1.1rem; line-height: 1.4; }

.modal input, .modal textarea {
    width: 100%; padding: 0.8rem; margin-bottom: 1rem; 
    border: 1px solid var(--border-color); border-radius: 4px;
    font-size: 1rem; font-family: inherit;
}

.modal textarea { resize: vertical; min-height: 100px; }

.modal-actions { display: flex; justify-content: flex-end; gap: 1rem; }

.cancel-btn { background: transparent; color: var(--text-main); border: 1px solid #ccc; }
.danger-btn { background: #FF4842; color: white; border: none; }
.primary-btn { background: var(--accent-color); color: white; border: none; }

/* ==========================================================================
   SAN FOLIO PRIME: OS UI COMPONENTS (ADMIN TASKBAR & TOASTS)
   ========================================================================== */

#toast-container {
    position: fixed; bottom: 80px; right: 20px;
    display: flex; flex-direction: column; gap: 10px; z-index: 9999;
}

.toast {
    background: #222B36; color: #fff; padding: 12px 24px;
    border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-size: 0.95rem; font-weight: 500; opacity: 0;
    transform: translateY(20px); transition: opacity 0.3s ease, transform 0.3s ease;
    border-left: 4px solid var(--accent-color);
}

.toast.show { opacity: 1; transform: translateY(0); }

#admin-taskbar {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 60px;
    background-color: #1a1a1a; display: flex; justify-content: space-between;
    align-items: center; padding: 0 20px; box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    z-index: 9000;
}

#admin-taskbar.hidden { display: none; }

.taskbar-left, .taskbar-center, .taskbar-right { display: flex; align-items: center; flex: 1; }
.taskbar-center { justify-content: center; }
.taskbar-right { justify-content: flex-end; position: relative; }

.os-brand { color: white; font-weight: bold; letter-spacing: 1px; margin-right: 20px; }

.tb-btn {
    background: transparent; color: #999; padding: 5px 10px; font-size: 0.85rem;
}

.tb-btn:hover { color: white; background: #333; }

.tb-upload-btn {
    background: var(--accent-color); color: white; border-radius: 20px;
    padding: 8px 20px; display: flex; align-items: center; gap: 8px;
    box-shadow: 0 0 10px rgba(200, 90, 23, 0.4);
}

.tb-upload-btn:hover { transform: scale(1.05); background: #e06c20; }

.bell-container { font-size: 1.5rem; cursor: pointer; position: relative; padding: 10px; }

.badge {
    position: absolute; top: 5px; right: 5px; background: #FF4842;
    color: white; font-size: 0.7rem; font-weight: bold; padding: 2px 6px;
    border-radius: 10px; border: 2px solid #1a1a1a;
}

.badge.hidden { display: none; }

.dropdown-menu {
    position: absolute; bottom: 70px; right: 0; width: 320px;
    background: white; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border: 1px solid var(--border-color);
}

.dropdown-menu.hidden { display: none; }

.dropdown-header {
    background: var(--bg-color); padding: 15px; font-weight: bold;
    border-bottom: 1px solid var(--border-color); text-align: left;
}

.dropdown-list { max-height: 300px; overflow-y: auto; list-style: none; text-align: left; }
.empty-inbox { padding: 20px; text-align: center; color: #999; font-style: italic; }

.report-item { padding: 15px; border-bottom: 1px solid #eee; font-size: 0.9rem; }
.report-meta { font-weight: bold; color: var(--accent-color); margin-bottom: 5px; }
.report-reason { color: #444; margin-bottom: 10px; }
.report-actions { display: flex; gap: 10px; }
.action-btn { font-size: 0.8rem; padding: 5px 10px; }
.reply-btn { background: #222B36; }
.resolve-btn { background: #4CAF50; }

.wizard-select {
    padding: 10px; border: 1px solid var(--border-color);
    border-radius: 4px; font-size: 1rem; background: #fff; margin-bottom: 5px;
}

/* ==========================================================================
   PUBLIC FRONT-END: DEEP NAVY & PREMIUM UI
   ========================================================================== */

.public-view { background-color: #f8f9fa; }

.public-header {
    background-color: #0A192F; color: white; padding: 3rem 1rem;
    text-align: center; border-bottom: 4px solid #D4AF37;
}

.public-header h1 { font-size: 3rem; letter-spacing: 3px; margin-bottom: 0.5rem; }
.public-header p { color: #e2e8f0; font-size: 1.1rem; }

.est-badge {
    display: inline-block; margin-top: 15px; padding: 5px 15px;
    border: 1px solid #D4AF37; color: #D4AF37; font-size: 0.8rem;
    letter-spacing: 2px; text-transform: uppercase;
}

/* --- Upcoming Event Hero --- */
.event-hero {
    background: linear-gradient(135deg, #0A192F 0%, #112240 100%);
    color: white; margin: 20px auto; max-width: 900px;
    border-radius: 12px; padding: 40px; box-shadow: 0 10px 30px rgba(10, 25, 47, 0.2);
    text-align: center; position: relative; overflow: hidden;
}

.event-hero.hidden { display: none; }

.event-tag {
    background-color: #D4AF37; color: #0A192F; padding: 5px 12px;
    font-size: 0.8rem; font-weight: bold; text-transform: uppercase;
    border-radius: 20px; letter-spacing: 1px; margin-bottom: 15px; display: inline-block;
}

#hero-event-title { font-size: 2.2rem; margin-bottom: 15px; }
.hero-event-meta { font-size: 1.2rem; color: #cbd5e1; margin-bottom: 10px; }
.hero-location { font-weight: bold; color: #D4AF37; margin-bottom: 20px; }
.hero-desc { font-size: 1rem; line-height: 1.6; color: #94a3b8; max-width: 700px; margin: 0 auto; }

/* --- Search & Filter Bar --- */
.search-section { max-width: 900px; margin: 30px auto; padding: 0 20px; }

.search-container {
    display: flex; gap: 15px; background: white; padding: 15px;
    border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #DFE3E8;
}

#search-artist {
    flex-grow: 1; padding: 12px 15px; border: 1px solid #ccc;
    border-radius: 4px; font-size: 1rem;
}

.filter-select {
    padding: 12px; border: 1px solid #ccc; border-radius: 4px;
    font-size: 1rem; background: #f8f9fa;
}

.search-btn {
    background-color: #0A192F; color: white; border: none; padding: 0 25px;
    font-weight: bold; border-radius: 4px; cursor: pointer; transition: 0.2s;
}

.search-btn:hover { background-color: #D4AF37; color: #0A192F; }

.public-footer {
    background-color: #0A192F; color: #94a3b8; text-align: center;
    padding: 40px 20px; margin-top: 60px;
}

.admin-link {
    color: #D4AF37; text-decoration: none; display: inline-block; margin-top: 15px; font-size: 0.9rem;

.nav-link { color: #cbd5e1; text-decoration: none; font-weight: bold; margin: 0 15px; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s; }
.nav-link:hover { color: #D4AF37; }
}
