/* Global Styles & Variables */
:root {
    --bg-deep: #00030c;
    --primary-cyan: #00bcd4;
    --primary-blue: #00aeff;
    --neon-gradient: linear-gradient(45deg, #00bcd4, #00e5ff);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-main: #e0e0e0;
    --text-glow: 0 0 5px rgba(0, 188, 212, 0.5);
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-header: 'Orbitron', 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-deep);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Starry Background Animation */
.star {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0;
    animation: twinkle linear infinite;
    z-index: -1;
    pointer-events: none;
}

@keyframes twinkle {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.5);
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-cyan);
    text-shadow: var(--text-glow);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--primary-blue);
}

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

/* Glassmorphism Cards */
.card {
    background: var(--glass-bg);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    margin-bottom: 20px;
}

/* Forms & Inputs */
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px 10px;
    margin: 8px 0;
    box-sizing: border-box;
    border: 1px solid var(--primary-cyan);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-main);
    font-size: 1em;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
    outline: none;
    background: rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    background: var(--neon-gradient);
    color: #1a1a2e;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
    display: inline-block;
}

.btn:hover {
    background: linear-gradient(45deg, #00e5ff, #00bcd4);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.6);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Tables */
.table-container {
    overflow-x: auto;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

th,
td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
    background-color: rgba(0, 188, 212, 0.2);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9em;
}

tr:hover {
    background-color: rgba(0, 174, 255, 0.1);
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

/* Navigation specific adjustments */
.nav-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-main);
    font-size: 1.2em;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-icon:hover {
    background: rgba(0, 188, 212, 0.2);
    color: var(--primary-cyan);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
    transform: scale(1.1);
}

/* Footer */
footer {
    padding: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8em;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}