:root {
    --admin-bg: #0a0a0a;
    --card-bg: #1a1a1a;
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #f5f5f5;
    --text-secondary: #888;
    --accent: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.5);
    --danger: #ff4757;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--admin-bg);
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 100%);
    z-index: -1;
    animation: pulse 6s infinite ease-in-out;
}

.animated-bg.bg2 {
    opacity: 0.3;
    filter: blur(80px);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.95; }
}

.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 2rem;
}

#login-form {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#login-form .logo {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#login-form .logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.input-field {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
}

.input-field input {
    width: 92%;
    padding: 1rem;
    background: var(--admin-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
}

.input-field input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.input-field label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: 0.3s;
    pointer-events: none;
}

.input-field input:focus + label,
.input-field input:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.8rem;
    background: var(--card-bg);
    padding: 0 0.4rem;
    font-size: 0.75rem;
    color: var(--accent);
}

.login-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--accent);
    color: #000;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 15px var(--accent-glow);
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--accent-glow);
}

p {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

#register-link {
    color: var(--accent);
    text-decoration: underline;
    cursor: pointer;
}