:root {
    --bg-main: #05070c;
    --bg-card: #0b1220;
    --bg-input: #020617;

    --border-soft: rgba(148, 163, 184, 0.15);
    --border-focus: #38bdf8;

    --text-main: #e5e7eb;
    --text-muted: #94a3b8;

    --accent: #38bdf8;
    --accent-hover: #0ea5e9;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    background: radial-gradient(
        circle at top,
        #0b1220 0%,
        #05070c 60%
    );
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont;
    color: var(--text-main);
}

.login-page {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-card {
    width: 380px;
    padding: 36px 32px 40px;
    background: linear-gradient(
        180deg,
        #0e1628 0%,
        #0b1220 100%
    );
    border-radius: 18px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.login-logo img {
    height: 36px;
}

.login-title {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
}

.login-error {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fecaca;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 18px;
    text-align: center;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 13px;
    color: var(--text-muted);
}

.field input {
    height: 42px;
    padding: 0 14px;
    background-color: var(--bg-input);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 14px;
}

.field input::placeholder {
    color: rgba(148, 163, 184, 0.4);
}

.field input:focus {
    outline: none;
    border-color: var(--border-focus);
    box-shadow:
        0 0 0 1px rgba(56, 189, 248, 0.6),
        0 0 18px rgba(56, 189, 248, 0.25);
}

.login-button {
    margin-top: 8px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(
        180deg,
        #38bdf8 0%,
        #0ea5e9 100%
    );
    border: none;
    color: #020617;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.05s ease, box-shadow 0.1s ease;
}

.login-button:hover {
    box-shadow:
        0 8px 30px rgba(56, 189, 248, 0.45);
}

.login-button:active {
    transform: translateY(1px);
}

.login-footer {
    margin-top: 18px;
    text-align: center;
}

.login-link-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s ease;
}

.login-link-btn:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.login-hint {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    text-align: center;
}

.login-success {
    background-color: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 18px;
    text-align: center;
}

