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

body {
    background: #0b0d14;
    background-image:
        radial-gradient(circle at 30% 20%, rgba(88, 80, 200, 0.15), transparent 40%),
        radial-gradient(circle at 70% 80%, rgba(60, 100, 200, 0.1), transparent 40%);
    color: #e0e0e0;
    font-family: "Inter", "Rubik", system-ui, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 420px;
    padding: 24px;
}

/* Brand header above card */
.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 48px;
    height: 48px;
}

.brand-name {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
}

.brand-tagline {
    font-size: 14px;
    color: #8a8f9e;
    text-align: center;
    line-height: 1.5;
}

.brand-tagline a {
    color: #7c7fff;
    text-decoration: none;
}

.brand-tagline a:hover {
    text-decoration: underline;
}

/* Login card */
.login-card {
    width: 100%;
    background: rgba(22, 24, 32, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(20px);
}

.login-card h2 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 4px;
}

.login-card .subtitle {
    font-size: 14px;
    color: #8a8f9e;
    text-align: center;
    margin-bottom: 24px;
}

/* Google button */
.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.google-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.google-btn svg {
    width: 20px;
    height: 20px;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #555;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

/* Form inputs */
.input-group {
    margin-bottom: 16px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #8a8f9e;
}

.input-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: #e0e0e0;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: #7c7fff;
}

/* Submit button */
.submit-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #5850c8;
    color: white;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-top: 4px;
}

.submit-btn:hover {
    background: #4a43b0;
}

/* Demo button */
.demo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: transparent;
    color: #8a8f9e;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    margin-top: 12px;
}

.demo-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Footer */
.login-footer {
    font-size: 12px;
    color: #555;
    text-align: center;
}

.login-footer a {
    color: #7c7fff;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

.error {
    color: #e87777;
    font-size: 13px;
    text-align: center;
    margin-top: 12px;
}
