/* static/css/metamode.css */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

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

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background: #f8fafc;
}

/* Navbar customization */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-dark .navbar-brand {
    -webkit-text-fill-color: white;
    background: none;
}

.navbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 80%;
}

/* Alert animations */
.alert {
    animation: slideDown 0.5s ease;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mood tracker styles */
.mood-option {
    padding: 15px 20px;
    margin: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mood-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: white;
}

.mood-option.selected {
    transform: scale(1.05);
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.mood-1 { background-color: #ff6b6b; }
.mood-2 { background-color: #ffa06b; }
.mood-3 { background-color: #ffd93d; color: #333; text-shadow: none; }
.mood-4 { background-color: #6bcf7f; }
.mood-5 { background-color: #4a9eff; }

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 4rem 0;
}

/* Animated background elements */
.floating-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--primary-gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s infinite;
    pointer-events: none;
}

.shape-1 {
    top: -100px;
    right: -100px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    animation-delay: 0s;
}

.shape-2 {
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    animation-delay: -5s;
}

.shape-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    opacity: 0.2;
    animation: pulse 15s infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
}

/* Main content */
.hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem;
}

.brand-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50px;
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    animation: slideInDown 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #2d3748 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInUp 1s ease 0.2s both;
}

/* Feature cards */
.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease;
    animation-fill-mode: both;
}

.feature-card:nth-child(1) { animation-delay: 0.4s; }
.feature-card:nth-child(2) { animation-delay: 0.6s; }
.feature-card:nth-child(3) { animation-delay: 0.8s; }

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -15px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotate(0deg) scale(1.1);
    border-radius: 50%;
}

.feature-icon i {
    transform: rotate(-45deg);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    transform: rotate(0deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.feature-text {
    color: #718096;
    line-height: 1.6;
}

/* CTA Button */
.cta-button {
    position: relative;
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: var(--primary-gradient);
    border: none;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 20px 30px -10px rgba(102, 126, 234, 0.4);
    text-decoration: none;
    letter-spacing: 1px;
    animation: slideInUp 1s ease 1s both;
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 40px -10px rgba(102, 126, 234, 0.6);
    color: white;
    text-decoration: none;
}

.cta-button:active {
    transform: translateY(0);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.cta-button:hover::before {
    left: 100%;
}

/* Stats section */
.stats-container {
    margin-top: 5rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    animation: fadeIn 1s ease 1.2s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Ripple effect styles */
.ripple {
    position: absolute;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rippleEffect 0.6s ease-out;
    pointer-events: none;
    z-index: 1;
}

@keyframes rippleEffect {
    0% {
        width: 0;
        height: 0;
        opacity: 0.5;
    }
    100% {
        width: 500px;
        height: 500px;
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .feature-card {
        margin-bottom: 1rem;
    }
    
    .stats-container .row > div {
        margin-bottom: 1.5rem;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #a0a0a0;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 300% 100%;
    animation: gradientMove 5s ease infinite;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-tagline {
    color: #a0a0a0;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a:hover {
    color: #667eea;
    transform: translateX(5px);
    padding-left: 5px;
}

.footer-links a i {
    font-size: 0.8rem;
    margin-right: 8px;
    opacity: 0.7;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #f093fb;
}

.heart-icon {
    color: #f5576c;
    animation: heartbeat 1.5s ease infinite;
    display: inline-block;
    margin: 0 5px;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.footer-badge {
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    padding: 0.5rem 1.2rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-badge i {
    color: #667eea;
    margin-right: 8px;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-title {
        margin-top: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
}
/* Add to static/css/metamode.css if missing */

/* ===== AUTH PAGES STYLES ===== */
.auth-body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-body main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.auth-container {
    max-width: 450px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 300% 100%;
    animation: gradientMove 5s ease infinite;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2d3748 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #718096;
    font-size: 1rem;
}

/* Social Login Section */
.socialaccount_ballot {
    margin-bottom: 2rem;
}

.socialaccount_providers {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.socialaccount_providers li {
    margin: 0;
}

.socialaccount_providers a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.8rem;
    border-radius: 12px;
    background: white;
    border: 2px solid #e2e8f0;
    color: #2d3748;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.socialaccount_providers a:hover {
    transform: translateY(-2px);
    border-color: #667eea;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.1);
}

.login-or {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
    color: #a0aec0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-or::before,
.login-or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.login-or::before {
    left: 0;
}

.login-or::after {
    right: 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Error messages */
.errorlist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    color: #f5576c;
    font-size: 0.85rem;
    font-weight: 500;
}

.alert-error {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 0.8rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Form actions */
.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.forgot-password {
    color: #718096;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #667eea;
}

/* Buttons */
.btn-auth {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.btn-auth i {
    margin-right: 8px;
}

.btn-block {
    width: 100%;
}

/* Floating shapes */
.auth-shapes {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.auth-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
    animation: floatShape 20s infinite alternate;
}

.auth-shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    top: -100px;
    right: -100px;
}

.auth-shape-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    bottom: -200px;
    left: -200px;
    animation-delay: -5s;
}

.auth-shape-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.1;
}

@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.1); }
}

/* Sign up prompt */
.signup-prompt {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.signup-prompt p {
    color: #718096;
    margin: 0;
}

.signup-prompt a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.signup-prompt a:hover {
    color: #764ba2;
}

.signup-prompt a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.signup-prompt a:hover i {
    transform: translateX(5px);
}

/* Auth Section - Login & Register */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.auth-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(120, 81, 169, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: slideInUp 0.6s ease;
}

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

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

.auth-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: white;
}

.auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 0.5rem 0;
}

.auth-subtitle {
    color: #718096;
    font-size: 0.95rem;
    margin: 0;
}

/* Social Login */
.social-login {
    margin-bottom: 2rem;
}

.socialaccount_providers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.socialaccount_providers a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    color: #667eea;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.socialaccount_providers a:hover {
    border-color: #667eea;
    background: #f7f9fc;
    transform: translateY(-2px);
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.login-divider span {
    background: white;
    padding: 0 1rem;
    color: #a0aec0;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

/* Login Form Styling */
.login-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
}

.form-control {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #1a1a2e;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #a0aec0;
}

/* Input field styling */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea,
select {
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    color: #1a1a2e !important;
    font-family: 'Inter', sans-serif !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
    outline: none !important;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder,
input[type="email"]::placeholder,
input[type="number"]::placeholder {
    color: #a0aec0 !important;
}

.form-check {
    padding-left: 0;
}

.form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: #667eea;
    border-color: #667eea;
}

.form-check-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-check-label {
    cursor: pointer;
    color: #4a5568;
    font-weight: 500;
    margin-left: 0.5rem;
}

/* Button Styling */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
}

/* Auth Footer Links */
.auth-footer {
    text-align: center;
    margin-bottom: 1rem;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Auth Signup Section */
.auth-signup {
    text-align: center;
}

.auth-signup p {
    color: #718096;
    font-size: 0.95rem;
}

.signup-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.signup-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Form error messages */
.invalid-feedback {
    color: #f5576c !important;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.errorlist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.errorlist li {
    color: #f5576c;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 576px) {
    .auth-card {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .auth-header h1 {
        font-size: 1.5rem;
    }
    
    .auth-section {
        padding: 1.5rem 0;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .forgot-password {
        align-self: flex-start;
    }
}


/* ===== DASHBOARD STYLES ===== */
.dashboard-container {
    padding: 2rem 1.5rem;
    position: relative;
    min-height: calc(100vh - 200px);
}

/* Dashboard Header */
.dashboard-header {
    margin-bottom: 2.5rem;
    position: relative;
}

.dashboard-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2d3748 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: #718096;
    font-size: 1.1rem;
}

.dashboard-header p i {
    color: #667eea;
    margin-right: 8px;
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #718096;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2d3748 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.stat-sub {
    color: #a0aec0;
    font-size: 0.85rem;
}

/* Category Badges */
.category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea10 0%, #764ba210 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 30px;
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.category-badge:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.category-badge i {
    margin-right: 5px;
    font-size: 0.8rem;
}

/* Section Title */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin: 2rem 0 1.5rem;
    position: relative;
    padding-left: 1rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

.section-title i {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 10px;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.2);
}

.category-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.category-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

.category-badge-count {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.category-body {
    padding: 1.5rem;
}

/* Stats Grid */
.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-row span:first-child {
    color: #718096;
    font-size: 0.95rem;
}

.stat-row strong {
    font-size: 1.1rem;
}

/* Progress Bar */
.progress-custom {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin: 0.5rem 0;
}

.progress-custom-bar {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
    position: relative;
    overflow: hidden;
}

.progress-custom-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-success { background: linear-gradient(90deg, #48bb78, #38a169); }
.progress-warning { background: linear-gradient(90deg, #ecc94b, #d69e2e); }
.progress-danger { background: linear-gradient(90deg, #f56565, #c53030); }

/* Top Reasons List */
.reasons-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.reason-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #edf2f7;
}

.reason-item:last-child {
    border-bottom: none;
}

.reason-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #2d3748;
}

.reason-badge {
    width: 24px;
    height: 24px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.reason-badge.positive { background: #c6f6d5; color: #22543d; }
.reason-badge.negative { background: #fed7d7; color: #742a2a; }
.reason-badge.neutral { background: #e2e8f0; color: #2d3748; }

.reason-stats {
    text-align: right;
}

.reason-count {
    font-size: 0.8rem;
    color: #a0aec0;
    display: block;
}

.reason-score {
    font-size: 0.9rem;
    font-weight: 600;
}

/* View Details Button */
.btn-details {
    background: transparent;
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: #667eea;
    padding: 0.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-top: 1rem;
}

.btn-details:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-details i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-details:hover i {
    transform: translateX(5px);
}

/* Recent Entries Table */
.recent-entries-card {
    background: white;
    border-radius: 25px;
    padding: 1.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-top: 2rem;
}

.table-custom {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.table-custom th {
    color: #718096;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 0.5rem;
    border-bottom: 2px solid #edf2f7;
}

.table-custom td {
    padding: 1rem 0.5rem;
    background: #f8fafc;
    border-radius: 12px;
    color: #2d3748;
}

.table-custom tr:hover td {
    background: linear-gradient(90deg, #f8fafc, #edf2f7);
}

.mood-badge {
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

.mood-badge.great { background: #c6f6d5; color: #22543d; }
.mood-badge.good { background: #bee3f8; color: #2c5282; }
.mood-badge.neutral { background: #e2e8f0; color: #2d3748; }
.mood-badge.bad { background: #fed7d7; color: #742a2a; }
.mood-badge.terrible { background: #fed7d7; color: #742a2a; }

.category-tag {
    background: #edf2f7;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #4a5568;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.empty-state i {
    font-size: 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.empty-state h4 {
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #718096;
    margin-bottom: 1.5rem;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 1rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .table-custom {
        font-size: 0.85rem;
    }
    
    .table-custom td {
        padding: 0.75rem 0.25rem;
    }
}