/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #e5e5e5;
    background-color: #131315;
}

/* Navigation */
.navbar {
    background: #1a1a1c;
    border-bottom: 1px solid #2a2a2c;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-container {
    width: 80vw;
    max-width: 80vw;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.nav-brand h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff2770;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.nav-links a:hover {
    color: #ff2770;
    border-bottom-color: #ff2770;
}

/* Main content */
.main-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem 20px;
}

/* Override for tickets page to allow full width table */
.tickets-main {
    max-width: none;
    padding: 2rem 5%;
    width: 100%;
}

/* Override for logs page to allow full width table */
.logs-main {
    max-width: none;
    padding: 2rem 5%;
    width: 100%;
}

.tickets-page {
    width: 100%;
}

/* Page headers */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    width: 80vw;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.page-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #e5e5e5;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: #a0a0a0;
    font-size: 1rem;
}

/* Page stats */
.page-stats {
    color: #a0a0a0;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Tables */
.table-container {
    background: #1a1a1c;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    overflow-x: auto;
    overflow-y: hidden;
    width: 80vw;
    max-width: 80vw;
    margin: 0 auto;
}

.data-table {
    width: 100%;
    min-width: 1200px;
    border-collapse: collapse;
}

.data-table th {
    background-color: #0f0f10;
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 600;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table td {
    padding: 1rem 1.5rem;
    border-top: 1px solid #2a2a2c;
    font-size: 0.875rem;
    color: #e5e5e5;
}

.data-table tbody tr {
    transition: background-color 0.2s;
}

.table-row {
    cursor: default;
}

.table-row:hover {
    background-color: transparent;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-valid {
    background-color: #d1fae5;
    color: #065f46;
}

.status-invalid {
    background-color: #fee2e2;
    color: #991b1b;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background-color: #ff2770;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #e61f63;
}

.btn-secondary {
    background-color: #2a2a2c;
    color: #e5e5e5;
}

.btn-secondary:hover {
    background-color: #3a3a3c;
}

/* Back link */
.back-link {
    color: #ff2770;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    display: inline-block;
}

.back-link:hover {
    color: #e61f63;
    text-decoration: underline;
}

/* Filter styles */
.filters-container {
    background: #1a1a1c;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    width: 80vw;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

.filters-row {
    display: flex;
    gap: 2rem;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filter-group label {
    font-weight: 500;
    color: #e5e5e5;
    font-size: 0.875rem;
}

.filter-select {
    padding: 0.75rem;
    border: 1px solid #2a2a2c;
    border-radius: 6px;
    font-size: 0.875rem;
    background-color: #0f0f10;
    color: #e5e5e5;
    transition: border-color 0.2s;
}

.filter-select:focus {
    outline: none;
    border-color: #ff2770;
    box-shadow: 0 0 0 3px rgba(255, 39, 112, 0.2);
}

.filter-input {
    padding: 0.75rem;
    border: 1px solid #2a2a2c;
    border-radius: 6px;
    font-size: 0.875rem;
    background-color: #0f0f10;
    color: #e5e5e5;
    transition: border-color 0.2s;
}

.filter-input:focus {
    outline: none;
    border-color: #ff2770;
    box-shadow: 0 0 0 3px rgba(255, 39, 112, 0.2);
}

.filter-input::placeholder {
    color: #9ca3af;
}

/* Logs page styles */
.logs-page {
    width: 100%;
}

.logs-page .page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    width: 80vw;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

.page-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #e5e5e5;
}

.no-logs {
    padding: 2rem;
    text-align: center;
    color: #a0a0a0;
}

.no-tickets {
    padding: 2rem;
    text-align: center;
    color: #a0a0a0;
    background: #1a1a1c;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-top: 1rem;
    width: 80vw;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

.logs-list {
    max-height: 70vh;
    overflow-y: auto;
}

.log-entry {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #2a2a2c;
    transition: background-color 0.2s;
}

.log-entry:hover {
    background-color: #0f0f10;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.log-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.log-time {
    font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
    font-size: 0.75rem;
    color: #6b7280;
    min-width: 150px;
}

.log-level {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.log-level-debug {
    background-color: #f3f4f6;
    color: #6b7280;
}

.log-level-info {
    background-color: #dbeafe;
    color: #1e40af;
}

.log-level-warn {
    background-color: #fef3c7;
    color: #92400e;
}

.log-level-error {
    background-color: #fee2e2;
    color: #dc2626;
}

.log-level-log {
    background-color: #f0fdf4;
    color: #166534;
}

.log-source {
    font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
    font-size: 0.75rem;
    color: #a0a0a0;
    background-color: #0f0f10;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.log-message {
    font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
    font-size: 0.875rem;
    color: #e5e5e5;
    white-space: pre-wrap;
    word-break: break-word;
}

.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
    padding: 1rem 0;
    width: 80vw;
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

.pagination-info {
    color: #a0a0a0;
    font-size: 0.875rem;
}

.pagination-controls {
    display: flex;
    gap: 0.5rem;
}

/* Error message */
.error-message {
    background: rgba(255, 39, 112, 0.1);
    color: #ff2770;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 39, 112, 0.3);
    margin-top: 1rem;
}

/* Success message */
.success-message {
    background: rgba(255, 39, 112, 0.1);
    color: #ff2770;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 39, 112, 0.3);
    margin-bottom: 2rem;
    text-align: center;
}

.success-message h3 {
    color: #ff2770;
    margin-bottom: 0.5rem;
}

/* Signup page styles */
.signup-page {
    width: 100%;
}

.loading-state {
    text-align: center;
    padding: 2rem;
    color: #a0a0a0;
}

/* Personalization container */
.personalization-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 1rem;
}

.personalization-card {
    background: #1a1a1c;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header h3 {
    color: #e5e5e5;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: #a0a0a0;
    font-size: 0.875rem;
}

.personalization-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hidden {
    display: none;
}

/* Events container */
.events-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Dashboard Styles */
.dashboard-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Hero Section */
.dashboard-hero {
    background: linear-gradient(135deg, #1a1a1c 0%, #2a1a2a 100%);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 39, 112, 0.2);
}

.hero-content {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #a0a0a0;
}

/* Stats Cards */
.dashboard-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 90px;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff2770;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: #a0a0a0;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Dashboard Sections */
.dashboard-section {
    margin-bottom: 3rem;
}

.section-header-new {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-icon {
    font-size: 1.75rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 39, 112, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.section-subtitle {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin: 0.25rem 0 0 0;
}

/* Empty State */
.empty-state {
    background: #1a1a1c;
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.75rem;
}

.empty-state-text {
    font-size: 1rem;
    color: #a0a0a0;
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.6;
}

/* All Registered Hint */
.all-registered-hint {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    text-align: center;
    color: #22c55e;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header-new {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .section-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
}

.event-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.event-card {
    background: #1a1a1c;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
    overflow: hidden;
    max-width: 450px;
}

.event-card.has-cover {
    padding: 0;
}

.event-card-cover {
    width: 100%;
}

.event-card-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.event-card-content {
    padding: 1.5rem;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Personalization card states */
.event-card.personalization-pending {
    border: 2px solid #ff2770;
    background: linear-gradient(135deg, #1a1a1c 0%, rgba(255, 39, 112, 0.05) 100%);
}

.event-card.personalization-complete {
    border: 2px solid rgba(34, 197, 94, 0.5);
    background: linear-gradient(135deg, #1a1a1c 0%, rgba(34, 197, 94, 0.05) 100%);
}

.personalization-status {
    margin-top: 1rem;
}

.status-description {
    color: #a0a0a0;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-card-header {
    margin-bottom: 1rem;
}

.event-card-header h3 {
    color: #e5e5e5;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Ticket type badges */
.ticket-type-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 0.5rem;
}

.ticket-type-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background-color: rgba(255, 39, 112, 0.15);
    color: #ff2770;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Location link */
.location-link,
.location-link:visited {
    color: #a0a0a0;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.location-link:hover {
    color: #ff2770;
    text-decoration-style: solid;
}

/* Host info */
.host-info {
    color: #a0a0a0;
    font-size: 0.8rem;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.event-card-header .status-text {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.success-text {
    color: #22c55e;
}

.warning-text {
    color: #ff2770;
}

.waitlist-text {
    color: #f59e0b;
}

.error-text {
    color: #dc3545;
    font-weight: 600;
}

.info-text {
    color: #ffc107;
    font-weight: 600;
}

/* Disabled event cards */
.event-card.event-disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.event-card.event-disabled:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.event-locked-message {
    color: #ff2770;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0.75rem 0;
    padding: 0.5rem;
    background: rgba(255, 39, 112, 0.1);
    border-radius: 6px;
    border-left: 3px solid #ff2770;
}

.btn:disabled,
.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #6b7280;
}

.btn:disabled:hover,
.btn-primary:disabled:hover {
    background-color: #6b7280;
    transform: none;
    box-shadow: none;
}

.event-signup-form {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #2a2a2c;
}

.signup-success {
    background: rgba(255, 39, 112, 0.1);
    color: #ff2770;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 39, 112, 0.3);
    text-align: center;
}

.signup-success h3 {
    color: #ff2770;
    margin-bottom: 0.5rem;
}

.signup-success small {
    color: #a0a0a0;
    font-size: 0.75rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .main-content {
        padding: 1rem;
    }

    .filters-row {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        min-width: 100%;
    }

    .data-table {
        font-size: 0.75rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .log-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .log-time {
        min-width: auto;
    }

    .event-cards {
        grid-template-columns: 1fr;
    }

    .event-card {
        max-width: none;
    }

    .personalization-card {
        padding: 1.5rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem 10px;
    }

    .nav-container {
        padding: 0 10px;
    }

    .data-table {
        font-size: 0.75rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }

    .personalization-card {
        padding: 1rem;
    }

    .card-header h3 {
        font-size: 1.25rem;
    }

    .event-card {
        padding: 1rem;
    }

    .event-card-header h3 {
        font-size: 1.125rem;
    }

    .container {
        width: 95%;
        padding: 1rem;
    }

    .form-section {
        padding: 1rem;
    }
}

/* Personalization form styles */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.container h1 {
    color: #e5e5e5;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #a0a0a0;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.form-section {
    background: #1a1a1c;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-section h2 {
    color: #e5e5e5;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #2a2a2c;
}

.form-note {
    color: #a0a0a0;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: rgba(255, 39, 112, 0.05);
    border-radius: 6px;
    border-left: 3px solid #ff2770;
}

.field-hint {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.required {
    color: #ff2770;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group input[type="file"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #2a2a2c;
    border-radius: 6px;
    font-size: 0.875rem;
    background-color: #0f0f10;
    color: #e5e5e5;
    transition: border-color 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff2770;
    box-shadow: 0 0 0 3px rgba(255, 39, 112, 0.2);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #6b7280;
}

.checkbox-group {
    padding: 1rem;
    background: rgba(255, 39, 112, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(255, 39, 112, 0.2);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
    min-width: 16px;
}

.checkbox-group span {
    color: #e5e5e5;
    font-size: 0.875rem;
    line-height: 1.5;
}

.char-count {
    text-align: right;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background-color: #ff2770;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: #e61f63;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 39, 112, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 2rem;
}

.success-container .success-message {
    background: #1a1a1c;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding: 3rem;
    max-width: 600px;
    text-align: center;
}

.success-container .success-message h2 {
    color: #ff2770;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.success-container .success-message p {
    color: #a0a0a0;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.success-container .btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #ff2770;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
}

.success-container .btn-primary:hover {
    background-color: #e61f63;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 39, 112, 0.3);
}

.error-details {
    font-size: 0.875rem;
    color: #a0a0a0;
    margin-top: 0.5rem;
    font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
}

.card-body {
    padding: 1rem 0;
}

.card-body .btn-primary {
    width: 100%;
    display: block;
    text-align: center;
}

/* Event Detail Page */
.event-detail-card {
    background: #1a1a1c;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.event-detail-cover {
    width: 100%;
}

.event-detail-cover img {
    width: 100%;
    height: auto;
    display: block;
}

.event-detail-content {
    padding: 2rem;
}

.event-detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.event-detail-host {
    color: #e5e5e5;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Status Badges */
.event-status-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
}

.event-status-badge.status-registered {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.event-status-badge.status-waitlist {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.event-status-badge.status-pending {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.event-status-badge.status-invited {
    background: rgba(139, 92, 246, 0.15);
    color: #8b5cf6;
}

.event-status-badge.status-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* Meta Info */
.event-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.event-detail-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.meta-icon {
    font-size: 1.25rem;
    color: #ff2770;
    min-width: 24px;
}

.meta-value {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.meta-subvalue {
    color: #a0a0a0;
    font-size: 0.875rem;
    margin: 0.25rem 0 0 0;
}

.deadline-passed {
    color: #ef4444 !important;
}

/* Description */
.event-detail-description {
    margin: 2rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.event-detail-description h3 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.event-detail-description p {
    color: #e5e5e5;
    line-height: 1.7;
    white-space: pre-wrap;
}

/* View Details Link */
.view-details-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.view-details-link {
    color: #ff2770;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.2s;
}

.view-details-link:hover {
    color: #e61f63;
}

.view-details-link .arrow {
    transition: transform 0.2s;
}

.view-details-link:hover .arrow {
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 768px) {
    .event-detail-content {
        padding: 1.5rem;
    }

    .event-detail-title {
        font-size: 1.5rem;
    }
}

/* Filter Bar (Collapsible) */
.filter-bar {
    background: #1a1a1c;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #e5e5e5;
    list-style: none;
    user-select: none;
    transition: background 0.2s;
}

.filter-toggle::-webkit-details-marker {
    display: none;
}

.filter-toggle:hover {
    background: rgba(255, 255, 255, 0.03);
}

.filter-toggle-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid #ff2770;
    border-bottom: 2px solid #ff2770;
    transform: rotate(45deg);
    transition: transform 0.2s;
    margin-top: -3px;
}

.filter-bar[open] .filter-toggle-icon {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.filter-toggle-label {
    white-space: nowrap;
}

.filter-tags-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.filter-clear-inline {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 0.25rem;
}

.filter-clear-inline:hover {
    color: #ff2770;
}

.filter-content {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    padding-top: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.filter-group.filter-search {
    flex: 1;
    min-width: 250px;
}

.filter-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-select {
    padding: 0.625rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: #0f0f10;
    color: #e5e5e5;
    font-size: 0.875rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.filter-select:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-select:focus {
    outline: none;
    border-color: #ff2770;
}

.filter-input {
    flex: 1;
    padding: 0.625rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    background: #0f0f10;
    color: #e5e5e5;
    font-size: 0.875rem;
}

.filter-input:focus {
    outline: none;
    border-color: #ff2770;
}

.filter-input::placeholder {
    color: #6b7280;
}

.btn-small {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: rgba(255, 39, 112, 0.15);
    color: #ff2770;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.filter-tag-remove {
    color: #ff2770;
    text-decoration: none;
    font-weight: 600;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.filter-tag-remove:hover {
    opacity: 1;
}

.filter-clear {
    color: #ff2770;
    text-decoration: none;
    font-weight: 500;
    margin-left: auto;
}

.filter-clear:hover {
    text-decoration: underline;
}

/* Responsive Filter Bar */
@media (max-width: 768px) {
    .filter-toggle {
        padding: 1rem;
    }

    .filter-content {
        padding: 0 1rem 1rem 1rem;
    }

    .filter-row {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-group {
        width: 100%;
        min-width: auto;
    }

    .filter-group.filter-search {
        min-width: auto;
    }
}
