:root {
    --primary: #2563eb;
    --bg: #f3f4f6;
    --card-bg: #ffffff;
    --text: #1f2937;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

.container {
    width: 100%;
    max-width: 450px;
    text-align: center;
}

header h1 { margin-bottom: 5px; color: var(--primary); }
header p { color: #6b7280; margin-top: 0; }

.card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    transition: all 0.3s ease;
}

.hidden { display: none; }

/* Form Styles */
.form-group { text-align: left; margin-bottom: 15px; }
label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 5px; }
input, select {
    width: 100%;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box; /* Fix padding issue */
}

/* Buttons */
.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}
.btn-secondary {
    width: 100%;
    padding: 10px;
    background-color: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    margin-top: 15px;
    cursor: pointer;
}
.btn-link {
    background: none; border: none; color: #6b7280;
    text-decoration: underline; margin-top: 15px; cursor: pointer;
}

/* Ticket Styles */
.ticket-card {
    border: 2px dashed #e5e7eb;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    background: #fff;
}
.qr-holder {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}
.badge {
    background: #dbeafe;
    color: #1e40af;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin: 5px 0;
}
.ticket-id { font-family: monospace; color: #9ca3af; font-size: 0.9rem; }