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

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --border-color: #e2e8f0;
    --border-color-focus: rgba(99, 102, 241, 0.5);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --primary: #4f46e5;
    --primary-gradient: #0f172a; /* Slate 900 for premium flat minimalism */
    --primary-hover-gradient: #1e293b;
    
    --accent: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    
    --glow-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    --glass-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    padding: 2rem 1rem;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Minimalist Card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    width: 100%;
    max-width: 500px;
    padding: 2.5rem;
    transition: box-shadow var(--transition-normal);
}

.glass-card:hover {
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Title & Header styles */
.header-container {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.logo-badge {
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.15);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.main-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.main-title.long-title {
    font-size: 1.65rem;
    line-height: 1.25;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
}

.event-theme {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
}


/* Form Styles */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.form-group:focus-within .form-label {
    color: var(--primary);
}

.input-container {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: color var(--transition-fast);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.form-group:focus-within .input-icon {
    color: var(--primary);
}

.form-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--text-muted);
}

/* Style for select placeholder option */
select.form-input:invalid {
    color: var(--text-muted);
}
select.form-input option[value=""] {
    color: var(--text-muted);
}
select.form-input option {
    color: var(--text-primary);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.08);
}

/* Custom Select Dropdown / Custom Radio Buttons for Gender */
.gender-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.gender-option {
    position: relative;
}

.gender-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.gender-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 0.5rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    text-align: center;
}

.gender-label svg {
    margin-bottom: 0.4rem;
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.gender-input:checked + .gender-label {
    background: rgba(79, 70, 229, 0.04);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 600;
}

.gender-input:checked + .gender-label svg {
    color: var(--primary);
}

.gender-label:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Checkbox Style */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-wrapper {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
}

.checkbox-wrapper input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.checkbox-custom {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.checkbox-wrapper input:checked ~ .checkbox-custom {
    background: var(--primary);
    border-color: transparent;
}

.checkbox-custom::after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-wrapper input:checked ~ .checkbox-custom::after {
    display: block;
}

.checkbox-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.checkbox-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.checkbox-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    background: var(--primary-gradient);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: var(--primary-hover-gradient);
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.btn:active {
    transform: translateY(0.5px);
}

.btn:disabled {
    background: #cbd5e1 !important;
    color: #94a3b8 !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.btn-secondary {
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: none;
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Modals & Pop-ups */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.3);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.modal-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
    opacity: 0;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.modal-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--text-primary);
    background: #f1f5f9;
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background: #f8fafc;
}

/* Payment Gateway Mock Specifics */
.payment-summary {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.payment-row:last-child {
    margin-bottom: 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--text-primary);
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin: 0.5rem auto 1rem auto;
    width: 170px;
    height: 170px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}

.qr-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-caption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.upi-apps {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin: 1.25rem 0 0.5rem 0;
}

.upi-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    gap: 0.4rem;
}

.upi-app-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.upi-app-icon img {
    width: 65%;
    height: 65%;
    object-fit: contain;
}

/* Success Card styling */
.success-card {
    text-align: center;
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: var(--success);
    animation: successPulse 1.8s infinite ease-in-out;
}

.success-title {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.success-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.whatsapp-box {
    background: rgba(16, 185, 129, 0.04);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whatsapp-box-title {
    font-size: 0.95rem;
    color: #0f766e;
    font-weight: 700;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-box-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
    line-height: 1.4;
}

.btn-whatsapp {
    background: #0f172a; /* Clean black/slate button */
    color: white;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.btn-whatsapp:hover {
    background: #1e293b;
}

/* Floating Admin Trigger */
.admin-trigger-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 99;
}

.admin-trigger-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-fast);
}

.admin-trigger-btn:hover {
    color: var(--text-primary);
    border-color: #cbd5e1;
    transform: rotate(45deg);
}

.admin-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.admin-section-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
}

.admin-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Dynamic Terms List in Admin */
.terms-editor-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem;
    background: #f8fafc;
}

.term-edit-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.term-edit-item:last-child {
    border-bottom: none;
}

.term-edit-item span {
    flex: 1;
    padding-right: 1rem;
    word-break: break-word;
}

.btn-delete-term {
    background: transparent;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: background var(--transition-fast);
}

.btn-delete-term:hover {
    background: #fef2f2;
}

.add-term-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.textarea-term {
    width: 100%;
    height: 70px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.6rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    resize: none;
    outline: none;
}

.textarea-term:focus {
    border-color: var(--primary);
}

/* Admin Registrations Table */
.registrations-table-container {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    max-height: 250px;
}

.registrations-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    text-align: left;
}

.registrations-table th {
    background: #f8fafc;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
}

.registrations-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    white-space: nowrap;
}

.registrations-table tr:hover td {
    background: #f8fafc;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Validation Errors Shake */
.shake {
    animation: shake-anim 0.4s ease-in-out;
}

@keyframes shake-anim {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.error-msg {
    color: var(--accent);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
    animation: fadeIn var(--transition-fast);
}

.error-border {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08) !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Admin passcode modal */
.passcode-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Utility to override modal sizes */
.modal-lg {
    max-width: 750px;
}

/* Tooltip or Toast alert for copy/actions */
.toast-msg {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: transform var(--transition-normal);
    z-index: 1100;
}

.toast-msg.show {
    transform: translateX(-50%) translateY(0);
}

/* Loader Animation & Styling */
.loader-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    min-height: 250px;
    background: #ffffff;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #f1f5f9;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1.5rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Country Code Phone Input Styling */
.phone-input-container {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.country-code-select {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: var(--text-primary);
    padding: 0.8rem 0.5rem 0.8rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    outline: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    width: 110px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='rgba(148,163,184,0.8)' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'></path></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 1.8rem;
}

.country-code-select:focus {
    border-color: var(--primary);
}

.country-code-select option {
    background-color: #ffffff;
    color: var(--text-primary);
    font-weight: 500;
}

.phone-number-input {
    border-radius: 0 12px 12px 0 !important;
    padding-left: 1rem !important;
    flex: 1;
}

.phone-input-container:focus-within .country-code-select {
    border-color: var(--primary);
}

/* Existing Registration Alert Banner */
.existing-reg-alert {
    display: flex;
    gap: 0.75rem;
    background: rgba(79, 70, 229, 0.04);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    animation: fadeIn 0.25s ease-out;
}

.existing-reg-alert .alert-icon {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.existing-reg-alert .alert-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.existing-reg-alert .alert-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.existing-reg-alert .alert-message {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.existing-reg-alert .alert-action-btn {
    align-self: flex-start;
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background var(--transition-fast);
}

.existing-reg-alert .alert-action-btn:hover {
    background: var(--primary-hover-gradient);
}

/* Event Portal Layout Redesign */
.portal-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    padding: 0 0.5rem;
}

@media (min-width: 992px) {
    .portal-container {
        grid-template-columns: 1.2fr 1fr;
    }
}

.portal-info-panel {
    display: flex;
    flex-direction: column;
}

.portal-form-panel {
    width: 100%;
}

.portal-form-panel .glass-card {
    max-width: 100% !important; /* Stretch card to take up form column space */
}

@media (min-width: 992px) {
    .sticky-card {
        position: sticky;
        top: 2rem;
    }
}

/* Brand Header */
.brand-header-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--glow-shadow);
}

.brand-logos-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.brand-header-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.brand-text-container {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.brand-collaborators {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: -0.01em;
}

.brand-event-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.25;
}

.brand-powered-by {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 576px) {
    .brand-header-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    .brand-logos-container {
        justify-content: center;
    }
}

/* Campaign Banner */
.campaign-banner {
    background: linear-gradient(135deg, #e11d48, #9f1239);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px -5px rgba(225, 29, 72, 0.18);
    position: relative;
    overflow: hidden;
}

.campaign-banner::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.campaign-logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
    flex-shrink: 0;
}

.campaign-content {
    flex: 1;
}

.campaign-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    margin-bottom: 0.15rem;
    text-transform: uppercase;
}

.campaign-desc {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
    line-height: 1.35;
}

@media (max-width: 480px) {
    .campaign-banner {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1rem;
    }
}

/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.detail-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
    border-color: var(--primary);
}

.detail-card-icon-wrapper {
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.detail-card-icon-wrapper svg {
    width: 24px;
    height: 24px;
}

.detail-card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.detail-card-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
}

@media (max-width: 480px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
}

/* Section Headings */
.section-heading {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Prizes */
.prizes-container {
    margin-bottom: 2rem;
}

.prizes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.prize-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--glow-shadow);
}

.prize-card:hover {
    transform: translateY(-3px);
    border-color: var(--success);
    box-shadow: 0 10px 20px -8px rgba(16, 185, 129, 0.1);
}

.prize-card.veteran {
    grid-column: span 3;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    text-align: left;
}

.prize-rank {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
    letter-spacing: 0.05em;
}

.prize-card.veteran .prize-rank {
    margin-bottom: 0;
}

.prize-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--success);
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.prize-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-top: 0.35rem;
}

.prize-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    line-height: 1.3;
}

@media (max-width: 576px) {
    .prizes-grid {
        grid-template-columns: 1fr;
    }
    .prize-card.veteran {
        grid-column: span 1;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1.25rem 1rem;
    }
}

/* Perks List */
.perks-container {
    margin-bottom: 2rem;
}

.perks-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.perk-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    box-shadow: var(--glow-shadow);
}

.perk-icon-wrapper {
    background: rgba(16, 185, 129, 0.08);
    color: var(--success);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.perk-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

@media (max-width: 480px) {
    .perks-list {
        grid-template-columns: 1fr;
    }
}

/* Partners & Organizers Section */
.partners-section {
    width: 100%;
    max-width: 1200px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.25rem 2rem;
    margin-top: 2.5rem;
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}


.partners-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.partners-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-align: center;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
}

.partner-logo {
    height: 36px;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all var(--transition-normal);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.organizers-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.organizer-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.organizer-icon {
    height: 28px;
    width: auto;
    object-fit: contain;
}

/* Location link cards */
.location-link-card {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.location-link-card:hover {
    border-color: var(--primary);
}

.location-link-card:hover .detail-card-label {
    color: var(--primary);
}

/* Success Validation States & Custom Keyframe Animations */
.success-border {
    border-color: var(--success) !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.08) !important;
}

@keyframes successPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
        transform: scale(1.04);
    }
}

.checkmark-path {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: drawCheck 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.15s forwards;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* Event Countdown Section Styling */
.countdown-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--glow-shadow);
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    min-width: 75px;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.countdown-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.countdown-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.countdown-unit {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-top: 0.1rem;
}

@media (max-width: 576px) {
    .countdown-section {
        padding: 1.25rem 1rem;
    }
    .countdown-timer {
        gap: 0.75rem;
    }
    .countdown-item {
        min-width: 60px;
        padding: 0.4rem 0.6rem;
    }
    .countdown-num {
        font-size: 1.4rem;
    }
}

/* Generic Select elements padding & arrow styling */
select.form-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='rgba(148,163,184,0.8)' stroke-width='2' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'><path stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'></path></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 14px;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Urgency Tracker styling */
.urgency-tracker {
    background: rgba(79, 70, 229, 0.03);
    border: 1px dashed rgba(79, 70, 229, 0.25);
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.urgency-text-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.urgency-pulse-icon {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    display: inline-block;
    animation: pulseRed 1.5s infinite ease-in-out;
}

@keyframes pulseRed {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
        box-shadow: 0 0 0 6px rgba(239, 68, 68, 0);
    }
}

.urgency-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
}

.urgency-progress-bar {
    width: 100%;
    height: 6px;
    background: #f1f5f9;
    border-radius: 9999px;
    overflow: hidden;
}

.urgency-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 9999px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.urgency-subtext {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Size Chart link & Modal table */
.size-guide-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.size-guide-link:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.size-table-container {
    overflow-x: auto;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-top: 0.5rem;
}

.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.size-chart-table th {
    background: #f8fafc;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.size-chart-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.size-chart-table tr:last-child td {
    border-bottom: none;
}

/* Race Route & Hydration Station Timeline styling */
.route-map-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--glow-shadow);
}

.route-intro-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    line-height: 1.45;
}

.route-track-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0.5rem;
    margin-top: 0.5rem;
}

.route-trail-line {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 4px;
    background: #e2e8f0;
    z-index: 1;
}

.route-station-node {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    cursor: pointer;
}

.route-station-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #cbd5e1;
    transition: all var(--transition-normal);
}

.route-station-label {
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
}

.route-station-node.active .route-station-dot {
    border-color: var(--primary);
    background: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.route-station-node.active .route-station-label {
    color: var(--primary);
}

.route-station-node.finish.active .route-station-dot {
    border-color: var(--success);
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.route-station-node.finish.active .route-station-label {
    color: var(--success);
}

.route-station-node:hover .route-station-dot {
    transform: scale(1.3);
    border-color: var(--primary);
}

.route-station-node.finish:hover .route-station-dot {
    border-color: var(--success);
}

.route-station-tooltip {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #0f172a;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-normal), visibility var(--transition-normal), transform var(--transition-normal);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.route-station-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #0f172a;
}

.route-station-tooltip strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    font-size: 0.85rem;
    margin-bottom: 0.2rem;
}

.route-station-tooltip span {
    color: var(--text-muted);
}

.route-station-node:hover .route-station-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 576px) {
    .glass-card {
        padding: 1.5rem;
    }
    .route-track-timeline {
        padding: 1rem 0;
    }
    .route-station-tooltip {
        white-space: normal;
        min-width: 140px;
        text-align: center;
    }
    
    /* Prevent Start and Finish node tooltips from overflowing on mobile */
    .route-trail-line + .route-station-node .route-station-tooltip {
        left: 0;
        transform: translateY(5px);
    }
    .route-trail-line + .route-station-node:hover .route-station-tooltip {
        transform: translateY(0);
    }
    .route-trail-line + .route-station-node .route-station-tooltip::after {
        left: 10px;
        transform: none;
    }
    
    .route-station-node:last-child .route-station-tooltip {
        left: auto;
        right: 0;
        transform: translateY(5px);
    }
    .route-station-node:last-child:hover .route-station-tooltip {
        transform: translateY(0);
    }
    .route-station-node:last-child .route-station-tooltip::after {
        left: auto;
        right: 10px;
        transform: none;
    }

    .analytics-metrics-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* FAQ Accordion Section styling */
.faq-container {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.faq-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.faq-header {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 1.1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: color var(--transition-fast);
    gap: 1rem;
}

.faq-header:hover {
    color: var(--primary);
}

.faq-icon-arrow {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: transform var(--transition-normal);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--glow-shadow);
}

.faq-item.active .faq-header {
    color: var(--primary);
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8fafc;
}

.faq-body p {
    padding: 1.1rem 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    border-top: 1px solid var(--border-color);
}

/* Admin Dashboard Analytics styling */
.analytics-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.metric-value-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.01);
}

.metric-title {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.25rem;
}

.metric-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.analytics-charts-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 1.5rem;
}

.chart-col {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem 1rem;
}

.chart-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 0.4rem;
}

.dist-stat-bar {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.dist-stat-bar:last-child {
    margin-bottom: 0;
}

.dist-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.dist-bar-track {
    width: 100%;
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.dist-bar-fill {
    height: 100%;
    background-color: var(--primary);
    border-radius: 4px;
    transition: width 0.6s ease;
}

.dist-value {
    align-self: flex-end;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: -0.1rem;
}

.size-stats-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.size-stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.size-stat-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    width: 25px;
}

.size-stat-bar-track {
    flex: 1;
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
}

.size-stat-bar-fill {
    height: 100%;
    background-color: #64748b;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.size-stat-count {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-primary);
    width: 25px;
    text-align: right;
}

@media (max-width: 768px) {
    .analytics-charts-row {
        grid-template-columns: 1fr;
    }
}

/* Premium Ticket Card Styles */
.ticket-card-container {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.04);
    margin-bottom: 1.5rem;
    overflow: hidden;
    position: relative;
    text-align: left;
}

.ticket-header {
    background: rgba(79, 70, 229, 0.04);
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed var(--border-color);
}

.ticket-logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticket-logo {
    height: 24px;
    width: auto;
}

.ticket-header-text {
    display: flex;
    flex-direction: column;
}

.ticket-event-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.ticket-event-subtitle {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.ticket-status-badge {
    background: #f0fdf4;
    color: #166534;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    border: 1px solid rgba(22, 101, 52, 0.15);
    letter-spacing: 0.05em;
}

.ticket-body {
    padding: 1.25rem;
}

.ticket-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.ticket-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ticket-info-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.ticket-info-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ticket-divider {
    position: relative;
    margin: 1.25rem 0;
    height: 1px;
}

.ticket-line {
    border-top: 1px dashed var(--border-color);
    width: 100%;
}

.ticket-notch {
    width: 16px;
    height: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.ticket-notch.left {
    left: -21px;
    clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%, 50% 0%);
}

.ticket-notch.right {
    right: -21px;
    clip-path: polygon(0% 0%, 50% 0%, 50% 100%, 0% 100%, 0% 0%);
}

.ticket-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-chest-container {
    display: flex;
    flex-direction: column;
}

.ticket-chest-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.ticket-chest-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit';
    line-height: 1.1;
}

.ticket-barcode-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.ticket-barcode {
    display: flex;
    height: 24px;
    align-items: stretch;
    gap: 1.5px;
    opacity: 0.75;
}

.barcode-line {
    background-color: var(--text-primary);
}

.barcode-line.w-1 { width: 1px; }
.barcode-line.w-2 { width: 2px; }
.barcode-line.w-3 { width: 3px; }
.barcode-line.w-4 { width: 4px; }

.ticket-barcode-text {
    font-family: monospace;
    font-size: 0.6rem;
    color: var(--text-muted);
}



