/* /styles.css — lakecityarts.com */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Inter:wght@400;500;600&display=swap');

:root {
    --ink: #15171C;
    --paper: #F7F7F4;
    --card-bg: #fff;
    --accent: #FF3B5C;
    --accent2: #FFD23F;
    --muted: #6b6b6b;
    --border: #DCDCD8;
    --link: #1F6E7A;
    --highlight: #ffffff;
    --grid-cols: 4;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--paper);
    color: var(--ink);
}
h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
}
hr {
    width: 30%;
}
header {
    padding: 1rem 1rem .75rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background: var(--ink);
    position: sticky;
    top: 0;
    z-index: 50;
}
@media (max-width: 600px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
header h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.03em;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.logo-mark {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 6px;
}
.accent-text {
    color: var(--accent);
}
header h1 a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
header p {
    margin: .2rem 0 0;
    color: #c8c8c8;
    font-size: .85rem;
}
.notify-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent2);
    color: var(--ink);
    font-size: .75rem;
    font-weight: 700;
    padding: .35rem .7rem;
    border-radius: 20px;
    text-decoration: none;
    z-index: 5;
}
@media (max-width: 600px) {
    .notify-badge {
        position: static;
        display: inline-block;
        margin: 0 auto .5rem;
    }
}
.notify-badge:hover {
    opacity: .85;
}
.filters {
    padding: .75rem 1rem;
    border-bottom: 0px solid var(--border);
    text-align: center;
}
#categoryFilter, #monthFilter {
    padding: .55rem .9rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    font-size: .95rem;
    font-family: inherit;
    margin: 0 .3rem;
}
.free-toggle {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .9rem;
    margin: 0 .5rem;
}
.event-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
    padding: 1rem;
    max-width: 700px;
    margin: 0 auto;
}
@media (min-width: 500px) {
    .event-list:not(.grid-view) {
        grid-template-columns: 1fr 1fr;
        max-width: 900px;
    }
}
.event-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    transition: box-shadow .15s ease, transform .15s ease;
}
.event-card:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    transform: translateY(-2px);
}
.event-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    flex-shrink: 0;
}
.event-card .no-image {
    width: 90px;
    height: 90px;
    background: var(--border);
    flex-shrink: 0;
}
.event-card .info {
    padding: .8rem 1rem 1rem;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}
.event-card .date {
    font-size: .72rem;
    color: var(--link);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.event-card h3 {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.3;
    font-weight: 700;
}
.event-card .meta {
    font-size: .8rem;
    color: var(--muted);
    margin-bottom: .2rem;
}
.badge-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-top: .2rem;
}
.badge {
    display: inline-block;
    font-size: .7rem;
    padding: .1rem .5rem;
    border-radius: 4px;
    background: #ECECE8;
}
.badge.free {
    background: var(--accent2);
    color: var(--ink);
    font-weight: 700;
}
.more-info {
    display: inline-block;
    font-size: .8rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}
.more-info:hover {
    text-decoration: underline;
}
footer {
    text-align: center;
    padding: 1.5rem 1rem 2rem;
    color: var(--muted);
    font-size: .8rem;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
}
footer p {
    margin: .3rem 0;
}
footer a {
    color: var(--link);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}

.legal-page {
    max-width: 700px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    line-height: 1.6;
}
.legal-page h2 {
    margin-bottom: .2rem;
}
.legal-page h3 {
    margin-top: 1.5rem;
    margin-bottom: .3rem;
    font-size: 1.05rem;
}

.legal-page a {
    color: var(--link);
    font-weight: 600;
    text-decoration: none;
}
.legal-page a:hover {
    text-decoration: underline;
}

.organizer-line {
    font-style: italic;
}
.organizer-line a {
    color: var(--link);
    text-decoration: none;
    font-style: normal;
    font-weight: 600;
}
#em-organizer a {
    color: var(--link);
    font-weight: 600;
    text-decoration: none;
}
#em-organizer a:hover {
    text-decoration: underline;
}
.organizer-line a:hover {
    text-decoration: underline;
}

.event-card.boosted {
    border: 3px solid var(--accent);
    background: var(--highlight) !important;
    box-shadow: 0 2px 8px rgba(255, 210, 63, .25);
}
.boosted-tag {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--accent2);
    color: var(--ink);
    font-size: .7rem;
    font-weight: 700;
    padding: .1rem .5rem;
    border-radius: 4px;
    z-index: 2;
}
.event-card {
    position: relative;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(21,23,28,.6);
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 1rem;
}
.modal-box {
    background: #fff;
    border-radius: 6px;
    padding: 1.5rem;
    max-width: 400px;
    width: 100%;
    position: relative;
}
.modal-close {
    position: absolute;
    top: .5rem;
    right: .75rem;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--muted);
}
.modal-box form {
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-top: .75rem;
}
.modal-box input,
.modal-box textarea {
    padding: .6rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: .9rem;
}
.modal-box button[type="submit"] {
    background: var(--link);
    color: #fff;
    border: none;
    padding: .6rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}
#contactStatus {
    font-size: .85rem;
    color: var(--muted);
}

.auth-box {
    max-width: 380px;
    margin: 3rem auto;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-top: 3px solid var(--link);
    border-radius: 4px;
}
.auth-box form {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.auth-box label {
    font-size: .82rem;
    font-weight: 600;
    margin-top: .5rem;
}
.auth-box input {
    padding: .6rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: .9rem;
}
.auth-box button[type="submit"] {
    margin-top: 1rem;
    background: var(--link);
    color: #fff;
    border: none;
    padding: .7rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
}
.auth-error {
    color: #721c24;
    background: #f8d7da;
    padding: .6rem .75rem;
    border-radius: 4px;
    font-size: .85rem;
    margin-bottom: .5rem;
}
.auth-note {
    text-align: center;
    font-size: .82rem;
    color: var(--muted);
    margin-top: .75rem;
}
.auth-note a {
    color: var(--link);
    font-weight: 600;
    text-decoration: none;
}

.field-hint {
    font-size: .75rem;
    color: var(--muted);
    margin: -.1rem 0 .3rem;
}
.hp-field-wrap {
    position: absolute;
    left: -9999px;
}

.submit-box {
    max-width: 500px;
}
.submit-box textarea {
    padding: .6rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: .9rem;
    resize: vertical;
}
.checkbox-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-weight: 400;
    font-size: .9rem;
}
.category-checkboxes {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: .5rem 0;
}
.auth-success {
    color: #2a6b3a;
    background: #dff0e0;
    padding: .6rem .75rem;
    border-radius: 4px;
    font-size: .9rem;
    margin-bottom: .5rem;
}

.header-nav {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: .85rem;
}
@media (max-width: 600px) {
    .header-nav {
        position: static;
        display: block;
        margin-bottom: .5rem;
    }
}
.header-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}
.header-nav a:hover {
    color: var(--accent2);
}

.my-events-page {
    max-width: 700px;
    margin: 2rem auto;
    padding: 0 1rem;
}
@media (min-width: 700px) {
    .my-events-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .75rem;
    }
    .my-events-list .my-event-card {
        margin-bottom: 0;
    }
}
.my-events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: .85rem;
}
.btn-primary.center {
    display: block;
    margin: 1rem auto 0;
    width: fit-content;
}

input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.my-event-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: .75rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}
.admin-row {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: .4rem .6rem;
    margin-bottom: .3rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.admin-row form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .4rem;
    flex: 1;
    flex-wrap: wrap;
}

.admin-row .link-btn {
    font-size: .78rem;
    white-space: nowrap;
}
.admin-row-form {
    display: flex;
    align-items: center;
    gap: .4rem;
    flex-wrap: wrap;
    padding: .5rem .3rem;
    border-bottom: 1px solid var(--border);
}
.admin-row-form input[type="text"],
.admin-row-form input[type="url"] {
    padding: .35rem .5rem;
    font-size: .8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    flex: 1 1 130px;
    min-width: 90px;
}
.admin-row-form .link-btn {
    font-size: .78rem;
    white-space: nowrap;
    flex: 0 0 auto;
}

.my-event-card.compact {
    padding: .5rem .75rem;
    margin-bottom: .4rem;
    align-items: center;
}
.my-event-card.compact .my-event-info h3 {
    font-size: .9rem;
    margin: 0;
}
.my-event-card.compact .my-event-info .meta {
    font-size: .75rem;
    margin: 0;
}
.my-event-info h3 {
    margin: .3rem 0;
}
.status-badge {
    display: inline-block;
    font-size: .7rem;
    padding: .1rem .5rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
}
.status-approved { background: #dff0e0; color: #2a6b3a; }
.status-pending { background: #fff3cd; color: #856404; }
.status-rejected { background: #f8d7da; color: #721c24; }
.my-event-actions {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    text-align: right;
}
.my-event-actions a,
.link-btn {
    color: var(--accent);
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
}

.submit-box label {
    position: relative;
}

button.more-info {
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}

.collapsible summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    padding: .5rem 0;
}
.collapsible[open] summary {
    margin-bottom: .5rem;
}

.rejection-note {
    font-size: .85rem;
    background: #f8d7da;
    color: #721c24;
    padding: .5rem .7rem;
    border-radius: 4px;
    margin-top: .3rem;
}

.subscribe-link {
    color: var(--link);
    font-weight: 600;
    text-decoration: none;
    font-size: .9rem;
}
.subscribe-link:hover {
    text-decoration: underline;
}

.featured-carousel-wrap {
    padding: .75rem;
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    background: var(--card-bg);
    border-top: 3px solid var(--accent2);
    border-radius: 4px;
}
.featured-heading {
    font-size: 1.1rem;
    margin: 0 0 .6rem;
    color: var(--ink);
    text-align: center;
    margin-top: 0;
}
.featured-carousel {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding-bottom: .75rem;
    padding-left: .25rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
}
.featured-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: var(--card-bg);
    border: 2px solid var(--accent);
    border-radius: 4px;
    overflow: hidden;
}
.featured-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}
.featured-card .featured-info {
    padding: .6rem .7rem;
}
.featured-card .date {
    font-size: .68rem;
    color: var(--link);
    font-weight: 700;
    text-transform: uppercase;
}
.featured-card h3 {
    margin: .2rem 0;
    font-size: .9rem;
    line-height: 1.2;
}
.featured-card .meta {
    font-size: .75rem;
    color: var(--muted);
}
.featured-heading a {
    color: inherit;
    text-decoration: none;
}
.featured-heading a:hover {
    text-decoration: underline;
}

.sponsors-bar {
    max-width: 900px;
    margin: 1.5rem auto 0;
    padding: 0 1rem;
    text-align: center;
}
.sponsors-heading {
    font-size: .7rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .5rem;
    opacity: .8;
}
.sponsors-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}
.sponsor-logo img {
    max-height: 36px;
    max-width: 100px;
    object-fit: contain;
    opacity: .9;
    transition: opacity .15s, transform .15s;
    margin-right: .4rem;
}
.sponsor-logo:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.install-bar {
    background: var(--accent2);
    color: var(--ink);
    padding: .5rem 1rem;
    display: none;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    font-size: .85rem;
    font-weight: 600;
}

@media (max-width: 799px) {
    .install-bar.show {
        display: flex;
    }
}
.install-btn {
    background: var(--ink);
    color: #fff;
    border: none;
    padding: .3rem .8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: .8rem;
    cursor: pointer;
}
.install-dismiss {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--ink);
    line-height: 1;
}

.defaults-form {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    max-width: 400px;
}
.defaults-form label {
    font-size: .82rem;
    font-weight: 600;
    margin-top: .5rem;
}
.defaults-form input {
    padding: .6rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: .9rem;
}

.card-image-wrap {
    position: relative;
    flex-shrink: 0;
}
.event-card .info, .featured-card .featured-info {
    position: relative;
}
.category-icon {
    position: absolute;
    top: 6px;
    right: 8px;
    font-size: 1.1rem;
}

.btn-secondary {
    display: inline-block;
    background: none;
    border: 1px solid var(--border);
    color: var(--ink);
    padding: .5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: .85rem;
    cursor: pointer;
    text-decoration: none;
    margin-top: .5rem;
    margin-right: .5rem;
}
.btn-secondary:hover {
    background: var(--paper);
}

.pac-container {
    z-index: 9999 !important;
}

.admin-tabs {
    display: flex;
    gap: .3rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}
.admin-tab-btn {
    background: none;
    border: none;
    padding: .6rem 1rem;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}
.admin-tab-btn.active {
    color: var(--ink);
    border-bottom-color: var(--accent);
}

.profile-link {
    color: var(--link);
    font-weight: 600;
    text-decoration: none;
}
.profile-link:hover {
    text-decoration: underline;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
    margin-bottom: .5rem;
}
.admin-table th {
    text-align: left;
    font-size: .72rem;
    text-transform: uppercase;
    color: var(--muted);
    padding: .4rem .5rem;
    border-bottom: 2px solid var(--border);
}
.admin-table td {
    padding: .4rem .5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.admin-table input[type="text"],
.admin-table input[type="url"] {
    width: 100%;
    padding: .3rem .4rem;
    font-size: .82rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    box-sizing: border-box;
}







@media (min-width: 1100px) {
    .sponsors-bar {
        position: fixed;
        top: 100px;
        left: 1.5rem;
        max-width: 160px;
        margin: 0;
        text-align: left;
        background: var(--card-bg);
        border: 1px solid var(--border);
        border-radius: 4px;
        padding: 1rem 1.5rem 1rem 1rem;
    }
    .sponsors-heading {
        text-align: left;
        font-size: .68rem;
        margin-bottom: .75rem;
    }
    .sponsors-logos {
        flex-direction: column;
        align-items: flex-start;
        gap: .9rem;
    }
    .sponsor-logo img {
        max-height: 40px;
        max-width: 100px;
    }
}

@media (min-width: 800px) {
    .event-list {
        max-width: 1100px;
    }
    .view-toggle {
        text-align: center;
        padding: .5rem;
    }
    .view-toggle button {
        padding: .4rem 1rem;
        border-radius: 4px;
        border: 1px solid var(--border);
        background: var(--card-bg);
        cursor: pointer;
    }
    .view-toggle button.active {
        background: var(--ink);
        color: #fff;
        border-color: var(--ink);
    }
    .event-list.grid-view {
    display: grid;
    grid-template-columns: repeat(var(--grid-cols, 3), 1fr);
}
    .event-list.grid-view .event-card {
        flex-direction: column;
    }
    .event-list.grid-view .event-card img,
    .event-list.grid-view .event-card .no-image {
        width: 100%;
        height: 160px;
    }
        .filters {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .75rem;
        flex-wrap: wrap;
    }
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .85rem;
    margin-bottom: .5rem;
    table-layout: fixed;
}
.admin-table th {
    text-align: left;
    font-size: .72rem;
    text-transform: uppercase;
    color: var(--muted);
    padding: .5rem;
    border-bottom: 2px solid var(--border);
}
.admin-table td {
    padding: .5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.admin-table tbody tr:nth-child(even) {
    background: var(--paper);
}
.admin-table input[type="text"],
.admin-table input[type="url"] {
    width: 100%;
    padding: .3rem .4rem;
    font-size: .8rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    box-sizing: border-box;
}
.admin-table .logo-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    text-align: center;
}

.btn-secondary.active-sort {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.org-divider {
    grid-column: 1 / -1;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    padding: .5rem 0 .25rem;
    border-bottom: 1px solid var(--border);
    margin-top: .5rem;
}
.org-group-heading {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    margin: 1.25rem 0 .4rem;
}
.org-group-heading:first-of-type {
    margin-top: 0;
}

.org-list-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem .75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: .4rem;
    background: var(--card-bg);
}
.org-list-logo {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.org-list-logo-placeholder {
    background: var(--border);
}
.org-list-name {
    font-weight: 700;
    flex: 1;
    min-width: 0;
}
.org-list-meta {
    font-size: .75rem;
    color: var(--muted);
    white-space: nowrap;
}



