* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: linear-gradient(120deg, #0e0e0e, #1a1a1a);
    color: white;
    overflow-x: hidden;
}

/* LOGIN */
#login-screen {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.login-card {
    background: rgba(255,255,255,0.04);
    padding: 40px;
    border-radius: 18px;
    width: 350px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    text-align: center;
    animation: fadeIn 0.8s ease;
}

.login-card h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.btn {
    margin-top: 25px;
    padding: 12px 20px;
    width: 100%;
    background: #5568ff;
    border: none;
    color: white;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.btn:hover {
    background: #5362e8;
}

/* ADMIN BUTTON */
.admin-open-btn {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(255,255,255,0.06);
    padding: 10px 16px;
    border-radius: 8px;
    border: none;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

.admin-open-btn:hover {
    background: rgba(255,255,255,0.12);
}

/* POPUP */
.admin-popup {
    position: absolute;
    bottom: 80px;
    left: 20px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    padding: 20px;
    width: 260px;
    border-radius: 15px;
    animation: slideUp 0.4s ease;
}

.hidden {
    display: none;
}

.admin-popup input {
    margin-top: 10px;
    padding: 10px;
    width: 100%;
    border-radius: 6px;
    border: none;
    background: rgba(255,255,255,0.1);
    color: white;
}

.close-btn {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background: #333;
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
}

.error {
    margin-top: 5px;
    font-size: 13px;
    color: #ff6a6a;
}

/* DASHBOARD */
#dashboard {
    padding: 50px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.container {
    width: 80%;
    margin: auto;
}

.category {
    background: rgba(255,255,255,0.05);
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.category-header {
    padding: 20px;
    font-size: 22px;
    cursor: pointer;
    transition: 0.2s;
}

.category-header:hover {
    background: rgba(255,255,255,0.1);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 20px;
}

.category-content.open {
    padding: 20px;
    max-height: 300px;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

