:root {
    --brand-primary: #3858e9;
    --brand-accent: #f4f6ff;
    --brand-dark: #2c46b2;
    --border-radius: 14px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 30px rgba(56, 88, 233, 0.15);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body {
    height: 100%;
}

body {
    background: linear-gradient(135deg, #f5f7fb 0%, #eef1f8 100%);
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar {
    border-bottom: none;
    box-shadow: var(--shadow-sm);
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-dark)) !important;
}

.showings-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.showing-card {
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.showing-card:hover {
    box-shadow: 0 15px 40px rgba(56, 88, 233, 0.2);
    border-color: var(--brand-accent);
}

.showing-card .card-header-text {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.showing-card .card-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.attendees-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.attendee-item {
    padding: 0.75rem;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.attendee-item .info {
    display: grid;
    gap: 0.125rem;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--brand-accent);
    color: var(--brand-primary);
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2b33a1, #51a6ff);
}

.auth-container {
    width: min(420px, 90vw);
}

.attendee-body {
    background: linear-gradient(145deg, #fdfbff 0%, #e7ecff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.attendee-card {
    max-width: 560px;
    width: 100%;
    border-radius: 16px;
}

.btn-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
}

.btn-primary:hover {
    background-color: #2c46b2;
    border-color: #2c46b2;
}

.d-none {
    display: none !important;
}

/* Button Improvements */
.btn {
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(56, 88, 233, 0.3);
}

.btn-primary:hover {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    box-shadow: 0 6px 16px rgba(56, 88, 233, 0.4);
    transform: translateY(-2px);
}

.btn-sm {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.btn-outline-primary:hover {
    background-color: var(--brand-accent);
    color: var(--brand-primary);
}

/* Card Improvements */
.card {
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

.card-header-text h3 {
    font-weight: 600;
    color: #111827;
}

.card-header-text p {
    font-size: 0.95rem;
}

.showing-location {
    font-weight: 700;
    color: #b91c1c;
}

/* Attendee List */
.attendee-item {
    transition: all 0.2s ease;
}

.attendee-item:hover {
    background-color: #f3f4f6;
    border-color: var(--brand-primary);
}

.attendee-item .info span:first-child {
    font-weight: 600;
    color: #111827;
}

/* Badge Improvements */
.badge {
    border-radius: 9px;
    padding: 0.4rem 0.75rem;
    font-weight: 500;
    font-size: 0.8rem;
}

.badge.bg-success {
    background-color: #d1fae5 !important;
    color: #065f46;
}

.badge.bg-secondary {
    background-color: #e5e7eb !important;
    color: #374151;
}

/* Tag/Pill */
.tag {
    background: linear-gradient(135deg, var(--brand-accent), #e0e7ff);
    font-weight: 600;
    border-radius: 12px;
}

/* Auth Page */
.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-dark) 100%);
}

.auth-body .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-body .card h1 {
    color: var(--brand-primary);
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Responsive Tables */
.table-responsive {
    border-radius: var(--border-radius);
}

.table thead {
    background-color: #f9fafb;
}

.table th {
    border: none;
    color: #374151;
    font-weight: 600;
    padding: 1rem;
}

.table td {
    border-color: #e5e7eb;
    padding: 1rem;
}

/* Modal Improvements */
.modal-content {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.modal-header {
    border-bottom: 1px solid #e5e7eb;
    background-color: #fafbfc;
}

.modal-header .modal-title {
    font-weight: 600;
    color: #111827;
}

/* Form Controls */
.form-control, .form-select {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(56, 88, 233, 0.1);
}

/* Utility Classes */
.text-muted {
    color: #6b7280 !important;
}

.small {
    font-size: 0.875rem;
}
