/* Shout Easy Events - Frontend */
:root {
    --see-primary: #2563eb;
    --see-secondary: #111827;
    --see-bg: #ffffff;
    --see-card: #ffffff;
    --see-border: #e5e7eb;
    --see-muted: #6b7280;
    --see-text: #111827;
    --see-light: #f9fafb;
    --see-font: 'Poppins', sans-serif;
}

#see-frontend-root {
    font-family: var(--see-font);
    font-weight: 300;
    color: var(--see-text);
    -webkit-font-smoothing: antialiased;
    background: var(--see-bg);
}
#see-frontend-root * { box-sizing: border-box; }

/* Header */
.see-header {
    position: sticky; top: 0; z-index: 500;
    background: rgba(255,255,255,0.95);
    border-bottom: 1px solid var(--see-border);
}
.see-header-inner {
    max-width: 1600px; margin: 0 auto; padding: 0 24px;
    height: 60px; display: flex; align-items: center; justify-content: space-between;
}
.see-logo { display: flex; align-items: center; gap: 10px; cursor: pointer; text-decoration: none; }
.see-logo-icon {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center; color: #fff;
}
.see-logo-text {
    font-family: var(--see-font); font-size: 16px; font-weight: 600;
    color: var(--see-text); letter-spacing: -0.01em;
}
.see-nav { display: flex; align-items: center; gap: 28px; }
.see-nav-link {
    font-family: var(--see-font); font-size: 14px; font-weight: 300; color: #6b7280;
    cursor: pointer; transition: color 0.15s; background: none; border: none; padding: 0;
}
.see-nav-link:hover { color: var(--see-text); }
.see-nav-link.active { color: var(--see-text); font-weight: 500; }

/* Hero */
.see-hero {
    background: var(--see-light);
    border-bottom: 1px solid var(--see-border);
    position: relative;
    overflow: hidden;
}
.see-hero.has-bg { background: none; }
.see-hero-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
}
.see-hero-bg-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.55);
}
.see-hero.has-bg .see-hero-inner { position: relative; z-index: 2; }
.see-hero.has-bg h1 { color: #fff; }
.see-hero.has-bg p { color: rgba(255,255,255,0.85); }
.see-hero.has-bg .see-hero-location { color: rgba(255,255,255,0.9); }
.see-hero-inner {
    max-width: 1600px; margin: 0 auto;
    padding: 80px 24px 64px;
    text-align: center;
}
.see-hero-location {
    font-size: 12px; font-weight: 500; color: var(--see-primary);
    letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: center; gap: 6px;
}
.see-hero h1 {
    font-family: var(--see-font); font-size: clamp(32px, 5vw, 52px); font-weight: 600;
    color: var(--see-text); margin: 0 0 14px; letter-spacing: -0.02em; line-height: 1.15;
}
.see-hero p {
    font-family: var(--see-font); font-size: clamp(15px, 2vw, 18px); font-weight: 300;
    color: var(--see-muted); margin: 0 auto 36px; max-width: 520px; line-height: 1.6;
}

/* Listings */
.see-listings-wrap { max-width: 1600px; margin: 0 auto; padding: 40px 24px 80px; }

.see-search-bar { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.see-search-input-wrap { flex: 1; min-width: 280px; position: relative; }
.see-search-input-wrap svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #9ca3af; pointer-events: none; }
.see-search-input {
    width: 100%; padding: 20px 20px 20px 56px;
    border: 2px solid var(--see-border); font-size: 17px; font-weight: 300;
    font-family: var(--see-font); outline: none; background: #fff;
    border-radius: 0; -webkit-appearance: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.see-search-input:focus { border-color: var(--see-primary); box-shadow: 0 4px 16px rgba(37,99,235,0.1); }
.see-search-input::placeholder { color: #b0b8c4; font-weight: 300; font-size: 16px; }

.see-view-btn {
    background: #fff; border: 2px solid var(--see-border); width: 54px; height: 54px;
    cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s;
}
.see-view-btn.active { background: var(--see-secondary); border-color: var(--see-secondary); color: #fff; }

.see-cat-filters { display: flex; gap: 0; margin-bottom: 32px; flex-wrap: wrap; border: 1px solid var(--see-border); width: fit-content; }
.see-cat-btn {
    padding: 9px 18px; font-size: 13px; font-family: var(--see-font); font-weight: 300;
    cursor: pointer; white-space: nowrap;
    border: none; border-right: 1px solid var(--see-border);
    background: #fff; color: #6b7280; transition: all 0.1s;
}
.see-cat-btn:last-child { border-right: none; }
.see-cat-btn:hover { background: var(--see-light); }
.see-cat-btn.active { background: var(--see-primary); color: #fff; font-weight: 500; }

.see-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1px; background: var(--see-border); border: 1px solid var(--see-border); }
.see-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--see-border); }

/* Event Card */
.see-event-card {
    background: #fff; cursor: pointer; transition: background 0.15s;
    overflow: hidden;
}
.see-event-card:hover { background: var(--see-light); }
.see-card-image { width: 100%; height: 200px; position: relative; overflow: hidden; background: var(--see-light); }
.see-card-image img { width: 100%; height: 100%; object-fit: cover; }
.see-card-image-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--see-light);
}
.see-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 4px; }
.see-card-badge {
    font-size: 10px; font-weight: 600; padding: 4px 10px;
    background: rgba(17,24,39,0.8); color: #fff; font-family: var(--see-font);
    letter-spacing: 0.05em; text-transform: uppercase;
}
.see-card-badge-featured { background: var(--see-primary); }
.see-card-countdown {
    position: absolute; bottom: 12px; right: 12px;
    font-size: 10px; font-weight: 600; padding: 4px 10px;
    background: var(--see-primary); color: #fff;
    font-family: var(--see-font); letter-spacing: 0.05em; text-transform: uppercase;
}
.see-card-body { padding: 20px 24px 24px; }
.see-card-title {
    font-family: var(--see-font); font-size: 17px; font-weight: 600;
    color: var(--see-text); margin: 0 0 10px; line-height: 1.3;
}
.see-card-meta {
    display: flex; align-items: center; gap: 6px; margin-bottom: 4px;
    font-size: 13px; font-weight: 300; color: var(--see-muted);
}
.see-card-desc {
    font-size: 14px; font-weight: 300; color: #6b7280; margin: 8px 0 0; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.see-card-price { margin-top: 14px; font-size: 15px; font-weight: 600; color: var(--see-text); }

/* List View */
.see-list-item {
    background: #fff; padding: 18px 20px; border-bottom: 1px solid var(--see-border);
    display: flex; gap: 18px; align-items: center; cursor: pointer; transition: background 0.1s;
}
.see-list-item:last-child { border-bottom: none; }
.see-list-item:hover { background: var(--see-light); }
.see-list-thumb { width: 64px; height: 64px; object-fit: cover; flex-shrink: 0; }

/* Auth */
.see-auth { max-width: 420px; margin: 80px auto; padding: 0 24px; }
.see-auth h1 { font-family: var(--see-font); font-size: 28px; font-weight: 600; margin: 0 0 6px; }
.see-auth-subtitle { font-size: 15px; font-weight: 300; color: var(--see-muted); margin: 0 0 36px; }
.see-auth-link { color: var(--see-primary); cursor: pointer; font-weight: 500; }

/* Modal */
.see-modal-overlay { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.see-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.see-modal {
    position: relative; background: #fff; padding: 0;
    max-width: 720px; width: 100%; max-height: 85vh; overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: seeFadeIn 0.2s ease-out;
}
@keyframes seeFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.see-modal-close {
    background: rgba(255,255,255,0.9); border: 1px solid var(--see-border);
    width: 36px; height: 36px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.see-detail-image img { width: 100%; height: 280px; object-fit: cover; display: block; }
.see-detail-body { padding: 32px; }
.see-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.see-detail-item { display: flex; gap: 12px; align-items: flex-start; }
.see-detail-icon {
    width: 36px; height: 36px; background: var(--see-light); border: 1px solid var(--see-border);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.see-detail-label { font-size: 11px; color: var(--see-muted); font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.see-detail-value { font-size: 14px; font-weight: 400; color: var(--see-text); }

/* Dashboard */
.see-dash { max-width: 1200px; margin: 40px auto; padding: 0 24px; }
.see-dash-row {
    background: #fff; border: 1px solid var(--see-border);
    padding: 18px 20px; display: flex; gap: 16px; align-items: center;
}

/* Shared Buttons & Inputs */
.see-btn {
    display: inline-flex; align-items: center; gap: 8px;
    border: none; cursor: pointer; font-family: var(--see-font); font-weight: 500;
    font-size: 14px; padding: 12px 24px; transition: all 0.15s;
}
.see-btn:active { opacity: 0.85; }
.see-btn-primary { background: var(--see-primary); color: #fff; }
.see-btn-primary:hover { background: #1d4ed8; }
.see-btn-secondary { background: var(--see-light); color: var(--see-text); border: 1px solid var(--see-border); }
.see-btn-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.see-btn-ghost { background: transparent; color: var(--see-primary); padding: 8px 12px; }
.see-btn-outline { background: #fff; color: var(--see-text); border: 1px solid var(--see-border); }
.see-btn-lg { font-size: 15px; padding: 14px 32px; }
.see-btn-sm { font-size: 13px; padding: 9px 16px; }
.see-btn-full { width: 100%; justify-content: center; }
.see-btn-icon {
    background: var(--see-light); border: 1px solid var(--see-border);
    width: 36px; height: 36px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

.see-field { margin-bottom: 22px; }
.see-label { display: block; font-size: 13px; font-weight: 500; color: #374151; margin-bottom: 8px; }
.see-input, .see-textarea, .see-select {
    width: 100%; padding: 16px 18px; border: 1px solid var(--see-border);
    font-size: 16px; font-weight: 300; font-family: var(--see-font); outline: none; background: #fff;
    color: var(--see-text); transition: border-color 0.15s, box-shadow 0.15s; border-radius: 0; -webkit-appearance: none;
}
.see-input:focus, .see-textarea:focus, .see-select:focus { border-color: var(--see-primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.08); }
.see-textarea { min-height: 130px; resize: vertical; }
.see-input::placeholder, .see-textarea::placeholder { color: #b0b8c4; font-weight: 300; }
.see-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.see-grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 12px; }

/* Badge */
.see-badge {
    display: inline-block; font-size: 11px; font-weight: 600;
    padding: 3px 10px; letter-spacing: 0.04em; text-transform: uppercase;
}
.see-badge-live { background: #ecfdf5; color: #059669; }
.see-badge-pending { background: #fffbeb; color: #d97706; }
.see-badge-draft { background: #f3f4f6; color: #6b7280; }

/* Toast */
.see-toast {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 99999;
    background: #111827; color: #fff; padding: 14px 28px;
    font-size: 14px; font-family: var(--see-font); font-weight: 400;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    display: flex; align-items: center; gap: 10px;
    animation: seeFadeIn 0.25s ease-out;
}
.see-toast-dot { width: 8px; height: 8px; }

/* Empty */
.see-empty { text-align: center; padding: 64px 24px; }
.see-empty-icon {
    width: 52px; height: 52px; background: var(--see-light); border: 1px solid var(--see-border);
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

/* Footer */
.see-footer { border-top: 1px solid var(--see-border); padding: 28px 24px 20px; margin-top: 48px; max-width: 1600px; margin-left: auto; margin-right: auto; }
.see-footer-links {
    display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 16px;
    font-size: 12px; font-weight: 300; line-height: 1.6;
}
.see-footer-links a {
    color: #6b7280; text-decoration: none; transition: color 0.1s; white-space: nowrap;
}
.see-footer-links a:hover { color: var(--see-primary); }
.see-footer-links span { color: #d1d5db; }
.see-footer-credit { font-size: 11px; font-weight: 300; color: #9ca3af; }
.see-footer-credit a { color: #6b7280; text-decoration: none; font-weight: 400; }
.see-footer-credit a:hover { color: var(--see-primary); }

/* Responsive */
@media (max-width: 768px) {
    .see-hero-inner { padding: 48px 24px 40px; }
    .see-detail-grid { grid-template-columns: 1fr; }
    .see-grid { grid-template-columns: 1fr; }
    .see-grid-2 { grid-template-columns: 1fr; }
    .see-grid-4 { grid-template-columns: 1fr 1fr; }
    .see-nav { gap: 14px; }
    .see-modal { margin: 12px; }
    .see-cat-filters { flex-wrap: wrap; }
}

.see-hidden { display: none !important; }
