.auth-link { 
    margin-top: 14px; 
}

.auth-link a { 
    color: var(--muted); 
    text-decoration: none; 
}

.auth-link a:hover { 
    text-decoration: underline; 
}

.login-landing { 
    text-align: left; 
    z-index: 10; 
}

.auth { 
    width: 100%; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    z-index: 100;
    position: relative;
}

.auth h2 { 
    margin: 0 0 16px; 
    font-size: 28px; 
}

.form .fields { 
    gap: 30px; 
    margin-bottom: 16px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 500px;

}

.form .field { 
    gap: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form label { 
    font-size: 16px; 
    font-weight: 600;
    color: var(--text); 
}

.form input { 
    width: 100%; 
    padding: 12px 0; 
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent; 
    outline: none; 
    font-size: 20px;
    font-weight: 600;
    color: var(--text);
    font-family: 'Jost', ui-sans-serif, system-ui;
    transition: border-bottom-color 0.2s ease;
}

.form input::placeholder {
    color: var(--muted);
    font-size: 20px;
    font-weight: 600;
}

.auth .errorlist.nonfield,
.form .errorlist.nonfield,
.errorlist.nonfield {
    position: absolute;
    right: 20px;
    top: 70px;
    z-index: 100000;
    list-style: none;
    padding: 16px 20px;
    margin: 0 0 20px 0;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 10px;
    color: #ff4757;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.1);
    width: 100%;
    max-width: 500px;
    animation: fadeInScale 0.4s ease;
}

.errorlist.nonfield li {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form input:focus {
    border-bottom-color: var(--text);
}

.content {
    height: 100vh;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    position: relative;
}

.headline {
    font-size: clamp(28px, 7vw, 90px);
    margin: 0 0 20px 0;
    line-height: 1.3;
    letter-spacing: 0.5px;
    color: var(--text);
}

.cta {
    display: inline-block;
    padding: 12px 150px;
    border-radius: 9px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 1;
    background: #121212;
    color: #ffffff;
    border: 1px solid #272727;
    z-index: 1000;
    margin-top: 10px;
    width: 100%;
    max-width: 500px;
    font-family: 'Jost', ui-sans-serif, system-ui;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cta:hover {
    background: #1a1a1a;
    border-color: #3a3a3a;
}

.cta.dark {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta.dark:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
}

.muted {
    margin-top: 20px;
    color: var(--muted);
    font-size: 16px;
}

.muted a {
    color: #255FFFFF;
    text-decoration: none;
}

.muted a:hover {
    text-decoration: underline;
}

.toggle-hero .ring-wrap {
    position: relative;
    width: 1200px;
    height: 600px;
    filter: blur(40px) contrast(150%);
}
.toggle-hero .ring-wrap svg {
    display: block;
    width: 100%;
    height: 100%;
}
.toggle-hero .ring-wrap #ring {
    stroke: #000bff !important;
    filter: drop-shadow(0 1px 4px #000bff);
}

.toggle-hero { 
    position: absolute;
    top: 4%;
    right: 48%;
    transform: translateX(50%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOutScale {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.96); }
}

.login-landing .headline,
.auth {
    opacity: 1;
    height: 100vh;
    background: rgba(0, 0, 0);
}

form#loginForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .cta {
        padding: 12px 10px;
        max-width: 300px;
    }

    .form .fields {
        max-width: 300px;
    }

    .errorlist.nonfield {
        max-width: 300px;
    }

    .errorlist.nonfield li {
        font-size: 12px;
    }
}