@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
* { margin:0; padding:0; box-sizing:border-box; font-family:'Inter', sans-serif; }
body { background:#f8fafc; color:#0f172a; display:flex; flex-direction:column; min-height:100vh; overflow-x:hidden; -webkit-font-smoothing: antialiased; }

/* Subtle light background pattern */
.event-wrap { 
    flex:1; display:flex; align-items:center; justify-content:center; padding:3rem 1rem; 
    position: relative; z-index: 1;
    background-image: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Minimalist Card */
.ticket-card { 
    background: #ffffff;
    padding: 3.5rem 3rem; 
    border-radius: 20px; 
    border: 1px solid #e2e8f0; 
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    max-width: 480px; width: 100%; text-align: center; 
    position: relative; overflow: hidden;
}

/* Accent Top Line */
.ticket-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: #0f172a;
}

.event-title { 
    font-size: 2.5rem; font-weight: 800; color: #0f172a;
    margin-bottom: 0.5rem; line-height: 1.1; letter-spacing: -0.04em;
}
.event-date { 
    color: #64748b; font-size: 1rem; font-weight: 500;
    margin-bottom: 2rem; letter-spacing: 0.5px; text-transform: uppercase;
}

/* Event Note */
.event-note {
    background: #f1f5f9; border-left: 3px solid #0f172a; padding: 1.25rem; 
    border-radius: 6px; margin: 1.5rem 0; color: #475569; 
    font-size: 0.95rem; text-align: left; line-height: 1.6;
}

/* Form Styles */
.input-g { margin-bottom: 1rem; text-align: left; }
.input-g input { 
    width: 100%; padding: 1rem 1.25rem; 
    background: #ffffff; 
    border: 1px solid #cbd5e1; 
    color: #0f172a; border-radius: 10px; outline: none; font-size: 1rem; 
    transition: all 0.2s ease; 
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}
.input-g input:focus { 
    border-color: #0f172a; 
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}
.input-g input::placeholder { color: #94a3b8; font-weight: 400; }

.btn { 
    background: #0f172a; color: #ffffff; border: none; width: 100%; padding: 1.1rem; 
    border-radius: 10px; font-weight: 600; font-size: 1.05rem; 
    cursor: pointer; margin-top: 1.5rem; transition: all 0.2s ease;
}
.btn:hover { background: #1e293b; transform: translateY(-1px); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.btn:active { transform: translateY(0); }

/* Captcha styling */
.captcha-box {
    display:flex; align-items:center; justify-content: space-between; gap:1rem; 
    background: #f8fafc; padding: 0.75rem 1rem; 
    border: 1px solid #e2e8f0; border-radius: 10px;
}
.captcha-text { font-weight:500; color:#475569; font-size:0.95rem; display:flex; align-items:center; gap:0.5rem; }
.captcha-input { width:70px !important; text-align:center; padding:0.75rem !important; background:#ffffff !important; border-color:#cbd5e1 !important; font-weight: 600 !important; box-shadow:none !important; }

/* Ticket Result */
.ticket-result { 
    background: #f8fafc; 
    padding: 2.5rem 2rem; border-radius: 16px; 
    border: 1px dashed #cbd5e1; 
    margin-top: 1.5rem; position: relative;
}
.ticket-result::before, .ticket-result::after {
    content: ''; position: absolute; top: 50%; width: 24px; height: 24px;
    background: #ffffff; border-radius: 50%; transform: translateY(-50%);
}
.ticket-result::before { left: -13px; border-right: 1px dashed #cbd5e1; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.ticket-result::after { right: -13px; border-left: 1px dashed #cbd5e1; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }

.ticket-result h3 { color: #10b981; margin-bottom: 1rem; font-size: 1.5rem; letter-spacing: -0.02em; }
.ticket-result p { color: #64748b; margin-bottom: 0.5rem; text-transform: uppercase; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; }
.ticket-result h2 { letter-spacing: 2px; font-family: monospace; color: #0f172a; font-size: 2rem; }

.qr-box { 
    background: white; padding: 12px; border-radius: 12px; 
    display: inline-block; margin-top: 1.5rem; 
    border: 1px solid #e2e8f0;
}
.qr-box img { display: block; border-radius: 4px; }

/* Admin overrides for minimalist theme */
.admin-header { background: #ffffff; padding: 1.5rem 2rem; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; position: sticky; top: 0; z-index: 10; box-shadow: 0 1px 2px rgba(0,0,0,0.02); }
.roster-table { width: 100%; max-width: 100%; margin: 2rem auto; border-collapse: separate; border-spacing: 0; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }
.roster-table th, .roster-table td { padding: 1.25rem 1.5rem; text-align: left; border-bottom: 1px solid #f1f5f9; color: #334155; }
.roster-table th { background: #f8fafc; color: #475569; font-weight: 600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; border-bottom: 1px solid #e2e8f0; }
.roster-table tr:last-child td { border-bottom: none; }
.roster-table tbody tr:hover { background: #f8fafc; }
.check-badge { padding: 6px 12px; border-radius: 6px; font-size: 0.85rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.check-in { background: #dcfce7; color: #166534; }
.check-out { background: #fef2f2; color: #991b1b; }

@media (max-width: 768px) {
    .container, .main-container, .board-container, .admin-container, .admin-wrap, .event-wrap { padding: 1rem !important; }
    .hero { padding: 3rem 1rem !important; margin-bottom: -20px !important; border-radius: 0 0 20px 20px !important; }
    .hero h1, .hero-title, .event-title, .form-card h1, .contact-card h1 { font-size: 2rem !important; }
    .admin-dashboard, .admin-layout, div[style*='grid-template-columns'] { grid-template-columns: 1fr !important; display: flex !important; flex-direction: column !important; gap: 1.5rem !important; }
    .product-grid { grid-template-columns: 1fr !important; }
    .booking-card, .ticket-card, .form-card, .contact-card, .admin-login, .shortener-box, .suggest-box, .req-item, .admin-panel, .card { width: 100% !important; max-width: 100% !important; padding: 2rem 1.5rem !important; flex-direction: column !important; align-items: stretch !important; box-sizing: border-box !important; border-radius: 16px !important; }
    .sidebar { width: 100% !important; height: auto !important; padding: 1.5rem !important; }
    .data-table, .roster-table, table { display: block !important; width: 100% !important; overflow-x: auto !important; white-space: nowrap !important; -webkit-overflow-scrolling: touch; }
    .navbar, .header, .admin-header, .admin-nav { flex-direction: column !important; text-align: center !important; gap: 1rem !important; padding: 1rem !important; }
    .btn, button, input, select, textarea { width: 100% !important; font-size: 1rem !important; box-sizing: border-box !important; }
    .input-group, .suggest-box, .captcha-box { flex-direction: column !important; gap: 1rem !important; }
    .captcha-input { width: 100% !important; }
    .vote-box { width: 100% !important; padding: 0.5rem !important; flex-direction: row !important; justify-content: center !important; gap: 0.5rem !important; }
    .vote-count { margin-top: 0 !important; }
    .ticket-result { padding: 1.5rem 1rem !important; }
    .ticket-result::before, .ticket-result::after { display: none !important; }
    table, .roster-table { min-width: 0 !important; }
}
