body.login-page {
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
    position: relative;
    font-family: 'Outfit', sans-serif;
    animation: loginFadeIn 0.5s ease-in-out forwards;
}

@keyframes loginFadeIn {
    to { opacity: 1; }
}

body.login-page * {
    cursor: auto;
}

.login-bg-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.05;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: pulseBg 10s infinite alternate;
}

@keyframes pulseBg {
    from { transform: translate(-50%, -50%) scale(1); }
    to { transform: translate(-50%, -50%) scale(1.1); }
}

.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

.auth-card {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

/* Outline Animation for Card */
.auth-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, transparent, transparent, var(--text-main));
    animation: rotateOutline 4s linear infinite;
    z-index: 0;
}

.auth-card::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--bg-color);
    border-radius: 17px;
    z-index: 1;
}

@keyframes rotateOutline {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.auth-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.auth-logo {
    height: 70px;
    margin-bottom: 2rem;
    filter: brightness(0);
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.auth-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: left;
}

.input-group {
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 1.2rem 1rem;
    background: transparent;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.input-group label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s ease;
    background: var(--bg-color);
    padding: 0 0.4rem;
}

.input-group input:focus,
.input-group input:not(:placeholder-shown) {
    border-color: var(--text-main);
    outline: none;
    box-shadow: 0 0 0 1px var(--text-main);
}

.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.8rem;
    color: var(--text-main);
    font-weight: 600;
}

.auth-submit {
    margin-top: 1rem;
    width: 100%;
    padding: 1.2rem;
    background: var(--text-main);
    color: var(--white);
    border: none;
    border-radius: 100px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.auth-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.back-link:hover {
    color: var(--text-main);
}