@font-face {
    font-family: 'cera-pro-medium';
    src: url('../Cera-Pro-Medium.woff') format('woff'), url('../Cera-Pro-Medium.woff2') format('woff2');
}



/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'cera-pro-medium',ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji; /* 'Segoe UI', system-ui, -apple-system, sans-serif;*/
    font-weight: normal;
    font-style: normal;
    /*--alternative fontstyle yuutel y*/
    font-feature-settings: "ss01";
    color: #1a202c;
}

main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =============================================
   Login-Seite (statisch, SSR)
   Design angelehnt an support.yuutel.at
   (schlichte, weiße Karte auf hellem Hintergrund,
   schwarzer Akzent gemäß yuutel-Markenfarbe)
   ============================================= */
.yt-login-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f5f5f7;
}

.yt-login-card {
    background: #ffffff;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.yt-logo {
    width: 48px;
    height: auto;
    margin-bottom: 1.5rem;
}

.yt-login-card h1 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.yt-login-card p {
    font-size: 0.95rem;
    color: #6e6e73;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.yt-field {
    margin-bottom: 1.5rem;
    text-align: left;
}

    .yt-field label {
        display: block;
        font-size: 0.8rem;
        font-weight: 600;
        color: #1d1d1f;
        margin-bottom: 0.4rem;
    }

    .yt-field input {
        width: 100%;
        padding: 0.7rem 0.9rem;
        border: 1px solid #d2d2d7;
        border-radius: 8px;
        font-size: 1rem;
        outline: none;
        transition: border-color 0.2s, box-shadow 0.2s;
        background: #fff;
        color: #1d1d1f;
    }

        .yt-field input:focus {
            border-color: #1d1d1f;
            box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
        }

        .yt-field input.yt-input-error {
            border-color: #d70015;
            background: #fff5f5;
        }

.yt-error-message {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.82rem;
    color: #d70015;
}

.yt-btn {
    width: 100%;
    padding: 0.75rem;
    background: #1d1d1f;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-size: 1rem;
    line-height: 1.2857;
    font-weight: 600;
    font-family: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
}

    .yt-btn:hover {
        background: #000;
    }

    .yt-btn:active {
        transform: scale(0.98);
    }

/* =============================================
   Info-Seite (interaktiv, geschützt)
   Design angelehnt an support.yuutel.at,
   konsistent zur Login-Seite (heller Hintergrund,
   weiße Karte, schwarzer Akzent)
   ============================================= */
.info-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    padding: 3rem 1.5rem;
    background: #f5f5f7;
}

.entry-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 640px;
}

.entry-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1d1d1f;
    color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.entry-content h1 {
    font-size: 2.0rem;
    /*font-weight: 800;*/
    color: #1d1d1f;
    letter-spacing: -0.02em;
    line-height: 1.083;
    margin-bottom: 0.6rem;
}

.entry-brand {
    font-weight: 400;
    color: #86868b;
}

.entry-content p {
    font-size: 1.1rem;
    color: #6e6e73;
}

.entry-divider {
    display: block;
    width: 40px;
    height: 3px;
    margin-top: 1.75rem;
    background: #1d1d1f;
    border-radius: 2px;
}

.info-card {
    background: #ffffff;
    border: 1px solid #e5e5ea;
    border-radius: 12px;
    padding: 2.5rem 2.5rem 2rem;
    width: 100%;
    max-width: 640px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    animation: fadeIn 0.4s ease;
}

    .info-card h2 {
        font-size: 1.25rem;
        font-weight: 700;
        color: #1d1d1f;
        margin-bottom: 1.25rem;
        text-align: center;
    }

.info-content p {
    font-size: 0.98rem;
    color: #3a3a3c;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.info-content strong {
    color: #1d1d1f;
    font-weight: 700;
}

.info-content ul {
    margin: 0 0 1.5rem 0;
    padding: 0;
    list-style: none;
}

    .info-content ul li {
        position: relative;
        padding-left: 1.4rem;
        margin-bottom: 0.65rem;
        font-size: 0.95rem;
        color: #3a3a3c;
        line-height: 1.5;
    }

        .info-content ul li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.55rem;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #1d1d1f;
        }

.yt-logout-form {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5ea;
    text-align: center;
}

.btn-logout {
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: #6e6e73;
    border: 1px solid #d2d2d7;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

    .btn-logout:hover {
        background: #f5f5f7;
        color: #1d1d1f;
    }

/* =============================================
   Animation
   ============================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
