html, body {
    font-family: 'Segoe UI', system-ui, -apple-system, 'Inter', sans-serif;
    margin: 0;
}

h1:focus {
    outline: none;
}

.validation-message {
    color: #FF6A88;
}

.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 1.5rem;
    color: white;
    border-radius: 8px;
}

.blazor-error-boundary::after {
    content: "Beklenmeyen bir hata oluştu.";
}

#blazor-error-ui {
    background: #FF6A88;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0,0,0,0.2);
    display: none;
    left: 0;
    padding: 0.8rem 1.2rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.8rem;
    top: 0.5rem;
}

/* ================= Login sayfası ================= */

.login-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 20% 20%, #171c2e 0%, #0B0D14 55%);
    position: relative;
    overflow: hidden;
    padding: 24px;
    box-sizing: border-box;
}

.login-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    opacity: 0.55;
    pointer-events: none;
}

.login-blob--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, #635BFF 0%, transparent 70%);
}

.login-blob--2 {
    width: 480px;
    height: 480px;
    bottom: -160px;
    right: -140px;
    background: radial-gradient(circle, #00D4B4 0%, transparent 70%);
}

.login-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: rgba(18, 22, 35, 0.92);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 32px 28px 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.45);
    color: #F2F3F7;
    box-sizing: border-box;
}

.login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.login-logo {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, #8B85FF, #00D4B4);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(139,133,255,0.35);
}

.login-title {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -0.2px;
    line-height: 1.1;
}

.login-subtitle {
    font-size: 12px;
    color: #9AA0B4;
    line-height: 1.1;
}

.login-heading {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.4px;
    margin: 0 0 4px;
}

.login-desc {
    font-size: 13px;
    color: #9AA0B4;
    margin: 0 0 20px;
}

.login-error {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,106,136,0.15);
    border: 1px solid rgba(255,106,136,0.35);
    color: #FF9FB2;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12.5px;
    margin-bottom: 16px;
}

.login-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #9AA0B4;
    margin: 14px 0 6px;
    letter-spacing: 0.3px;
}

.login-input {
    width: 100%;
    box-sizing: border-box;
    background: #0F1320;
    border: 1px solid #232945;
    border-radius: 12px;
    padding: 12px 14px;
    color: #F2F3F7;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease;
}

.login-input:focus {
    border-color: #8B85FF;
}

.login-submit {
    width: 100%;
    margin-top: 22px;
    padding: 13px 16px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #8B85FF, #00D4B4);
    color: #0B0D14;
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.login-submit:hover {
    filter: brightness(1.08);
}

.login-footnote {
    text-align: center;
    font-size: 11px;
    color: #5D6379;
    margin-top: 20px;
}
