.login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 55vh;
}

.login-section-wrapper {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tgme_widget_login_button {
    background-color: #f0c419 !important;
}

.telegram-login-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.telegram-oauth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    min-width: 260px;
    background: linear-gradient(180deg, #4dabf7 0%, #2a7fd5 100%);
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 8px 18px rgba(77, 171, 247, 0.25);
}

.telegram-oauth-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 10px 24px rgba(77, 171, 247, 0.32);
}

.telegram-oauth-btn:active {
    transform: translateY(0);
}

.telegram-oauth-btn-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
}

.telegram-oauth-btn-icon svg {
    width: 100%;
    height: 100%;
}

.terms-section {
    font-size: 0.9rem;
    color: #8b949e;
    margin-top: 15px;
}

.login-section-wrapper a {
    color: #f0c419;
    text-decoration: none;
}

.referrer-wrapper {
    width: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 10px 20px 20px;
    margin-bottom: 20px;
}

.referrer-wrapper p {
    font-weight: 900;
}

.referrer-info-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.referrer-img-wrapper {
    width: 40px;
    height: 40px;
}

.referrer-img {
    width: 40px;
    height: 40px;
    border-radius: 20px;
}

.referrer-username {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.referrer-notice {
    font-size: 0.9rem;
    color: #8b949e;
    margin-top: 15px;
}

@media screen and (max-width: 820px) {
    .login-section-wrapper {
        width: 100%;
        padding: 0 10px;
    }

    .telegram-oauth-btn {
        width: 100%;
        min-width: 0;
    }
}