form {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    align-content: center;
    background: linear-gradient(45deg, black, var(--main-color));
    color: white;
    font-weight: lighter;
}

.main-btn {
    margin-top: 60px;
    font-size: 20px;
}

.main-btn svg {
    width: 20px;
}

h1 {
    font-size: 80px;
    text-transform: uppercase;
    border-radius: 10px;
    overflow: hidden;
    transition: .5s;
}

h1:hover {
    background: var(--main-color);
}

h1 a {
    background: none;
    text-decoration: none;
    transition: .5s;
}

h1 a:hover,
h1 a:focus-visible {
    background: var(--main-color);
    color: white;
}

h1:hover {
    background: var(--main-color);
    color: white;
}

h3 {
    text-align: center;
}

@media (width <= 700px) {
    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 18px;
    }
    h3 {
        font-size: 15px;
    }
}

.error-message {
    background-color: #ffdddd;
    border: 1px solid #f44336;
    color: #f44336;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 5px;
}

.login-lang-switcher {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.9rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-lang-switcher a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

.login-lang-switcher a:hover {
    color: #fff;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.login-lang-switcher a.active {
    font-weight: bold;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.2);
}

.login-lang-switcher .lang-flag {
    font-size: 1.25em;
    line-height: 1;
    display: inline-block;
}

.login-lang-switcher .lang-sep {
    margin: 0 0.15rem;
    opacity: 0.6;
    font-weight: 300;
}

/* Legal footer – toks pat fonas kaip form, matomos nuorodos */
.login-legal-footer {
    background: linear-gradient(45deg, black, var(--main-color));
    color: rgba(255, 255, 255, 0.95);
    margin-top: 0;
    padding: 1.25rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 0.875rem;
}
.login-legal-footer a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.login-legal-footer a:hover {
    color: #fff;
}
.login-legal-footer span[aria-hidden="true"] {
    color: rgba(255, 255, 255, 0.5);
}