@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600&display=swap');

body {
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    background: radial-gradient(circle at top left, #0b0f1c, #070912);
    color: #eaeaea;
}

header {
    background: linear-gradient(90deg, #5b2eff, #2efbff);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-weight: 600;
    text-shadow: 0 0 8px #2efbff;
}

.logout {
    color: white;
    text-decoration: none;
    background: rgba(0,0,0,0.2);
    padding: 8px 12px;
    border-radius: 6px;
    transition: 0.2s;
}
.logout:hover { background: rgba(0,0,0,0.4); }

main {
    padding: 20px;
}

.actions {
    margin-bottom: 10px;
}

button {
    background: linear-gradient(90deg, #5b2eff, #2efbff);
    border: none;
    padding: 10px 15px;
    color: white;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
button:hover { transform: scale(1.05); }

table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
}

th {
    background: rgba(255,255,255,0.08);
    text-transform: uppercase;
    letter-spacing: 1px;
}

tr:nth-child(even) {
    background: rgba(255,255,255,0.03);
}

a {
    color: #8ae6ff;
    text-decoration: none;
}
a:hover {
    color: #b588ff;
}

footer {
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
    opacity: 0.6;
}

/* === Login page === */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: radial-gradient(circle at top, #1a1033, #0b0f1c);
}

.login-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(94, 0, 255, 0.5);
    text-align: center;
    width: 300px;
}

.login-box h2 {
    margin-bottom: 20px;
    color: #b588ff;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 6px;
    color: white;
}

.login-box button {
    width: 100%;
    padding: 10px;
    background: linear-gradient(90deg, #5b2eff, #2efbff);
    border: none;
    border-radius: 6px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    margin-top: 10px;
}
.login-box button:hover {
    transform: scale(1.05);
}
.error {
    color: #ff4f4f;
    margin-top: 10px;
}
