/* * Dashboard Management API Seamless 
 * Theme: Dark Green Glassmorphism
 */

:root {
    /* Color Palette */
    --bg-body: #080a09;
    --bg-card: rgba(25, 35, 30, 0.6);
    --primary: #00ff88;
    --primary-dark: #00cc6d;
    --primary-glow: rgba(0, 255, 136, 0.3);
    --accent: #00ffee;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --danger: #ff4d4d;
    --warning: #ffcc00;
    
    /* Layout Constants */
    --nav-height: 65px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-body);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 255, 136, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 255, 238, 0.05) 0%, transparent 40%);
    color: var(--text-main);
    line-height: 1.6;
    padding-bottom: calc(var(--nav-height) + 20px); /* Space for mobile nav */
    min-height: 100vh;
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Glassmorphism Components */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    border-color: rgba(0, 255, 136, 0.3);
}

/* Table Style (Custom untuk Data Player/Transaksi) */
.table-responsive {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th {
    text-align: left;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

td {
    padding: 14px 12px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Form Elements */
input, select, textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 15px;
    color: white;
    width: 100%;
    margin-bottom: 15px;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    gap: 8px;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #050706;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

/* Badge / Status Indicator */
.badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
}

.badge-success { background: rgba(0, 255, 136, 0.15); color: var(--primary); }
.badge-danger { background: rgba(255, 77, 77, 0.15); color: var(--danger); }
.badge-warning { background: rgba(255, 204, 0, 0.15); color: var(--warning); }

/* Navigation Mobile (Bottom) */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(10, 15, 12, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    z-index: 9999;
}

.nav-item {
    text-decoration: none;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.7rem;
    transition: 0.3s;
}

.nav-item i {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.nav-item.active {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

/* Utilities */
.text-primary { color: var(--primary); }
.mb-20 { margin-bottom: 20px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Grid System */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}