.auth-body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    overflow: hidden;
}

.auth-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.auth-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards;
}

.auth-forms {
    position: relative;
    height: 400px;
}

form {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s ease;
    pointer-events: none;
}

form.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

h2 {
    color: var(--primary-purple);
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;
    animation: glow 2s infinite alternate;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-purple);
    transition: all 0.3s ease;
}

.input-group input {
    width: 100%;
    padding: 12px 40px;
    border: 2px solid transparent;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.2);
    transform: translateY(-2px);
}

.input-group input:focus + i {
    color: var(--dark-purple);
    transform: translateY(-50%) scale(1.2);
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 30px;
    background: var(--primary-purple);
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

button:hover i {
    transform: translateX(5px);
}

p {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--dark-purple);
    text-decoration: underline;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 0 0 5px rgba(138, 43, 226, 0.2);
    }
    to {
        text-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    }
}

/* Floating particles animation */
.auth-particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
    }
}

.auth-error {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4757;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: slideUp 0.3s ease forwards;
}

.auth-error i {
    color: white;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Add these additional animations */
.input-group input {
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        border-color: transparent;
    }
    50% {
        border-color: var(--primary-purple);
    }
    100% {
        border-color: transparent;
    }
}

.auth-box {
    animation: floatBox 3s ease-in-out infinite;
}

@keyframes floatBox {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Add more particle effects */
.auth-particles::before,
.auth-particles::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 20%);
    animation: particleFlow 15s linear infinite;
}

@keyframes particleFlow {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-100%) rotate(360deg);
    }
}