/* Login Page Styling */

body.login-page{
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #F7F9FB;
}

body.login-page::before{
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: url('/img/csonakos.webp') no-repeat 75% center / cover;
    filter: saturate(1.04) blur(3px);
    transform: scale(1.02);
    opacity: .46;
}

body.login-page::after{
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
            radial-gradient(120% 90% at 50% 50%, transparent 45%, rgba(247,249,251,.52) 78%, #F7F9FB 100%),
            linear-gradient(to right, rgba(247,249,251,.56) 0%, rgba(247,249,251,.14) 42%, rgba(247,249,251,.54) 100%);
}

.login-box {
    width: min(100%, 500px);
    margin: auto;
    position: relative;
    z-index: 2;
}

.login-logo {
    text-align: center;
    margin-bottom: 15px;
}

.login-logo a {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.login-logo a:hover {
    text-decoration: none;
}

/* Ensure form fields are readable at small width */
.form-control {
    font-size: 14px;
    padding: 0.5rem 0.75rem;
}

.btn {
    font-size: 14px;
    padding: 0.5rem 0.75rem;
    white-space: normal;
    line-height: 1.2;
}

.btn-google {
    background: #ffffff;
    border: 2px solid #b8c2cc;
    color: #2f3742;
    font-weight: 600;
    gap: 8px;
    white-space: normal;
}

.btn-google svg {
    flex: 0 0 auto;
}

.tt-login-action-btn {
    height: 76px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tt-google-btn-label {
    display: inline-block;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
}

.btn-google:hover,
.btn-google:focus {
    background: #f8fafc;
    border-color: #b8c2cc;
    color: #1f2933;
}

.btn-google:disabled {
    color: #8391a1;
    background: #f5f7fa;
}

.google-cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: conic-gradient(from 215deg, #ea4335 0 90deg, #fbbc05 90deg 170deg, #34a853 170deg 255deg, #4285f4 255deg 360deg);
    color: #fff;
    font-weight: 700;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1;
    flex: 0 0 22px;
}

.google-cta-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
