html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: sans-serif;
    text-align: center;
    background: linear-gradient(to bottom right, #0077b6, #00b4d8);
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card {
    background: #ffffff;
    width: 300px;
    margin: auto;
    padding: 30px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

h1 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #0077b6;
}

.title {
    position: relative;
    display: inline-block;
    font-size: 2em;
    color: #0077b6;
}

.live-badge {
    position: absolute;
    top: .6em;
    right: -2.0em;
    font-size: 0.5em;
    color: #fb8f14;
    font-weight: bold;
    transform: rotate(-20deg);
    pointer-events: none;
    user-select: none;
    padding: 1px 1px;
    border-radius: 1px;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.0em;
    color: #555;
    margin-bottom: 25px;
}

.subtitle2 {
    font-size: 1.2em;
    color: #0077b6;
    margin-bottom: 25px;
}

.event-box {
  position: relative; /* ← required for absolute positioning inside */
  border: 2px solid #0077b6;
  border-radius: 12px;
  padding: 20px 10px;
  margin: 20px 0;
  width: 100%;
  box-sizing: border-box;
}


.section-label {
    font-size: 1.2em;
    color: #000;
    margin: 0 0 5px;
}

.lineup-note {
    font-size: 1.2em;
    color: #000;
    margin-top: 5px;
}

#eventNumber {
    font-size: 5em;
    margin: 5px 0;
    color: #023e8a;
    transition: background-color 0.5s ease;
}

#lastUpdated {
    position: absolute;
    bottom: 6px;
    right: 10px;
    font-size: 0.75em;
    color: #7d7d7d;
}

/* .flash {
  animation: flash-bg 0.5s ease;
}

@keyframes flash-bg {
  from { background-color: #eb740c; }
  to   { background-color: transparent; }
} */

form {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.inline-edit {
    width: 100%;
    display: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}

/* Shared button/input styling */
input[type="number"],
.btn {
    font-size: 1.0em;
    padding: 10px 20px;
    margin: 0;
    border-radius: 12px;
    height: 48px; /* fixed height for consistent vertical alignment */
}

/* Input-specific tweaks */
input[type="number"] {
    padding: 0;
    border: 3px solid #ccc;
    width: 120px;
    text-align: center;
}

/* Button-specific tweaks */
.btn {
    border: none;
    background: #0077b6;
    color: white;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn:hover {
    background: #005f8d;
}

.btn-cta {
    background: #fb8f14;
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 0.02em;
}

.btn-cta:hover {
    background: #e07800;
}

.btn_text {
    font-size: 0.9em;
    padding: 10px 20px;
    margin: 15px 5px;
    color: #0077b6;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.subtitle3 {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 4px;
}

/* ── Dashboard ── */

.center-view {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.btn-full {
    width: 100%;
    margin-top: 8px;
    box-sizing: border-box;
}

.dashboard {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* override body's justify-content: center */
}

.dash-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
}

.dash-title {
    font-size: 1.2em;
    font-weight: bold;
    color: white;
}

.live-badge-inline {
    font-size: 0.65em;
    color: #fb8f14;
    font-weight: bold;
    margin-left: 1px;
}

.dash-user {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 0.85em;
}

.btn-link {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 0.85em;
    text-decoration: underline;
    padding: 0;
}

.dash-main {
    padding: 20px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.dash-card {
    width: auto;
    max-width: 100%;
    margin-bottom: 20px;
    text-align: left;
}

.card-heading {
    font-size: 1.05em;
    color: #0077b6;
    margin: 0 0 14px;
}

.create-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.text-input {
    font-size: 1em;
    padding: 10px 14px;
    border: 2px solid #ccc;
    border-radius: 12px;
    width: 100%;
    box-sizing: border-box;
}

.text-input:focus {
    border-color: #0077b6;
    outline: none;
}

.meet-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.meet-info {
    flex: 1;
}

.meet-name {
    font-weight: bold;
    font-size: 1em;
    color: #023e8a;
}

.meet-meta {
    font-size: 0.8em;
    color: #777;
    margin-top: 2px;
}

.meet-event {
    font-size: 0.85em;
    color: #0077b6;
    margin-top: 4px;
}

.meet-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.85em;
    height: auto;
    border-radius: 8px;
    text-align: center;
    white-space: nowrap;
}

.btn-outline {
    background: white;
    color: #0077b6;
    border: 2px solid #0077b6;
}

.btn-outline:hover {
    background: #e8f4fb;
}

.empty-state {
    color: #999;
    font-size: 0.9em;
    text-align: center;
    padding: 10px 0;
    margin: 0;
}

.request-intro {
    font-size: 0.9em;
    color: #555;
    margin: 0 0 12px;
}

.text-area {
    height: 80px;
    resize: vertical;
}

.request-message {
    font-size: 0.85em;
    color: #555;
    font-style: italic;
    margin-top: 4px;
}

.status-badge {
    display: inline-block;
    font-size: 0.75em;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.status-pending  { background: #fff3cd; color: #856404; }
.status-approved { background: #d1e7dd; color: #0a5c36; }
.status-denied   { background: #f8d7da; color: #842029; }

.btn-danger {
    background: white;
    color: #dc3545;
    border: 2px solid #dc3545;
}

.btn-danger:hover {
    background: #dc3545;
    color: white;
}

.creator-group {
    margin-bottom: 16px;
}

.creator-header {
    font-size: 0.85em;
    font-weight: bold;
    color: #0077b6;
    padding: 6px 0 8px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.creator-header:hover {
    color: #005f8d;
}

.creator-chevron {
    font-style: normal;
    transition: transform 0.2s ease;
    display: inline-block;
}

.creator-group.open .creator-chevron {
    transform: rotate(90deg);
}

.creator-meets {
    display: none;
}

.creator-group.open .creator-meets {
    display: block;
}

.meet-count {
    font-weight: normal;
    color: #999;
}

.meet-count {
    font-weight: normal;
    color: #999;
}

/* ── Marketing section ── */

.marketing-card {
    text-align: left;
    padding: 24px;
}

.marketing-hero {
    margin-bottom: 20px;
}

.marketing-tagline {
    font-size: 1.2em;
    font-weight: bold;
    color: #023e8a;
    margin-bottom: 8px;
}

.marketing-desc {
    font-size: 0.95em;
    color: #444;
    line-height: 1.5;
}

.marketing-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.marketing-feature {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.4em;
    flex-shrink: 0;
    margin-top: 1px;
}

.marketing-feature strong {
    display: block;
    font-size: 0.95em;
    color: #023e8a;
    margin-bottom: 2px;
}

.marketing-feature p {
    font-size: 0.85em;
    color: #555;
    line-height: 1.4;
    margin: 0;
}

.pricing-box {
    background: linear-gradient(to bottom right, #0077b6, #00b4d8);
    color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
}

.pricing-amount {
    font-size: 3em;
    font-weight: bold;
    line-height: 1;
}

.pricing-period {
    font-size: 1em;
    opacity: 0.9;
    margin-top: 4px;
}

.pricing-note {
    font-size: 0.8em;
    opacity: 0.75;
    margin-top: 6px;
}

.marketing-contact {
    text-align: center;
    font-size: 0.9em;
    color: #555;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-link {
    color: #0077b6;
    text-decoration: none;
    font-weight: bold;
}

.contact-link:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {

    form {
        width: 100%;
    }

    .inline-edit {
        flex-direction: column;
        gap: 6px;
        width: 100%;
    }

    input[type="number"],
    .btn {
        width: 100%;
        font-size: 1.2em;
        padding: 10px 20px;
        margin: 7px 0;
        box-sizing: border-box;
        height: 48px;
    }

    .btn_text {
        width: 100%;
        font-size: 1.2em;
        padding: 10px 20px;
        margin: 7px 0;
        box-sizing: border-box;
        height: auto;
    }

    #eventNumber {
        font-size: 4em;
    }

    #lastUpdated {
    font-size: 0.65em;
    }
}
