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

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, sans-serif;
    background: #f3f3f3;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.background {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1)),
                url('https://source.unsplash.com/random/1920x1080/?nature,blue') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 40px;
}

.login-container {
    background: white;
    width: 100%;
    max-width: 440px;
    min-height: 380px;
    padding: 44px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    text-align: left;
    border-radius: 4px;
}

.logo {
    height: 24px;
    margin-bottom: 18px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1b1b1b;
    margin-bottom: 16px;
}

.step-desc {
    font-size: 15px;
    color: #1b1b1b;
    margin-bottom: 16px;
    line-height: 20px;
}

.user-identity {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 15px;
    color: #1b1b1b;
}

.back-arrow {
    margin-right: 8px;
    font-weight: bold;
    cursor: pointer;
}

.user-email {
    color: #1b1b1b;
}

.input {
    width: 100%;
    padding: 6px 0;
    height: 36px;
    border: none;
    border-bottom: 1px solid #666;
    font-size: 15px;
    margin-bottom: 16px;
    outline: none;
    background: transparent;
}

.input:focus {
    border-bottom: 2px solid #0067b8;
}

.error-msg {
    color: #e81123;
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 18px;
}

.text-link-container {
    margin-bottom: 28px;
}

.help-text {
    color: #1b1b1b;
    font-size: 13px;
    margin-bottom: 8px;
}

.help-text a {
    color: #0067b8;
    text-decoration: none;
}

.help-text a:hover {
    text-decoration: underline;
}

.btn-group {
    display: flex;
    justify-content: flex-end;
}

.btn {
    min-width: 108px;
    height: 32px;
    padding: 4px 12px;
    background: #0067b8;
    color: white;
    border: none;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn:hover {
    background: #005da6;
}

.btn-text.hidden { display: none; }

.spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

.btn.loading .spinner { display: block; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

.footer-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 28px;
    background: transparent;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 24px;
    z-index: 10;
}

.footer-links a {
    color: #000;
    font-size: 12px;
    text-decoration: none;
    margin-left: 16px;
    opacity: 0.6;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.hidden { display: none !important; }
