* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    min-height: 100vh;
    color: #fff;
}

/* Login */
#login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
}

.glass-card h1,
.glass-card h3 {
    color: #fff;
    margin-bottom: 10px;
}

.glass-card p {
    color: #bbb;
    margin-bottom: 20px;
}

.error {
    color: #ff5252;
    font-size: 14px;
    margin-top: 10px;
}

input,
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
    outline: none;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #7c3aed;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

button {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.primary-btn {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
    width: 100%;
}

.primary-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.danger-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 8px 16px;
    font-size: 12px;
}

.danger-btn:hover {
    background: rgba(239, 68, 68, 0.4);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 30px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 10px;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    background: linear-gradient(135deg, #7c3aed, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-links button {
    background: rgba(255, 255, 255, 0.08);
    color: #ddd;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
}

.nav-links button:hover {
    background: rgba(124, 58, 237, 0.3);
    color: #fff;
}

/* Main Content */
main {
    padding: 30px;
    max-width: 900px;
    margin: 0 auto;
}

h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #fff;
}

.input-group {
    margin-bottom: 16px;
}

.input-group label {
    display: block;
    font-size: 13px;
    color: #aaa;
    margin-bottom: 6px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.stat-card .label {
    display: block;
    font-size: 14px;
    color: #aaa;
    margin-bottom: 8px;
}

.stat-card .value {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #7c3aed;
}

.premium-stat .value {
    color: #f59e0b;
}

.pending-stat .value {
    color: #06b6d4;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
}

th,
td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th {
    background: rgba(124, 58, 237, 0.2);
    font-size: 13px;
    color: #ccc;
    text-transform: uppercase;
}

td {
    font-size: 14px;
}

.premium-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.free-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #888;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
}

/* Plan Cards */
.plan-card {
    margin-bottom: 12px;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.plan-header h3 {
    margin: 0;
    font-size: 18px;
}

.plan-price {
    font-size: 22px;
    font-weight: bold;
    color: #10b981;
}

.plan-details {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 12px;
}

/* Payment Requests */
.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.08);
    color: #aaa;
    padding: 8px 20px;
    border-radius: 20px;
}

.filter-btn.active {
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    color: #fff;
}

.request-card {
    margin-bottom: 16px;
}

.request-info {
    margin-bottom: 12px;
}

.request-user {
    margin-bottom: 8px;
}

.request-user strong {
    font-size: 16px;
    color: #fff;
    display: block;
}

.request-user span {
    font-size: 13px;
    color: #888;
}

.request-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.request-details span {
    font-size: 13px;
    color: #bbb;
}

.request-actions {
    display: flex;
    gap: 10px;
}

.approve-btn {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 10px 20px;
}

.approve-btn:hover {
    background: rgba(16, 185, 129, 0.4);
}

.reject-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 10px 20px;
}

.reject-btn:hover {
    background: rgba(239, 68, 68, 0.4);
}

.status-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status-approved {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-rejected {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.status-pending {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

/* Notification status text */
.success-text {
    color: #10b981;
    font-weight: 600;
}

.error-text {
    color: #ef4444;
    font-weight: 600;
}