/* Glemt adgangskode - aligned with InviteFlow's auth layout */

.auth-topbar {
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    background: var(--blue-700);
    color: #fff;
    box-shadow: 0 2px 0 rgba(9, 30, 66, 0.2);
}

.auth-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-brand-mark {
    width: 34px;
    height: 34px;
    padding: 4px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
}

.auth-brand-text {
    overflow: hidden;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-page {
    min-height: calc(100vh - 56px - 52px);
    display: grid;
    place-items: center;
    padding: 28px 16px;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 26px 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.auth-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.auth-subtitle {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.4;
}

.auth-form {
    display: grid;
    gap: 10px;
}

.field-label {
    margin-top: 4px;
    font-size: 12.5px;
    font-weight: 700;
}

.field-input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: var(--text);
    font: inherit;
}

.field-input::placeholder {
    color: #A5ADBA;
}

.field-input:focus {
    border-color: #4C9AFF;
    box-shadow: var(--focus);
}

.btn {
    height: 40px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
    font-size: 13.5px;
    font-weight: 800;
}

.btn-primary {
    margin-top: 6px;
    background: var(--blue-600);
    color: #fff;
}

.btn-primary:hover {
    background: var(--blue-700);
}

.btn-primary:focus {
    outline: none;
    box-shadow: var(--focus);
}

.auth-helper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.link {
    color: var(--blue-600);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.notice {
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #FAFBFC;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.notice-ok {
    border-color: rgba(54, 179, 126, 0.35);
    background: rgba(54, 179, 126, 0.10);
    color: #216E4E;
}

.notice-error {
    border-color: rgba(191, 38, 0, 0.18);
    background: rgba(191, 38, 0, 0.06);
    color: var(--danger);
}

.auth-footer {
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    color: var(--muted);
    font-size: 12.5px;
}

@media (max-width: 480px) {
    .auth-topbar {
        padding: 0 14px;
    }

    .auth-brand-text {
        font-size: 14px;
    }

    .auth-card {
        padding: 22px 18px;
    }
}
