@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
	--primary-400: #22d3ee; /* cyan-400 */
	--primary-500: #06b6d4; /* cyan-500 */
	--indigo-400: #818cf8;
	--slate-200: #e5e7eb;
	--slate-300: #cbd5e1;
	--slate-400: #94a3b8;
	--slate-700: #334155;
	--slate-800: #1f2937;
	--slate-900: #0f172a;
}

body {
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	/* Dark neon theme to match provided reference */
	background:
		radial-gradient(circle at 15% -10%, rgba(56,189,248,0.12), transparent 35%),
		radial-gradient(circle at 85% 110%, rgba(99,102,241,0.10), transparent 35%),
		linear-gradient(135deg, #0f172a, #060b18);
    min-height: 100vh;
    padding: 20px;
	color: #e2e8f0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.header {
	/* glass */
	background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(15,23,42,0.7));
    padding: 20px 30px;
    border-radius: 10px;
	box-shadow: 0 20px 40px rgba(15,23,42,0.45);
	border: 1px solid rgba(148,163,184,0.15);
	backdrop-filter: blur(18px);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
	font-family: 'Poppins', system-ui, sans-serif;
	color: var(--primary-400);
    font-size: 28px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info {
	color: var(--slate-300);
    font-size: 14px;
}

/* Cards */
.card {
	background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(15,23,42,0.75));
    padding: 30px;
    border-radius: 10px;
	box-shadow: 0 20px 40px rgba(15,23,42,0.45);
	border: 1px solid rgba(148,163,184,0.15);
	backdrop-filter: blur(18px);
    margin-bottom: 20px;
}

.card h2 {
	font-family: 'Poppins', system-ui, sans-serif;
	color: var(--slate-200);
    margin-bottom: 10px;
    font-size: 24px;
}

.subtitle {
	color: var(--slate-400);
    margin-bottom: 20px;
    font-size: 14px;
}

/* Login/Register Box */
.login-box,
.register-box {
	background: linear-gradient(135deg, rgba(15,23,42,0.9), rgba(15,23,42,0.75));
    padding: 40px;
    border-radius: 10px;
	box-shadow: 0 20px 40px rgba(15,23,42,0.45);
	border: 1px solid rgba(148,163,184,0.15);
	backdrop-filter: blur(18px);
    max-width: 450px;
    margin: 50px auto;
}

.login-box h2,
.register-box h2 {
	font-family: 'Poppins', system-ui, sans-serif;
	color: var(--slate-200);
    margin-bottom: 5px;
    text-align: center;
}

.login-box .subtitle,
.register-box .subtitle {
    text-align: center;
    margin-bottom: 30px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
	color: var(--slate-300);
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
	border: 1.5px solid rgba(148,163,184,0.25);
	background: rgba(2, 6, 23, 0.6);
	color: #e2e8f0;
	border-radius: 12px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
	border-color: var(--primary-400);
	box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
	border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
	background: linear-gradient(135deg, var(--primary-500), #6366f1);
	color: #0f172a;
	box-shadow: 0 15px 30px rgba(8, 15, 40, 0.35);
}

.btn-primary:hover {
	opacity: 0.9;
    transform: translateY(-2px);
	box-shadow: 0 18px 36px rgba(8, 15, 40, 0.45);
}

.btn-secondary {
	background: rgba(2, 6, 23, 0.7);
	border: 1.5px solid rgba(148,163,184,0.3);
	color: #e2e8f0;
}

.btn-secondary:hover {
	background: rgba(2, 6, 23, 0.8);
	border-color: rgba(34,211,238,0.4);
}

.btn-danger {
	background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
}

.btn-block {
    width: 100%;
    display: block;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
	border: 1px solid rgba(148, 163, 184, 0.2);
}

.alert-success {
	background: rgba(16,185,129,0.14);
	color: #a7f3d0;
	border-color: rgba(16,185,129,0.35);
}

.alert-error {
	background: rgba(239,68,68,0.15);
	color: #fecaca;
	border-color: rgba(239,68,68,0.35);
}

.alert-warning {
	background: rgba(245,158,11,0.12);
	color: #fde68a;
	border-color: rgba(245,158,11,0.35);
}

.alert-info {
	background: rgba(56,189,248,0.10);
	color: #bae6fd;
	border-color: rgba(56,189,248,0.30);
}

/* Table */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
	background: rgba(2, 6, 23, 0.45);
	border: 1px solid rgba(148,163,184,0.18);
	color: #e2e8f0;
}

.table thead {
	background: rgba(15, 23, 42, 0.8);
}

.table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
	color: var(--slate-300);
	border-bottom: 2px solid rgba(148,163,184,0.22);
    font-size: 14px;
}

.table td {
    padding: 12px;
	border-bottom: 1px solid rgba(148,163,184,0.15);
    font-size: 14px;
}

.table tbody tr:hover {
	background: rgba(2,6,23,0.6);
}

.table tbody tr.expired {
	background: rgba(239,68,68,0.08);
}

.table tbody tr.expired td {
	color: var(--slate-300);
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-success {
	background: rgba(34,197,94,0.18);
	color: #bbf7d0;
}

.badge-danger {
	background: rgba(239,68,68,0.18);
	color: #fecaca;
}

.badge-warning {
	background: rgba(245,158,11,0.18);
	color: #fde68a;
}

/* Code */
code {
	background: rgba(2, 6, 23, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
	color: #93c5fd;
}

/* User Details */
.user-details {
    margin-top: 20px;
}

.detail-row {
    display: flex;
    padding: 15px 0;
	border-bottom: 1px solid rgba(56,189,248,0.12);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
	color: var(--slate-400);
    width: 200px;
    flex-shrink: 0;
}

.detail-value {
	color: #e2e8f0;
    flex: 1;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

/* Links */
.link {
	color: var(--primary-400);
    text-decoration: none;
    font-size: 14px;
}

.link:hover {
    text-decoration: underline;
}

/* Text Utilities */
.text-center {
    text-align: center;
}

.text-danger {
    color: #dc3545;
}

.text-success {
    color: #28a745;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 20px;
}

/* Package Grid */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.package-card {
	background: rgba(2, 6, 23, 0.45);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
	border: 1px solid rgba(148,163,184,0.18);
    transition: all 0.3s;
}

.package-card:hover {
	border-color: var(--primary-400);
    transform: translateY(-5px);
	box-shadow: 0 8px 24px rgba(8,15,40,0.45);
}

.package-card h4 {
	color: #e2e8f0;
    margin-bottom: 10px;
    font-size: 18px;
}

.package-price {
    font-size: 24px;
    font-weight: bold;
	color: var(--primary-400);
    margin-bottom: 15px;
}

/* QRIS Section */
.qris-section {
    margin: 30px 0;
    text-align: center;
}

.qris-container {
	background: rgba(15, 23, 42, 0.94);
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.6);
	border: 1px solid rgba(148,163,184,0.15);
}

.qris-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.payment-section {
    margin-top: 20px;
}

.payment-details {
	background: rgba(2,6,23,0.45);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.payment-summary {
	background: rgba(2,6,23,0.45);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.payment-summary h3 {
    margin-bottom: 15px;
	color: var(--primary-400);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .table {
        font-size: 12px;
    }
    
    .table th,
    .table td {
        padding: 8px;
    }
    
    .detail-row {
        flex-direction: column;
    }
    
    .detail-label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .action-buttons form,
    .action-buttons .btn {
        width: 100%;
    }
    
    .package-grid {
        grid-template-columns: 1fr;
    }
    
    .qris-image {
        max-width: 100%;
    }
}

