* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: .5rem;
    padding: .625rem .875rem;
    font-size: .875rem;
    line-height: 1.5;
    color: #111827;
    background-color: #ffffff;
    transition: all .15s ease;
}

.form-input::placeholder {
    color: #6b7280;
}

.form-input:focus {
    outline: none;
    border-color: #009688;
    box-shadow: 0 0 0 3px rgba(0,150,136,.15);
}

/* Dark mode */
.dark .form-input {
    border-color: #374151;
    color: #e5e7eb;
    background-color: #1f2937;
}

.dark .form-input::placeholder {
    color: #9ca3af;
}

.dark .form-input:focus {
    border-color: #009688;
    box-shadow: 0 0 0 3px rgba(0,150,136,.2);
}

.transition-smooth {
    transition: all .2s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-card {
    animation: authFadeIn 0.5s ease-out forwards;
}

/* delays para animações internas */
.auth-card .delay-1,
.auth-card .delay-2,
.auth-card .delay-3,
.auth-card .delay-4,
.auth-card .delay-5,
.auth-card .delay-6 {
    animation: authFadeIn 0.4s ease-out forwards;
    opacity: 0;
}

.auth-card .delay-1 { animation-delay: 0.06s; }
.auth-card .delay-2 { animation-delay: 0.12s; }
.auth-card .delay-3 { animation-delay: 0.18s; }
.auth-card .delay-4 { animation-delay: 0.24s; }
.auth-card .delay-5 { animation-delay: 0.30s; }
.auth-card .delay-6 { animation-delay: 0.36s; }

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-btn {
    transition: transform 0.2s ease,
                box-shadow 0.2s ease,
                background-color 0.2s ease;
}

.auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -4px rgba(0, 150, 136, 0.3);
}