/**
 * Login Page Styles
 */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4);
    background: var(--color-bg);
    position: relative;
}

.login-page .back-link {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.login-page .back-link:hover {
    color: var(--color-text);
    background: var(--color-bg-white);
}

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

.login-card {
    padding: var(--space-8);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: var(--space-6);
}

.login-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
}

.login-logo-link {
    display: inline-block;
    text-decoration: none;
    margin-bottom: var(--space-6);
}

.login-logo-link .logo-text {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-text);
}

.login-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
}

.login-subtitle {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.login-form {
    margin-bottom: var(--space-4);
}

.login-hint {
    text-align: center;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

/* Login Success State */
.login-success {
    text-align: center;
    padding: var(--space-4) 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-success-light);
    border-radius: var(--radius-full);
    color: var(--color-success);
}

.success-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
}

.success-message {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2);
    line-height: var(--leading-relaxed);
}

.success-message strong {
    color: var(--color-text);
    word-break: break-all;
}

.success-hint {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

/* Login Verifying State */
.login-verifying {
    text-align: center;
    padding: var(--space-8) 0;
}

.verifying-text {
    margin-top: var(--space-4);
    color: var(--color-text-secondary);
}

/* Login Error State */
.login-error {
    text-align: center;
    padding: var(--space-4) 0;
}

.error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-error-light);
    border-radius: var(--radius-full);
    color: var(--color-error);
}

.error-title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
}

.error-message {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}
