/* Core styles */
@import url('components/base.css');

.button-center-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

@media (max-width: 768px) {
    .button-center-container {
        margin: 10px 0;
    }

    .btn-full {
        width: 100%;
        max-width: 280px;
    }
}

@import url('components/variables.css');
@import url('components/animations.css');
@import url('components/typography.css');

/* Layout components */
@import url('components/layout/grid.css');
@import url('components/layout/containers.css');
@import url('components/layout/spacing.css');

/* UI components */
@import url('components/ui/navigation.css');
@import url('components/ui/buttons.css');
@import url('components/ui/cards.css');
@import url('components/ui/forms.css');
@import url('components/ui/alerts.css');
@import url('components/ui/modals.css');
@import url('components/ui/tables.css');

/* Page specific styles */
@import url('components/pages/hero.css');
@import url('components/pages/auth.css');
@import url('components/pages/dashboard.css');
@import url('components/pages/disclaimer.css');
@import url('components/pages/who-we-are.css');

/* Utils */
@import url('components/utils/helpers.css');
@import url('components/utils/responsive.css');

/* Variables */
:root {
    --primary-color: #2196f3;
    --primary-dark: #1976d2;
    --primary-hover: #42a5f5;
    --text-primary: #ffffff;
    --text-secondary: #a8b2d1;
    --surface-color: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --radius-md: 8px;
    --btn-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Homepage Styles */
.homepage {
    min-height: 100vh;
    color: #ffffff;
    padding-top: 60px;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.community-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #112240 0%, #1a365d 100%);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.community-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.community-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00B7FF 0%, #2196f3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 30px;
    color: white;
}

.community-card h3 {
    color: #00B7FF;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.community-card p {
    color: #a8b2d1;
    line-height: 1.6;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    overflow: hidden;
    padding: 2rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #64ffda 0%, #00B7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: #64b5f6;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #8892b0;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 2rem 0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    max-width: 600px;
    width: 100%;
}

.hero-buttons a {
    min-width: 200px;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .hero-buttons a {
        width: 100%;
        min-width: unset;
    }
}

.primary-button,
.secondary-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.primary-button {
    background: linear-gradient(135deg, #00B7FF 0%, #2196f3 100%);
    color: white;
    border: none;
}

.secondary-button {
    background: transparent;
    border: 2px solid #00B7FF;
    color: #00B7FF;
}

.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.features-section {
    padding: 8rem 2rem;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #64ffda;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #00B7FF;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-weight: 700;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: #00B7FF;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(0, 183, 255, 0.1) 0%, rgba(33, 150, 243, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
    color: #00B7FF;
}

.feature-card h3 {
    color: #64ffda;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #8892b0;
    line-height: 1.6;
}

.stats-section {
    padding: 6rem 2rem;
    background: rgba(255, 255, 255, 0.02);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #00B7FF;
    background: linear-gradient(135deg, #64ffda 0%, #00B7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: #8892b0;
    font-size: 1.1rem;
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Base styles */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-item:hover {
    color: #2196f3;
}

/* Homepage */
.homepage {
    padding-top: 80px;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/static/images/hero-bg.jpg');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 20px;
}


/* Who We Are */
.who-we-are {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.97), rgba(17, 34, 64, 0.97));
    position: relative;
    overflow: hidden;
}

.who-we-are-header {
    padding: 8rem 4rem 4rem;
    text-align: center;
    position: relative;
}

.founder-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 4rem;
}

.founder-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(145deg, rgba(2,12,27,0.8) 0%, rgba(7,27,55,0.8) 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
}

.founder-image-wrapper {
    flex: 0 0 300px;
    height: 300px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.founder-content {
    text-align: left;
}

@media (max-width: 1024px) {
    .who-we-are-header {
        padding: 6rem 2rem 3rem;
    }

    .founder-container {
        padding: 2rem;
    }
}

/* Base styles */
:root {
    --primary-gradient: linear-gradient(135deg, #00B7FF 0%, #2196f3 100%);
    --card-bg: rgba(255, 255, 255, 0.07);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a8b2d1;
}

body {
    background: linear-gradient(to bottom, #0a192f 0%, #112240 100%);
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.nav-container {
    backdrop-filter: blur(12px);
    background: rgba(10, 25, 47, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left {
    flex: 0 0 auto;
}

.nav-left img {
    height: 45px;
    transition: transform 0.3s ease;
}

.nav-left img:hover {
    transform: scale(1.05);
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00B7FF, #2196f3);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 80%;
}

.nav-item:hover,
.nav-item.active {
    color: #2196f3;
    background: rgba(33, 150, 243, 0.1);
}

.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(12px);
}

.founder-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.founder-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.founder-card h2 {
    color: #00B7FF;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #00B7FF, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.founder-card .position {
    color: #64b5f6;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    display: block;
}

.education-section h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.education-section ul {
    text-align: left;
}

.education-section li {
    color: #a8b2d1;
    margin: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.education-section li i {
    color: #00B7FF;
    font-size: 1.2rem;
}

.who-we-are-header h1 {
    background: linear-gradient(120deg, #00B7FF 0%, #2196f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.founder-content h2 {
    color: #00B7FF;
}

.founder-content .position {
    color: #2196f3;
}

.education-section i {
    color: #00B7FF;
}

.education-section li {
    color: #E6E8EA;
}

.who-we-are-header {
    text-align: center;
    padding: 100px 20px 60px;
    background: linear-gradient(135deg, rgba(26, 31, 37, 0.9), rgba(42, 63, 84, 0.9));
}

.who-we-are-header h1 {
    font-size: 4rem;
    margin: 0;
    background: linear-gradient(120deg, #00B7FF 0%, #2196f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -1px;
}

.who-we-are-header .subtitle {
    font-size: 1.4rem;
    color: #a8b2d1;
    margin-top: 1rem;
    font-weight: 300;
}

.founder-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.founder-card {
    display: flex;
    gap: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-image-wrapper {
    flex: 0 0 400px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.founder-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.founder-image:hover {
    transform: scale(1.05);
}

.founder-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 255, 136, 0.1), rgba(33, 150, 243, 0.1));
}

.founder-content {
    flex: 1;
    padding: 20px 0;
}

.founder-content h2 {
    font-size: 3rem;
    margin: 0;
    color: #00ff88;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.founder-content .position {
    display: block;
    font-size: 1.4rem;
    color: #2196f3;
    margin: 10px 0 30px;
    font-weight: 500;
}

.education-section {
    margin-top: 30px;
}

.education-section h3 {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

.education-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.education-section li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #a8b2d1;
    font-size: 1.1rem;
    line-height: 1.6;
}

.education-section i {
    color: #00ff88;
    margin-right: 15px;
    font-size: 1.2rem;
    width: 24px;
}

@media (max-width: 1024px) {
    .founder-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .founder-image-wrapper {
        flex: none;
        max-width: 300px;
        margin: 0 auto;
    }

    .education-section li {
        justify-content: center;
    }

    .who-we-are-header h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .founder-content h2 {
        font-size: 2.5rem;
    }

    .education-section li {
        font-size: 1rem;
    }
}

.who-we-are-header {
    text-align: center;
    padding: 120px 20px 60px;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.9), rgba(17, 34, 64, 0.9));
}

.who-we-are-header h1 {
    font-size: 3.5rem;
    margin: 0;
    background: linear-gradient(135deg, #64ffda 0%, #2196f3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.who-we-are-header .subtitle {
    font-size: 1.2rem;
    color: #8892b0;
    margin-top: 1rem;
}

.founder-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.founder-profile {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

/* Contact Page */
.contact-page {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.97), rgba(17, 34, 64, 0.97));
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
}

.contact-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.95), rgba(17, 34, 64, 0.95));
    z-index: 2;
}

.ai-waves-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    animation: wave 20s infinite linear;
}

.contact-container {
    position: relative;
    z-index: 2;
    background: rgba(30, 35, 41, 0.75);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    width: 90%;
    margin: 2rem auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 2rem;
}

.contact-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    background: linear-gradient(120deg, #00B7FF, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.contact-subtitle {
    color: #a8b2d1;
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(0, 183, 255, 0.1), rgba(33, 150, 243, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, #00B7FF, #2196f3);
    transform: scale(1.1) rotate(10deg);
}

.contact-icon i {
    font-size: 2rem;
    color: #00B7FF;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
    color: #ffffff;
}

.contact-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.contact-card p {
    color: #a8b2d1;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(21, 101, 192, 0.1));
    color: #00B7FF;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 183, 255, 0.2);
}

.contact-link:hover {
    background: linear-gradient(135deg, #2196f3, #1565c0);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.3);
}

.contact-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.contact-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .contact-container {
        padding: 2rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .contact-header h1 {
        font-size: 2.5rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 2rem;
    }
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 4rem;
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 6rem;
}

.contact-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(120deg, #fff, #64b5f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-card:hover {
    transform: translateY(-15px);
    background: rgba(255, 255, 255, 0.05);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(33, 150, 243, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 2rem;
    color: #64b5f6;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
}

.contact-card p {
    color: #b3e5fc;
    margin-bottom: 1.5rem;
}

.contact-link {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #2196f3, #1565c0);
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-link:hover {    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.3);
}

@media (max-width: 1024px) {
    .contact-container {
        padding: 6rem 2rem;
    }

    .contact-header h1 {
        font-size: 2.5rem;
    }
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ai-waves-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    animation: wave 20s infinite linear;
}

.contact-container {
    position: relative;
    z-index: 2;
    background: rgba(30, 35, 41, 0.85);
    padding: 4rem;
    border-radius: 30px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    width: 90%;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    color: #00B7FF;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(120deg, #00B7FF, #2196f3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    color: #a8b2d1;
    font-size: 1.2rem;
    font-weight: 300;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #00B7FF20, #2196f320);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: linear-gradient(135deg, #00B7FF, #2196f3);
    transform: scale(1.1) rotate(10deg);
}

.contact-icon i {
    font-size: 2rem;
    color: #00B7FF;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
    color: #ffffff;
}

.contact-card h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card p {
    color: #a8b2d1;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-link {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #00B7FF20, #2196f320);
    color: #00B7FF;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #00B7FF40;
}

.contact-link:hover {
    background: linear-gradient(135deg, #00B7FF, #2196f3);
    color: #ffffff;
    transform: translateY(-2px);
}

@keyframes wave {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-2%) translateY(1%);
    }
    100% {
        transform: translateX(0) translateY(0);
    }
}

@media (max-width: 768px) {
    .contact-container {
        padding: 2rem;
    }

    .contact-header h1 {
        font-size: 2.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .founder-profile {
        flex-direction: column;
    }
}

:root {
    --primary-color: #1d9bf0;
    --primary-dark: #1a8cd8;
    --secondary-color: #1d9bf0;
    --secondary-dark: #1a8cd8;
    --danger-color: #f4212e;
    --warning-color: #ffd400;
    --success-color: #00ba7c;
    --background-color: #000000;
    --text-primary: #e7e9ea;
    --text-secondary: #71767b;
    --text-tertiary: #393b3d;
    --border-color: #2f3336;
    --input-background: #202327;
    --card-background: #16181c;
    --shadow-small: 0 1px 3px rgba(255, 255, 255, 0.05);
    --shadow-medium: 0 4px 6px rgba(255, 255, 255, 0.05);
    --shadow-large: 0 10px 15px rgba(255, 2555, 255, 0.05);
    --radius-small: 4px;
    --radius-medium: 12px;
    --radius-large: 16px;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

/* Auth Page Styles */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #f5f7fa, #e4e8f0);
}

.auth-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
}

.auth-card {
    background-color: var(--card-background);
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-large);
    overflow: hidden;
}

.auth-header {
    padding: 2rem 2rem 1.5rem;
    text-align: center;
}

.auth-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.auth-header h1 {
    margin: 0 0 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
}

.auth-header p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.auth-methods {
    padding: 1.5rem 2rem;
}

/* Form Elements */
.auth-form {
    margin-top: 1.5rem;
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--text-tertiary);
    font-size: 1rem;
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-medium);
    background-color: var(--input-background);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.15);
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}

.toggle-password:hover {
    color: var(--text-secondary);
}

.label-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.text-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-medium);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-small);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: rgba(66, 133, 244, 0.05);
}

.btn-block {
    width: 100%;
    margin-top: 0.5rem;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    font-size: 0.875rem;
    text-decoration: underline;
}

.btn-link:hover {
    color: var(--primary-dark);
}

.btn i {
    margin-right: 0.5rem;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 1rem;
}

/* Google Button */
.auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-medium);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.google-btn {
    background-color: white;
    color: #3c4043;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-small);
}

.google-btn:hover {
    background-color: #f8f9fa;
    box-shadow: var(--shadow-medium);
}

.google-btn i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
    color: #4285F4;
}

/* Checkbox */
.form-option {
    margin-bottom: 1.25rem;
}

.checkbox {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    height: 18px;
    width: 18px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    margin-right: 0.5rem;
    transition: all 0.2s;
}

.checkbox:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox input:checked ~ .checkmark:after {
    display: block;
}

.checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Footer */
.auth-footer {
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Flash Messages */
.flash-messages {
    padding: 0 2rem;
}

.flash-message {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-medium);
    display: flex;
    align-items: center;
}

.flash-message.success {
    background-color: rgba(52, 168, 83, 0.1);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

.flash-message.error {
    background-color: rgba(234, 67, 53, 0.1);
    color: var(--danger-color);
    border-left: 4px solid var(--danger-color);
}

.flash-message.warning {
    background-color: rgba(251, 188, 5, 0.1);
    color: #b06000;
    border-left: 4px solid var(--warning-color);
}

.flash-message.info {
    background-color: rgba(66, 133, 244, 0.1);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

/* Status Card */
.status-card {
    display: flex;
    margin: 0 2rem 1.5rem;
    padding: 1.25rem;
    background-color: rgba(251, 188, 5, 0.1);
    border-radius: var(--radius-medium);
    border-left: 4px solid var(--warning-color);
}

.status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(251, 188, 5, 0.2);
    color: #b06000;
    margin-right: 1rem;
    flex-shrink: 0;
}

.status-icon.warning {
    background-color: rgba(251, 188, 5, 0.2);
    color: #b06000;
}

.status-content {
    flex: 1;
}

.status-title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #b06000;
}

.status-content p {
    margin: 0 0 1rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Verification Steps */
.verification-steps {
    margin: 1rem 0;
}

.verification-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: #b06000;
    color: white;
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 500;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.verification-step p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Resend Confirmation */
.resend-confirmation {
    margin-top: 1rem;
}

.resend-confirmation p {
    margin: 0 0 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.button-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

/* Expandable Forms */
.toggleable {
    margin-top: 1.5rem;
}

.expandable-form {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.info-box {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: rgba(66, 133, 244, 0.05);
    border-radius: var(--radius-medium);
}

.info-box i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.info-box p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .auth-methods {
        padding: 1.25rem 1.5rem;
    }

    .auth-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .auth-footer {
        padding: 1.25rem 1.5rem;
    }

    .status-card {
        margin: 0 1.5rem 1.25rem;
        padding: 1rem;
        flex-direction: column;
    }

    .status-icon {
        margin-bottom: 0.75rem;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .auth-logo {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .auth-header h1 {
        font-size: 1.5rem;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"] {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
    }
}

:root {
    --primary-color: #1d9bf0;
    --secondary-color: #0d47a1;
    --light-color: #e3f2fd;
    --dark-color: #1e3a8a;
    --border-color: #e0e0e0;
    --text-color: #212121;
    --text-light: #757575;
    --success-color: #4caf50;
    --error-color: #f44336;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-family: 'Roboto', sans-serif;
}

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

html,
body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: auto;
    position: relative;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f5f7fa;
    -webkit-overflow-scrolling: touch;
}

.app-content {
    height: 100%;
    width: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.scrollable-page {
    min-height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.flash-messages {
    width: 100%;
    padding: 0 1rem;
    max-width: 600px;
    margin: 1rem auto;
}

.flash-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.3s ease forwards;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

/* Mobile app style reset */
* {
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100%;
    overflow-y: auto !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header styles */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    font-size: 28px;
}

.user-info {
    display: flex;
    align-items: center;
}

.user-name {
    margin-right: 15px;
    font-weight: 500;
}

.logout-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    line-height: 1;
}


/* Thêm loading indicator */
.spinning {
    animation: spin 1s infinite linear;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    line-height: 1.5;
}

.alert i {
    margin-right: 10px;
    font-size: 18px;
}

.alert-error {
    background-color: rgba(245, 101, 101, 0.1);
    color: #e53e3e;
    border-left: 4px solid #e53e3e;
}

.alert span {
    flex: 1;
}

.logout-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.logout-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.logout-btn i {
    margin-right: 5px;
}

/* Modern disclaimer design */
.disclaimer-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f7f9fc;
    background-image: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(13, 71, 161, 0.1) 100%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    height: auto;
    position: relative;
}

.disclaimer-header {
    text-align: center;
    padding: 4rem 1rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.disclaimer-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 015);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.disclaimer-icon i {
    font-size: 48px;
    color: #fff;
}

.disclaimer-header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.disclaimer-header p {
    margin-top: 0.8rem;
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-content {
    flex: 1;
    padding: 2.5rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.disclaimer-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    transition: all 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.disclaimer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.disclaimer-section {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 2rem;
}

.disclaimer-section:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    opacity: 0.2;
}

.section-icon {
    flex: 0 0 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(13, 71, 161, 0.15));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.disclaimer-section:hover .section-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.section-icon i {
    font-size: 32px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.disclaimer-section:hover .section-icon i {
    color: #fff;
}

.section-content {
    flex: 1;
}

.section-content h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.section-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #4a5568;
}

.disclaimer-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn,
.btn-accept,
.btn-decline {
    padding: 1rem 2rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: var(--primary-gradient);
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover,
.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 183, 255, 0.2);
}

input,
select,
textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    color: white;
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #00B7FF;
    box-shadow: 0 0 0 2px rgba(0, 183, 255, 0.2);
    outline: none;
}

.btn-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-accept:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-decline {
    background: linear-gradient(135deg, #616161, #424242);
    color: white;
}

.btn-decline:hover {
    background: linear-gradient(135deg, #424242, #212121);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-accept i,
.btn-decline i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Header bar for disclaimer */
.header-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    padding: 20px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-bar h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.header-bar p {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.9;
}

/* Main content */
.main {
    margin-top: 30px;
}

.card {
    background-color: var(--card-color);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--secondary-color);
}

.card-body {
    padding: 30px;
}

/* Form elements */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--secondary-color);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.range-value {
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 10px;
}

/* Button styles */
.btn-group {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-group .btn {
    flex: 0 1 240px;
    padding: 1rem 2rem;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-group .btn-primary {
    background: #00B7FF;
    color: white;
    border: none;
}

.btn-group .btn-outline {
    border: 2px solid #00B7FF;
    color: #00B7FF;
    background: transparent;
}

@media (max-width: 768px) {
    .btn-group {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-group .btn {
        width: 100%;
        max-width: 280px;
    }
}

.btn {
    flex: 1;
    max-width: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.btn:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, #757575, #424242);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #616161, #424242);
}

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

/* For disclaimer buttons */
.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.btn-accept {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.btn-accept:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-decline {
    background: #9e9e9e;
}

.btn-decline:hover {
    background: #757575;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Results display */
.result-box {
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    white-space: pre-wrap;
    font-size: 16px;
    line-height: 1.8;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: var(--card-shadow);
}

.image-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.image-container {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.image-title {
    padding: 10px;
    background-color: #f5f5f5;
    text-align: center;
    font-weight: 500;
}

/* Flash messages */
.flash-messages {
    max-width: 800px;
    margin: 20px auto;
    padding: 10px;
}

.flash-message {
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 4px;
    animation: fadeIn 0.5s ease;
}

.flash-message.error {
    background-color: var(--error-bg);
    color: var(--error-color);
    border-left: 4px solid var(--error-color);
}

.flash-message.success {
    background-color: var(--success-bg);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

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

/* Authentication and Login styles */
.login-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f7f9fc;
    background-image: linear-gradient(135deg, rgba(33, 150, 243, 0.05) 0%, rgba(13, 71, 161, 0.1) 100%);
}

.login-header {
    text-align: center;
    padding: 4.5rem 1rem 3.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.login-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.2rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

.login-icon i {
    font-size: 36px;
    color: #fff;
}

.login-header h1 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.login-header p {
    margin-top: 0.6rem;
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.login-content {
    flex: 1;
    padding: 1.5rem;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 10;
}

.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.alert {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-error {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--error-color);
    border-left: 4px solid var(--error-color);
}

.alert-warning {
    background-color: rgba(255, 152, 0, 0.1);
    color: #ff9800;
    border-left: 4px solid #ff9800;
}

.alert .error-details {
    margin-top: 10px;
    font-size: 0.9rem;
    opacity: 0.9;
    padding-left: 10px;
    border-left: 2px solid rgba(0, 0, 0, 0.1);
}

.alert i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

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

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

.label-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-password {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.input-container {
    position: relative;
    height: 50px;
    margin-bottom: 5px;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: var(--secondary-color);
}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 1rem 1rem 1rem 2.8rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background-color: #f8fafc;
    height: 50px;
    box-sizing: border-box;
    color: #000; /* Màu chữ đen khi người dùng nhập */
}

input[type="email"],
input[type="text"] {
    padding-right: 1rem;
}

input[type="password"] {
    padding-right: 3rem;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
    background-color: #fff;
}

.remember-me {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-container {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    color: #4a5568;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #edf2f7;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.login-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    min-height: 3.5rem;
}

.login-button:disabled {
    background: linear-gradient(135deg, #9e9e9e, #757575);
    cursor: not-allowed;
    opacity: 0.8;
}

#login-spinner {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.login-button span {
    flex: 1;
    text-align: center;
}

.login-button i {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.login-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.login-button:hover i {
    transform: translateX(5px);
}

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: #a0aec0;
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.divider span {
    padding: 0 1rem;
}

.social-login {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.social-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    fontweight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-btn.google {
    background-color: #fff;
    color: #4285F4;
    border: 1px solid #e2e8f0;
}

.social-btn.facebook {
    background-color: #fff;
    color: #3b5998;
    border: 1px solid #e2e8f0;
}

.social-btn:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.login-footer {
    text-align: center;
    color: #4a5568;
    font-size: 0.95rem;
}

.register-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.register-link:hover {
    color: var(--secondary-color);
}

.register-link i {
    font-size: 0.8rem;
    margin-left: 0.3rem;
    transition: transform 0.2s ease;
}

.register-link:hover i {
    transform: translateX(5px);
}

/* Policy agreement styles */
.policy-agreement,
.accept-terms {
    margin-bottom: 1.5rem;
}

.accept-terms {
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.resend-confirmation {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.resend-text {
    color: var(--text-secondary);
}

.resend-confirmation a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.resend-confirmation a:hover {
    text-decoration: underline;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
}

.btn-secondary:hover {
    background-color: #1e429f;
    transform: translateY(-2px);
}

.policy-text {
    font-size: 0.9rem;
    color: #4a5568;
    margin-left: 5px;
}

/* Success alert */
.site-footer {
    background-color: #f8f9fa;
    padding: 1rem 0;
    text-align: center;
    position: relative;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #eee;
}

.footer-content {
    color: #666;
    font-size: 0.9rem;
}

.footer-content p {
    margin: 0;
}

.alert-success {
    background-color: rgba(72, 187, 120, 0.1);
    color: #2f855a;
    border-left: 4px solid #2f855a;
}

.toggle-confirm-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.toggle-confirm-password:hover {
    color: var(--secondary-color);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Old Auth Styles (keeping for backward compatibility) */
.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 80vh;
}

.auth-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
    padding: 25px;
}

.auth-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 25px 20px;
    text-align: center;
    border-radius: 8px 8px 0 0;
    margin: -25px;
    margin-bottom: 30px;
}

.auth-header .auth-logo {
    font-size: 48px;
    margin-bottom: 15px;
}

.auth-header h1 {    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.auth-header p {
    font-size: 14px;
    opacity: 0.8;
}

.auth-body {
    margin-bottom: 20px;
}

.auth-button {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.auth-button:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: #666;
    font-size: 14px;
}

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

/* Footer */
.footer {
    background-color: var(--card-color);
    padding: 30px 0;
    margin-top: 40px;
    color: var(--light-text);
    font-size: 14px;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* Responsive styles */
/* Animation Keyframes */
@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Apply animations to elements */
.stat-card:nth-child(1) {
    animation: fadeInUp 0.5s ease 0.1s backwards;
}

.stat-card:nth-child(2) {
    animation: fadeInUp 0.5s ease 0.2s backwards;
}

.stat-card:nth-child(3) {
    animation: fadeInUp 0.5s ease 0.3s backwards;
}

.prediction-card {
    animation: slideInLeft 0.6s ease 0.3s backwards;
}

.results-card {
    animation: slideInRight 0.6s ease 0.4s backwards;
}

.chart-wrapper:nth-child(1) {
    animation: fadeInUp 0.5s ease 0.5s backwards;
}

.chart-wrapper:nth-child(2) {
    animation: fadeInUp 0.5s ease 0.6s backwards;
}



.bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    height: 56px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding-bottom: var(--ios-bottom-padding);
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #757575;
    text-decoration: none;
    font-size: 12px;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

.bottom-nav-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow-y: auto !important;
        overflow-x: hidden;
        position: static !important;
        height: auto !important;
    }

    .container {
        padding: 16px;
        width: 100%;
        max-width: 100%;
        margin-bottom: calc(var(--ios-bottom-padding) + 56px);
        margin-top: 0;
        overflow-y: visible !important;
    }

    .card {
        margin-bottom: 20px;
        border-radius: 15px;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    .btn-group {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .image-grid {
        grid-template-columns: 1fr;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        padding: 0 10px;
    }

    .user-info {
        margin-top: 15px;
        width: 100%;
        max-width: 300px;
    }

    .buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .dashboard-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stats-card {
        max-width: 450px;
        margin: 0 auto;
        width: 100%;
    }

    .days-value::before,
    .days-value::after {
        display: none;
    }

    .form-group {
        margin-bottom: 20px;
        padding: 0 5px;
    }

    .card-header {
        padding: 18px 15px;
    }

    .card-body {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        margin: 0 10px;
        width: calc(100% - 20px);
        padding: 20px 15px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .footer-links a {
        padding: 8px 0;
        width: 100%;
        text-align: center;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    h1,
    h2 {
        font-size: 1.5rem;
    }

    .form-control {
        padding: 12px 15px;
        font-size: 14px;
    }

    .form-group label {
        font-size: 14px;
    }


    /* Improve touch targets */
    button,
    input[type="submit"],
    .btn,
    a.btn,
    .toggle-password,
    .toggle-confirm-password,
    .checkbox-container,
    .social-btn {
        min-height: 44px;
    }


    /* Cải thiện khả năng sử dụng touch */
    input,
    select,
    textarea {
        font-size: 16px;
    }

    .input-container {
        position: relative;
    }

    a,
    button {
        cursor: pointer;
        touch-action: manipulation;
    }
}

/* Fix container width for all devices */
@media screen and (min-width: 320px) and (max-width: 1200px) {
    .container,
    .dashboard-container,
    .login-container,
    .disclaimer-container,
    .contact-container,
    .who-we-are-container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        margin-top: 70px;
        position: relative;
        z-index: 1;
        overflow: visible;
    }


    /* Fix frame appearance */
    .card,
    .auth-container,
    .login-card,
    .disclaimer-card {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 15px;
    }


    /* Common styles for all pages */
    h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    h2 {
        font-size: 20px;
        line-height: 1.3;
    }

    p {
        font-size: 14px;
        line-height: 1.5;
    }

    .flash-message {
        margin-left: 5px;
        margin-right: 5px;
        width: calc(100% - 10px);
    }


    /* Improve all forms */
    form {
        width: 100%;
    }

    input,
    select,
    textarea {
        font-size: 14px;
    }

    button,
    .btn {
        font-size: 14px;
        min-height: 44px;
    }
}

/* Flash messages */
.flash-messages {
    max-width: 500px;
    margin: 20px auto;
    padding: 10px;
}

.flash-message {
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 4px;
    animation: fadeIn 0.5s ease;
}

.flash-message.error {
    background-color: var(--error-bg);
    color: var(--error-color);
    border-left: 4px solid var(--error-color);
}

.flash-message.success {
    background-color: var(--success-bg);
    color: var(--success-color);
    border-left: 4px solid var(--success-color);
}

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

/* Info box */
.info-box {
    background-color: #f8f9fa;
    border-left: 3px solid #17a2b8;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
}

.info-box i {
    color: #17a2b8;
    font-size: 18px;
    margin-right: 10px;
}

.info-box p {
    color: #495057;
    margin: 0;
    font-size: 0.9rem;
}

/* Styles for the login page */
.login-container {
    max-width: 100%;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Password strength styles */
.password-strength {
    margin-top: 5px;
}

.strength-meter {
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    margin-bottom: 5px;
}

.strength-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.strength-bar.weak {
    background-color: #ff5252;
}

.strength-bar.medium {
    background-color: #ffa726;
}

.strength-bar.strong {
    background-color: #26c6da;
}

.strength-bar.very-strong {
    background-color: #66bb6a;
}

.strength-text {
    font-size: 12px;
    color: #757575;
}

/* Field info styles */
.field-info {
    font-size: 12px;
    margin-top: 5px;
    transition: all 0.3s ease;
}

.field-info.success {
    color: #66bb6a;
}

.field-info.error {
    color: #ff5252;
}

.field-info.warning {
    color: #ffa726;
}

/* Required field indicator */
.required {
    color: #ff5252;
}

/* Link button */
.btn-link {
    background: none;
    border: none;
    padding: 0;
    color: #2196f3;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
}

.btn-link:hover {
    color: #0c7cd5;
}

/* Improved flash messages */
.flash-message {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease;
    width: 100%;
    max-width: 480px;
}

.flash-message i {
    margin-right: 10px;
    font-size: 18px;
}

.flash-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.flash-message.error {
    background-color: #ffebee;
    color: #c62828;
    border-left: 4px solid #f44336;
}

.flash-message.info {
    background-color: #e3f2fd;
    color: #1565c0;
    border-left: 4px solid #2196f3;
}

.flash-message.warning {
    background-color: #fff8e1;
    color: #f57f17;
    border-left: 4px solid #ffc107;
}

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

/* Input error styles */
.input-container .error {
    border-color: #ff5252;
}

.input-error {
    color: #ff5252;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.input-error i {
    margin-right: 5px;
}

/* Improved login button */
.login-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: #2196f3;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.login-button:hover {
    background: #1976d2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-button:disabled {
    background: #90caf9;
    cursor: not-allowed;
}

.login-button i {
    margin-left: 8px;
}

#login-spinner,
#register-spinner {
    margin-left: 8px;
}

/* Styles cho trang auth */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.auth-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    padding: 32px;
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo {
    width: 70px;
    height: 70px;
    background: #2196f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}

.auth-header h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.auth-header p {
    color: #757575;
    font-size: 16px;
    line-height: 1.5;
}

.flash-messages {
    margin-bottom: 24px;
}

.flash-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    font-size: 14px;
    line-height: 1.5;
}

.flash-message i {
    margin-right: 10px;
    font-size: 16px;
}

.flash-message.error {
    background-color: #ffebee;
    color: #d32f2f;
    border-left: 4px solid #d32f2f;
}

.flash-message.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.flash-message.info {
    background-color: #e3f2fd;
    color: #1976d2;
    border-left: 4px solid #1976d2;
}

.flash-message.warning {
    background-color: #fff8e1;
    color: #ff8f00;
    border-left: 4px solid #ff8f00;
}

/* Form styles */
.auth-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #424242;
    font-size: 14px;
}

.label-with-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background-color: #fff;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #333;
    font-size: 15px;
    margin-bottom: 15px;
}

.btn-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.btn-social.google {
    border-color: #DADCE0;
}

.btn-social.google:hover {
    background-color: #f8f9fa;
}

.btn-social.replit {
    background-color: #0E1525;
    color: white;
    border-color: #0E1525;
    margin-bottom: 12px;
}

.btn-social.replit:hover {
    background-color: #1C2333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-social i,
.btn-social img {
    margin-right: 10px;
    font-size: 18px;
}

.btn-social.google i {
    color: #4285F4;
}

.btn-social.replit img.replit-icon {
    width: 20px;
    height: 20px;
}

/* Footer */
.site-footer {
    background: rgba(10, 25, 47, 0.95);
    padding: 20px 0;
    text-align: center;
    color: var(--text-secondary);
}

/* Utilities */
.scrollable-page {
    padding-bottom: 30px;
}

@media (max-width: 768px) {
    .btn,
    button[type="submit"] {
        width: 100%;
        max-width: 280px;
        margin-bottom: 10px;
    }

    input,
    button,
    select,
    textarea {
        -webkit-appearance: none;
        border-radius: 8px;
    }
}

/* Global Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Common Utilities */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }
}

.ai-consultant-btn {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 12px;
    background: rgba(2, 9, 22, 0.6);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
}

.ai-consultant-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.ai-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.btn-group {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}