/* CSS-Variablen (werden per Inline-Style überschrieben) */
.ft-login-body {
    --ft-bg: #1a3a2a;
    --ft-bg-end: #2d5a45;
    --ft-primary: #2b4e5a;
    --ft-btn-bg: #f5f5f5;
}

.ft-login-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ft-bg) 0%, var(--ft-bg-end) 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, sans-serif;
}

.ft-login-wrapper {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.ft-login-box {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.ft-login-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.ft-login-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.ft-login-title {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--ft-primary);
    text-align: center;
}

.ft-login-subtitle {
    margin: 0 0 1.5rem;
    color: #64748b;
    font-size: 0.95rem;
    text-align: center;
}

.ft-login-error {
    margin: 0 0 1rem;
    padding: 0.75rem;
    background: #fef2f2;
    color: #b91c1c;
    border-radius: 6px;
    font-size: 0.9rem;
}

.ft-login-form p {
    margin: 0 0 1rem;
}

.ft-login-form p:last-of-type {
    margin-bottom: 0;
}

.ft-login-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.ft-login-input:focus {
    outline: none;
    border-color: var(--ft-primary);
    box-shadow: 0 0 0 3px rgba(43, 78, 90, 0.15);
}

/* Pill-Button (eKonto-Stil) */
.ft-login-button-pill,
.ft-logout-button-pill,
.ft-logout-link-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ft-primary);
    background: var(--ft-btn-bg);
    border: 1px solid var(--ft-primary);
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.ft-login-button-pill,
.ft-logout-button-pill {
    width: 100%;
}

.ft-login-button-pill:hover,
.ft-logout-button-pill:hover,
.ft-logout-link-pill:hover {
    background: rgba(43, 78, 90, 0.08);
}

.ft-login-button-arrow {
    font-size: 0.9em;
    opacity: 0.9;
}

.ft-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
