* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Segoe UI', sans-serif; 
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    min-height: 100vh;
    color: #fff;
    color-scheme: dark;
}
.container { max-width: 1200px; margin: 0 auto; padding: 20px; }
.card {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}
.card h2 { margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }

.nav {
    background: rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.nav a { color: #888; text-decoration: none; padding: 8px 16px; border-radius: 8px; }
.nav a:hover, .nav a.active { background: rgba(255,255,255,0.1); color: #fff; }
.nav .brand { font-weight: bold; font-size: 18px; color: #fff; margin-right: auto; }
.nav .nav-links { display: flex; gap: 10px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: #aaa; }
.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 14px;
}
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #667eea;
}
select option {
    background: #1a1a2e;
    color: #fff;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.btn-success { background: linear-gradient(135deg, #11998e, #38ef7d); color: #fff; }
.btn-danger { background: #dc3545; color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.1); color: #fff; }

.alert { padding: 15px; border-radius: 8px; margin-bottom: 20px; }
.alert-success { background: rgba(40, 167, 69, 0.2); border: 1px solid #28a745; }
.alert-error { background: rgba(220, 53, 69, 0.2); border: 1px solid #dc3545; }
.alert-info { background: rgba(23, 162, 184, 0.2); border: 1px solid #17a2b8; }

.login-box {
    max-width: 400px;
    margin: 100px auto;
}
.login-box h1 { text-align: center; margin-bottom: 30px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 25px; }
.stat-card { background: linear-gradient(135deg, #667eea, #764ba2); padding: 20px; border-radius: 12px; text-align: center; }
.stat-card.success { background: linear-gradient(135deg, #11998e, #38ef7d); }
.stat-card.warning { background: linear-gradient(135deg, #f093fb, #f5576c); }
.stat-card.info { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.stat-value { font-size: 28px; font-weight: bold; }
.stat-label { font-size: 13px; opacity: 0.9; margin-top: 5px; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.05); }
th { background: rgba(255,255,255,0.05); font-size: 12px; text-transform: uppercase; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; }
.badge-pending { background: #ffc107; color: #000; }
.badge-paid { background: #28a745; }
.badge-failed { background: #dc3545; }

.qr-code img { max-width: 200px; }

/* Modal styles */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); overflow: auto; }
.modal-content { background: #16213e; margin: 5% auto; padding: 30px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); width: 100%; max-width: 500px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.close { color: #888; font-size: 28px; font-weight: bold; cursor: pointer; transition: 0.2s; }
.close:hover { color: #fff; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 15px; }
.service-item { background: rgba(255,255,255,0.03); padding: 15px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); }
.service-item.selected { border-color: #28a745; background: rgba(40, 167, 69, 0.1); }
