:root {
    --primary-color: #0f172a;
    --primary-hover: #1e293b;
    --bg-overlay: rgba(255, 255, 255, 0.4);
    --box-bg: rgba(255, 255, 255, 0.95);
    --text-color: #0f172a;
    --input-bg: #f8fafc;
    --input-border: #e2e8f0;
    --bg-color: #f8fafc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
}

#bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-overlay);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 380px;
    padding: 20px;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 2.5rem;
    color: #0f172a;
}

.login-box {
    width: 100%;
    background: var(--box-bg);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
}

.input-group {
    margin-bottom: 1.25rem;
}

.input-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: var(--input-bg);
    border: 1px solid transparent;
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.input-group input::placeholder {
    color: #94a3b8;
    font-weight: 300;
}

.login-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    margin-top: 1rem;
}

.login-btn:hover {
    background: var(--primary-hover);
}

.login-btn:active {
    transform: scale(0.99);
}
