/* Fonts */
:root {
    /* Using variables from base.css for consistency */
    --background: var(--bg-dark-950);
    --foreground: var(--text-primary);
    --muted: var(--bg-glass-dark);
    --muted-foreground: var(--text-secondary);

    --border: var(--glass-border);
    --input: var(--bg-dark-500);

    --primary: var(--accent-color);
    /* Accent Color */
    --primary-foreground: var(--text-white);

    --accent: var(--indigo-15);
    /* Accent Glow */
    --accent-foreground: var(--accent-color);

    --ring: var(--indigo-50);

    --radius: 12px;

    --font-heading: 'Geologica', sans-serif;
    /* Matched base.css font */
    --font-sans: 'Geologica', sans-serif;

    /* Weights */
    --bold-weight: 700;
    --medium-weight: 500;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Container */
.minimal-auth-page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}

/* Particles */
.particles-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    /* Slight fade for particles */
}

#particles-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Background Gradients */
.background-gradients {
    position: absolute;
    inset: 0;
    z-index: -10;
    isolation: isolate;
    contain: strict;
    overflow: hidden;
}

.gradient-blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(80px);
    /* Visualize the blobs better with blur */
    opacity: 0.4;
    transform: rotate(-45deg);
}

.blob-1 {
    /* Primary Accent Gradient */
    background: radial-gradient(circle, var(--indigo-40) 0%, var(--indigo-05) 70%, transparent 100%);
    top: 0;
    left: 0;
    width: 45rem;
    height: 45rem;
    transform: translate(-30%, -30%);
}

.blob-2 {
    /* Secondary Purple Gradient */
    background: radial-gradient(circle, var(--purple-30) 0%, var(--purple-05) 70%, transparent 100%);
    top: 50%;
    right: 0;
    width: 35rem;
    height: 35rem;
    transform: translate(30%, -30%);
}

.blob-3 {
    /* Subtle White/Blue Glow */
    background: radial-gradient(circle, var(--white-05) 0%, transparent 60%);
    bottom: 0;
    left: 40%;
    width: 30rem;
    height: 30rem;
    transform: translate(-50%, 40%);
}

/* Content Layout */
.auth-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 0 1rem;
    max-width: 72rem;
    margin: 0 auto;
}

/* Card / Form */
.auth-card {
    width: 100%;
    max-width: 26rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2.5rem;

    /* Glass Effect Card */
    background: var(--bg-glass-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    /* --radius-lg */
    box-shadow: 0 4px 30px var(--black-30);
}

/* Logo */
/* Logo */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 0.5rem;
}

.logo-main {
    font-size: 30px;
    font-weight: 800;
    font-family: 'Geologica', sans-serif;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -1.5px;
    line-height: 1;
}

.logo-text-white {
    color: var(--text-white);
}

.logo-text-accent {
    color: var(--accent-color);
}

.logo-underline {
    width: 48px;
    height: 4px;
    background: var(--primary);
    margin-top: 8px;
    border-radius: 99px;
    box-shadow: 0 0 15px var(--indigo-60);
}

/* Headings */
.text-group {
    text-align: center;
}

.text-group h1 {
    font-size: 1.75rem;
    font-weight: var(--bold-weight);
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.text-group .subtitle {
    color: var(--muted-foreground);
    font-size: 1rem;
}

/* Buttons Group */
.buttons-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

/* Common Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: var(--medium-weight);
    height: 3rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn-lg {
    height: 3.25rem;
    padding: 0 2rem;
    font-size: 1rem;
}

.btn-outline {
    border-color: var(--border);
    background-color: var(--white-03);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: var(--white-08);
    /* Hover effect */
    border-color: var(--white-20);
    transform: translateY(-1px);
}

.btn-ghost {
    background-color: transparent;
    color: var(--muted-foreground);
}

.btn-ghost:hover {
    background-color: var(--white-05);
    color: var(--foreground);
}

.btn-back {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 1rem;
    z-index: 20;
    border-radius: 99px;
    /* Pill shape */
    height: auto;
}

.w-full {
    width: 100%;
}

/* Footer Link */
.footer-text {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--muted-foreground);
    text-align: center;
    line-height: 1.5;
}

.footer-text a {
    color: var(--foreground);
    text-decoration: none;
    border-bottom: 1px dotted var(--muted-foreground);
    transition: color 0.2s, border-color 0.2s;
}

.footer-text a:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Icons */
.icon {
    width: 1.125rem;
    height: 1.125rem;
}

.size-6 {
    width: 1.75rem;
    height: 1.75rem;
}

.mr-2 {
    margin-right: 0.75rem;
}

/* Modern Language Switcher */
.lang-toggle-container {
    display: inline-flex;
    background: var(--white-05);
    border: 1px solid var(--white-10);
    border-radius: 99px;
    padding: 4px;
    gap: 2px;
    align-items: center;
}

.lang-toggle-btn {
    background: transparent;
    border: none;
    color: var(--muted-foreground);
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
    letter-spacing: 0.5px;
}

.lang-toggle-btn:hover {
    color: var(--foreground);
    background: var(--white-05);
}

.lang-toggle-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px var(--indigo-30);
}
