/* =============================================================================
   AUTH STYLES - Styles pour les pages d'authentification (sans @apply)
   ============================================================================= */

/* Import Tailwind base */
@import "tailwindcss";

/* Auth Container */
.auth-container {
    min-height: 100vh;
    background: linear-gradient(to bottom right, rgb(2 6 23), rgb(15 23 42), rgb(8 47 73));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

/* Auth Particles */
.auth-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.auth-particle-1 {
    position: absolute;
    top: 5rem;
    left: 5rem;
    width: 24rem;
    height: 24rem;
    background-color: rgba(6, 182, 212, 0.1);
    border-radius: 9999px;
    filter: blur(96px);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.auth-particle-2 {
    position: absolute;
    bottom: 5rem;
    right: 5rem;
    width: 32rem;
    height: 32rem;
    background-color: rgba(20, 184, 166, 0.1);
    border-radius: 9999px;
    filter: blur(96px);
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    animation-delay: 1s;
}

/* Auth Content */
.auth-content {
    position: relative;
    max-width: 28rem;
    width: 100%;
    z-index: 10;
}

/* Brand Logo */
.brand-logo {
    text-align: center;
    margin-bottom: 3rem;
}

.brand-title {
    font-size: 3.75rem;
    font-weight: 900;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.brand-highlight {
    background: linear-gradient(to right, rgb(34, 211, 238), rgb(45, 212, 191));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-subtitle {
    font-size: 1.25rem;
    color: rgb(148, 163, 184);
}

/* Card */
.card {
    background-color: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.card-body {
    padding: 2.5rem;
}

.card-header {
    margin-bottom: 2rem;
}

.card-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    font-size: 0.875rem;
    color: rgb(148, 163, 184);
}

/* Form Elements */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgb(226, 232, 240);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background-color: rgba(30, 41, 59, 0.5);
    color: white;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: rgb(6, 182, 212);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.form-checkbox {
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background-color: transparent;
    cursor: pointer;
}

/* Button */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(to right, rgb(6, 182, 212), rgb(20, 184, 166));
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.3);
}

.btn-full {
    width: 100%;
}

/* Alert */
.alert {
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-error-text {
    color: rgb(252, 165, 165);
    font-size: 0.875rem;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.alert-success-text {
    color: rgb(134, 239, 172);
    font-size: 0.875rem;
}

/* Divider */
.divider {
    text-align: center;
    padding-top: 1rem;
}

/* Legal Footer */
.legal-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(51, 65, 85, 0.5);
    padding: 1rem 1.5rem;
    z-index: 50;
}

.legal-footer-content {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .legal-footer-content {
        flex-direction: row;
    }
}

.legal-footer-copyright {
    font-size: 0.75rem;
    color: rgb(148, 163, 184);
}

.legal-footer-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-footer-link {
    font-size: 0.75rem;
    color: rgb(148, 163, 184);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-footer-link:hover {
    color: rgb(34, 211, 238);
}

.legal-footer-separator {
    color: rgb(71, 85, 105);
    font-size: 0.75rem;
}

/* Utility Classes */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.block {
    display: block;
}

.text-sm {
    font-size: 0.875rem;
}

.text-slate-300 {
    color: rgb(203, 213, 225);
}

.text-slate-400 {
    color: rgb(148, 163, 184);
}

.text-cyan-400 {
    color: rgb(34, 211, 238);
}

.hover\:text-cyan-300:hover {
    color: rgb(103, 232, 249);
}

.hover\:text-cyan-400:hover {
    color: rgb(34, 211, 238);
}

.font-semibold {
    font-weight: 600;
}

.transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 200ms;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}
