.third-party-auth {
    margin-top: 1.5rem;
    width: 100%;
}

.third-party-auth h2 {
    display: none;
}

.third-party-auth hr {
    border-top: rgba(var(--primary-accent-rgb), 0.5) 1px solid;
    padding: 0;
    margin-bottom: 1.5rem;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;

}

.third-party-auth ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.third-party-auth li {
    margin: 0;
}

.third-party-auth a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 64px;
    height: 64px;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--primary-accent);
    border-radius: 50%;
    background: var(--primary-dark);
    box-shadow: 0 10px 24px var(--overlay-bg-soft);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.third-party-auth a:hover,
.third-party-auth a:focus-visible {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: var(--shadow-success-hover);
    border-color: var(--primary-border-hover);
    text-decoration: none;
}

.third-party-auth a:focus-visible {
    outline: 2px solid var(--primary-accent);
    outline-offset: 2px;
}

.third-party-auth a[href*="google"]::before,
.third-party-auth a[href*="github"]::before,
.third-party-auth a[href*="discord"]::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.third-party-auth a[href*="google"]::before {
    background-image: url('google_logo.svg');
}

.third-party-auth a[href*="github"]::before {
    background-image: url('GitHub_Invertocat_Black.svg');
}

.third-party-auth a[href*="discord"]::before {
    background-image: url('Discord-Symbol-Blurple.svg');
}