* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #121214;
    color: #ffffff;
}

.login-container {
    min-height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 420px;

    background: #1b1b1f;

    border: 1px solid #2b2b31;
    border-radius: 14px;

    padding: 40px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.logo {
    text-align: center;

    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.subtitle {
    text-align: center;

    margin-top: 8px;
    margin-bottom: 32px;

    color: #9999a3;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;

    margin-bottom: 8px;

    color: #d7d7dc;
    font-size: 14px;
}

input {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #36363e;
    border-radius: 8px;

    background: #121214;
    color: #ffffff;

    font-size: 15px;

    outline: none;

    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}

input:focus {
    border-color: #38bdf8;

    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

button {
    width: 100%;

    margin-top: 8px;

    padding: 13px;

    border: 0;
    border-radius: 8px;

    background: #38bdf8;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        background 0.2s,
        transform 0.1s;
}

button:hover {
    background: #0ea5e9;
}

button:active {
    transform: scale(0.99);
}

button:disabled {
    opacity: 0.6;
    cursor: wait;
}

.error-message {
    margin-bottom: 15px;

    padding: 11px 12px;

    border-radius: 7px;

    background: rgba(220, 60, 60, 0.12);
    border: 1px solid rgba(220, 60, 60, 0.25);

    color: #ff8c8c;

    font-size: 13px;
}
