/* Auth login page styling for Shop-Core.
 * White background version.
 */

.ud-auth-login-body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    color: #1e293b;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ud-auth-login-shell {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.ud-auth-login-header {
    max-width: 960px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 1rem;
}

.ud-auth-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.ud-auth-login-logo-circle {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #fde047, #facc15 60%, #eab308 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.ud-auth-login-logo-text {
    font-weight: 800;
    font-size: 0.95rem;
    color: #1e293b;
}

.ud-auth-login-brand-text h1 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
}

.ud-auth-login-brand-text p {
    margin: 0.15rem 0 0 0;
    font-size: 0.85rem;
    color: #475569;
}

.ud-auth-login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ud-auth-login-panel {
    width: 100%;
    max-width: 620px;
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow:
        0 18px 30px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(0, 0, 0, 0.08);
}

.ud-auth-login-title {
    margin: 0 0 0.35rem 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
}

.ud-auth-login-subtitle {
    margin: 0 0 1.25rem 0;
    font-size: 0.9rem;
    color: #475569;
}

.ud-auth-login-alert {
    border-radius: 0.75rem;
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.35);
    color: #b91c1c;
    font-size: 0.9rem;
}

.ud-auth-login-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.ud-auth-login-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.ud-auth-login-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1e293b;
}

.ud-auth-login-input {
    border-radius: 0.55rem;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    padding: 0.55rem 0.6rem;
    font-size: 0.95rem;
    color: #1e293b;
    outline: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.ud-auth-login-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.45);
    background: #ffffff;
}

.ud-auth-login-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    gap: 0.75rem;
}

.ud-auth-login-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: #2563eb;
    color: #ffffff;
    box-shadow:
        0 4px 10px rgba(37, 99, 235, 0.25),
        0 0 0 1px rgba(37, 99, 235, 0.55);
    transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
}

.ud-auth-login-btn-primary:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.ud-auth-login-btn-primary:active {
    transform: translateY(0);
}

.ud-auth-login-link {
    font-size: 0.85rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.ud-auth-login-link:hover {
    text-decoration: underline;
}

.ud-auth-login-footer {
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
}
