.samgruppen-login-page {
    --sam-accent: #184164;
    --sam-accent-focus: rgba(24, 65, 100, 0.28);
    --sam-accent-glow: rgba(24, 65, 100, 0.18);
    --sam-text: #202021;
    --sam-muted: #5b5b5c;
    position: fixed;
    inset: 0;
    z-index: 10;
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 32px 16px;
    overflow: auto;
    color: var(--sam-text);
    background:
        radial-gradient(circle at 12% 18%, var(--sam-accent-glow), transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(32, 32, 33, 0.12), transparent 38%),
        linear-gradient(135deg, #f9f9fb 0%, #f0f1f5 40%, #e6e7ee 100%);
    font-family: "Trebuchet MS", Verdana, sans-serif;
}

.samgruppen-login-page--sampoolen {
    --sam-accent: #e30c69;
    --sam-accent-focus: rgba(227, 12, 105, 0.28);
    --sam-accent-glow: rgba(227, 12, 105, 0.18);
}

.samgruppen-login-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    max-width: 440px;
    padding: 32px 28px 28px;
    border: 1px solid rgba(32, 32, 33, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(32, 32, 33, 0.16);
}

.samgruppen-login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.samgruppen-login-logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: 38px;
}

.sampoolen-login-logo {
    height: 50px;
    margin-bottom: 4px;
}

.samekonomi-login-logo {
    width: 190px;
    height: auto;
    margin-bottom: 4px;
}

.samgruppen-login-title {
    margin: 0;
    color: #2f2f30;
    font-size: 1.85rem;
    font-weight: 700;
}

.samgruppen-login-subtitle,
.samgruppen-login-helper {
    margin: 0;
    color: var(--sam-muted);
}

.samgruppen-login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--sam-accent);
    border-radius: 999px;
    background: var(--sam-accent);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition: filter 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

.samgruppen-login-button:hover {
    color: #fff;
    filter: brightness(0.94);
    transform: translateY(-1px);
}

.samgruppen-login-button:focus-visible {
    color: #fff;
    outline: 0;
    box-shadow: 0 0 0 4px var(--sam-accent-focus);
}

.samgruppen-bankid-icon {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.samgruppen-login-helper {
    font-size: 0.85rem;
}

@media (max-width: 480px) {
    .samgruppen-login-page {
        padding: 20px 12px;
    }

    .samgruppen-login-card {
        padding: 26px 22px;
    }

    .samgruppen-login-title {
        font-size: 1.7rem;
    }
}
