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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        radial-gradient(900px 500px at 15% -5%, rgba(91,156,255,0.14), transparent 70%),
        radial-gradient(700px 420px at 95% 10%, rgba(88,166,255,0.08), transparent 66%),
        #0d1117;
    color: #e1e7ef;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.card {
    background: linear-gradient(165deg, #161b24, #1d2430);
    border: 1px solid #2d3545;
    border-radius: 16px;
    padding: 36px 32px 32px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

h1 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.subtitle {
    margin-top: -8px;
    color: #8b95a7;
    font-size: 14px;
    line-height: 1.5;
}

.btn {
    display: block;
    width: 100%;
    background: #5b9cff;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 7px 15px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.btn:hover { background: #7db4ff; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-outline {
    display: block;
    width: 100%;
    background: transparent;
    color: #5b9cff;
    text-decoration: none;
    text-align: center;
    padding: 7px 15px;
    border: 1px solid #5b9cff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.btn-outline:hover { background: rgba(91,156,255,0.1); }

.btn-secondary {
    display: block;
    width: 100%;
    background: transparent;
    color: #8b95a7;
    text-decoration: none;
    text-align: center;
    padding: 7px 15px;
    border: 1px solid #2d3545;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.btn-secondary:hover { color: #e1e7ef; border-color: #8b95a7; }
.btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }

label {
    display: block;
    font-size: 13px;
    color: #8b95a7;
    margin-bottom: 6px;
}

.field {
    display: flex;
    flex-direction: column;
}

input {
    width: 100%;
    padding: 7px 11px;
    border: 1px solid #2d3545;
    border-radius: 8px;
    background: #0d1117;
    color: #e1e7ef;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s;
}

input:focus { border-color: #5b9cff; }
input::placeholder { color: #6b7a8a; }

.message {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    display: none;
}

.message.error {
    display: block;
    background: rgba(248,81,73,0.10);
    border: 1px solid #f85149;
    color: #f85149;
}

.message.success {
    display: block;
    background: rgba(63,185,80,0.10);
    border: 1px solid #3fb950;
    color: #3fb950;
}

.error-text {
    color: #f85149;
    font-size: 13px;
    display: none;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link {
    color: #8b95a7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
}

.link:hover { color: #e1e7ef; }
