/* frontend-v3/css/pages/auth.css */
@import url('../global.css');

.auth-body {
    background-color: #070913;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* --- Animating Liquid Background (Blobs) --- */
.liquid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    background-color: #070913;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
    mix-blend-mode: screen;
    animation: floatBlob 24s infinite ease-in-out;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #3b82f6 0%, #6366f1 100%);
    top: -15%;
    left: -10%;
}

.blob-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #ec4899 0%, #d4af37 100%);
    bottom: -15%;
    right: -10%;
    animation-delay: -6s;
}

.blob-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #10b981 0%, #06b6d4 100%);
    top: 35%;
    left: 45%;
    animation-delay: -12s;
}

.blob-4 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #a855f7 0%, #f43f5e 100%);
    bottom: 25%;
    left: -5%;
    animation-delay: -18s;
}

@keyframes floatBlob {
    0% { transform: translate(0px, 0px) scale(1) rotate(0deg); }
    33% { transform: translate(120px, -90px) scale(1.15) rotate(120deg); }
    66% { transform: translate(-60px, 60px) scale(0.9) rotate(240deg); }
    100% { transform: translate(0px, 0px) scale(1) rotate(360deg); }
}

.auth-container {
    position: relative;
    z-index: 10;
    max-width: 440px;
    width: 90%;
    padding: 40px;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

.auth-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.modulynk-brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-decoration: none;
}

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

.form-group-unified {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-unified label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.form-group-unified input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: #fff;
    outline: none;
    transition: all var(--transition-fast);
    font-family: var(--font-body);
}

.form-group-unified input:focus {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 10px var(--accent-primary-glow);
}

.auth-footer-text {
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-footer-text a {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer-text a:hover {
    text-decoration: underline;
}

