/* Layout for centered logo */
.logo-wrap {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}
h1 {
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.logo-box {
    width: min(80vw, 900px);
    aspect-ratio: 3 / 1;
    background-image: url('img/logo_limitless_duże.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.login-btn {
    margin-top: 1rem;
    padding: 0.8rem 1.4rem;
    font-size: 1.1rem;
    border-radius: 10px;
    border: none;
    background: rgba(3, 28, 168, 0.85);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.login-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}
.login-modal.open { display: flex; }

.login-panel {
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    width: 92%;
    max-width: 420px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
}
.close-btn {
    position: absolute;
    right: 10px;
    top: 6px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}
.login-panel h2 { margin: 0 0 0.75rem 0; }
.field { display: block; margin-bottom: 0.75rem; font-size: 0.95rem; }
.field input { width: 100%; padding: 0.6rem; margin-top: 0.25rem; box-sizing: border-box; }
.submit-btn { width: 100%; padding: 0.65rem; margin-top: 0.25rem; border: none; background:rgba(3, 28, 168, 0.85); color:#fff; border-radius:6px; cursor:pointer; }
.login-message { margin-top: 0.75rem; color: #b00020; font-weight: 600; }

.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;
}