:root {
    --primary: #00d4ff;
    --secondary: #7000ff;
    --bg-dark: #05070a;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    --text: #e2e8f0;
}

body {
    background: radial-gradient(circle at top right, #0a192f, var(--bg-dark));
    color: var(--text);
    font-family: 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header, nav, main, footer {
    width: 100%;
    max-width: 850px;
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

header h1 {
    font-size: 2.8rem;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 20px;
}

/* BUTTON STYLING */
button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    color: var(--primary);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

button:hover {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

/* TABLE STYLING */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin: 20px 0;
}

th { color: var(--primary); text-align: left; padding: 15px; font-size: 0.8rem; }
td { background: rgba(255, 255, 255, 0.02); padding: 15px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
td:first-child { border-left: 1px solid var(--border); border-radius: 12px 0 0 12px; }
td:last-child { border-right: 1px solid var(--border); border-radius: 0 12px 12px 0; }

/* INPUTS */
input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    color: white;
    padding: 15px;
    border-radius: 12px;
    margin: 15px 0;
    box-sizing: border-box;
}

/* PAGE LOGIC */
.page { display: none; }
.active { display: block; animation: slideUp 0.5s ease-out; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* LIGHT THEME */
.light-theme {
    --bg-dark: #f1f5f9;
    --text: #0f172a;
    --glass: rgba(255, 255, 255, 0.9);
    --border: rgba(0, 0, 0, 0.1);
}