/* Global Styles */
:root {
    --primary-color: #b5f1df;
    --primary-dark: #8ad4c2;
    --primary-light: #d7f8ee;
    --text-color: #333;
    --background-color: #f9f7f0;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-size: 1.1rem;
    padding: 1rem 2rem;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--primary-light);
    border: 2px solid var(--primary-dark);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--text-color);
}

.btn-dashboard {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

/* Hero Section */
.hero {
    padding: 8rem 5% 5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    min-height: 80vh;
    background: linear-gradient(135deg, var(--background-color) 0%, #ffffff 100%);
}

.hero-content {
    max-width: 500px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero .vision {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

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

.dashboard-preview {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dashboard-preview:hover {
    transform: translateY(-10px);
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background-color: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

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

.feature-card {
    background: var(--background-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.feature-card p {
    color: #666;
}

/* Auth Pages */
.auth-page {
    min-height: 100vh;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

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

.auth-logo img {
    height: 60px;
}

.auth-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.auth-form {
    margin: 2rem 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #ddd;
}

.auth-divider span {
    padding: 0 1rem;
    color: #666;
}

.btn-google {
    background-color: #fff;
    border: 1px solid #ddd;
    color: var(--text-color);
}

.auth-links {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Dashboard Styles */
.dashboard-page {
    min-height: 100vh;
    background-color: var(--background-color);
}

.dashboard-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.dashboard-logo {
    height: 40px;
}

.dashboard-content {
    padding: 2rem 5%;
    max-width: 1600px;
    margin: 0 auto;
}

.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.task-list {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: fit-content;
}

section {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.task-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
}

.filter {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter:hover {
    background-color: rgba(181, 241, 223, 0.3);
}

.filter.active {
    background-color: var(--primary-color);
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-bottom: 3px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-card h3 {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.stat-value {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--text-color);
}

/* Timer Section */
.timer-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: fit-content;
}

.timer-content {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #ffffff 100%);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.timer-content.inactive {
    background: #f5f5f5;
    opacity: 0.8;
}

.timer-content.inactive .timer-display {
    color: #999;
    font-size: 3rem;
}

.timer-content.inactive h2 {
    color: #666;
}

.timer-display {
    font-size: 4rem;
    font-weight: bold;
    margin: 1.5rem 0;
    font-family: monospace;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-stop {
    background-color: #f44336;
    color: white;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    display: none;
}

.timer-content.active .btn-stop {
    display: inline-flex;
}

.upcoming-tasks {
    background-color: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.upcoming-tasks h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-size: 1.1rem;
    text-align: center;
}

.due-dates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.upcoming-task {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    gap: 1rem;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.upcoming-task:hover {
    border-left-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.9);
}

.upcoming-date {
    font-weight: 600;
    color: var(--primary-dark);
    white-space: nowrap;
}

.upcoming-title {
    flex: 1;
    font-weight: 500;
}

.upcoming-category {
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Profile Page Styles */
.profile-page {
    background-color: var(--background-color);
    min-height: 100vh;
}

.profile-content {
    padding: 2rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.profile-stats {
    grid-column: 1 / -1;
}

.study-history {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.history-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.history-day {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.history-day h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.history-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.history-title {
    flex: 1;
    font-weight: 500;
}

.history-category {
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.9rem;
}

.history-time {
    color: #666;
    font-size: 0.9rem;
}

.reflections {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.reflection-item {
    position: relative;
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.reflection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reflection-task {
    font-weight: 500;
    color: var(--text-color);
}

.reflection-date {
    color: #666;
    font-size: 0.9rem;
}

.reflection-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.reflection-content p {
    padding: 0.75rem;
    background: white;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.positive {
    color: #4CAF50;
    font-weight: 500;
}

.negative {
    color: #f44336;
    font-weight: 500;
}

.neutral {
    color: #757575;
    font-style: italic;
}

.category-analysis {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.category-stat-item {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.category-stat-item h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.category-stat-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.category-stat-details p {
    padding: 0.75rem;
    background: white;
    border-radius: var(--border-radius);
    text-align: center;
}

/* Task Items */
.task-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    gap: 1rem;
    transition: all 0.3s ease;
}

.task-item:hover {
    background-color: rgba(181, 241, 223, 0.1);
}

.task-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-dark);
}

.task-title {
    flex: 1;
    font-weight: 500;
}

.task-category {
    padding: 0.25rem 0.75rem;
    background-color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.task-category:hover {
    background-color: var(--primary-dark);
}

.task-due-date {
    color: #666;
    font-size: 0.9rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
}

.modal h2 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.form-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Reflection Questions */
.reflection-question {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
}

.reflection-question p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.reflection-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Form Styles */
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: white;
}

/* Reflection Modal */
.reflection-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.reflection-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-yes {
    background-color: #4CAF50;
    color: white;
}

.btn-no {
    background-color: #f44336;
    color: white;
}

/* Reset Button */
.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.btn-reset {
    background-color: var(--primary-dark);
    color: var(--text-color);
}

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

/* Reflection Styles */
.reflection-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.attempt-badge {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    background-color: #f0f0f0;
    border-radius: 12px;
    color: #666;
}

.previous-attempt {
    opacity: 0.8;
}

.previous-attempt::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #f0f0f0;
    border-radius: 4px 0 0 4px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        margin: 0 auto;
    }

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

    .slideshow-container {
        max-width: 400px;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .vision {
        font-size: 1.1rem;
    }

    .slideshow-container {
        max-width: 300px;
    }
}

/* Empty States */
.no-reflections {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-style: italic;
    background: var(--background-color);
    border-radius: var(--border-radius);
}

/* Coming Soon Section */
.coming-soon {
    padding: 5rem 5%;
    background-color: var(--background-color);
}

.coming-soon h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.coming-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.coming-soon-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
}

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

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
}

.coming-soon-card i {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.coming-soon-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.coming-soon-card p {
    color: #666;
    line-height: 1.6;
}

/* Footer Styles */
footer {
    background-color: var(--white);
    padding: 5rem 5% 2rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-dark);
}

.footer-tagline {
    color: #666;
    margin: 1rem 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-section {
        text-align: center;
    }
}

/* Blog Styles */
.blog-content {
    padding: 8rem 5% 5rem;
    max-width: 900px;
    margin: 0 auto;
}

.blog-post {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.blog-header {
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--white) 100%);
    text-align: center;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.blog-meta {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.blog-body {
    padding: 0;
}

.featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    background: var(--background-color);
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-text {
    padding: 3rem;
}

.blog-text h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
}

.blog-text h2:first-child {
    margin-top: 0;
}

.blog-text p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.blog-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.blog-list li {
    padding: 1rem;
    background: var(--background-color);
    margin-bottom: 0.5rem;
    border-radius: var(--border-radius);
    color: #444;
}

.blog-list li strong {
    color: var(--text-color);
    margin-right: 0.5rem;
}

.cta-section {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    text-align: center;
}

.cta-section h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .blog-header {
        padding: 2rem;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-text {
        padding: 2rem;
    }
    
    .featured-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .blog-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-text h2 {
        font-size: 1.5rem;
    }
}

/* Timer Notification */
.timer-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    animation: slideIn 0.3s ease-out;
}

.notification-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
}

.notification-content i {
    font-size: 1.5rem;
    color: var(--text-color);
}

.notification-content p {
    margin: 0;
    color: var(--text-color);
    font-weight: 500;
}

.notification-content button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background-color: var(--white);
    color: var(--text-color);
    border: none;
    white-space: nowrap;
}

.notification-content button:hover {
    background-color: var(--primary-light);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.timer-notification.hiding {
    animation: slideOut 0.3s ease-in forwards;
}

/* Insights Styles */
.focus-insights,
.weekly-recap,
.procrastination-alerts {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

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

.insight-card,
.recap-card,
.alert-card {
    background: var(--background-color);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.insight-card:hover,
.recap-card:hover,
.alert-card:hover {
    transform: translateY(-5px);
}

/* Peak Hours */
.peak-hours {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
}

.peak-hour {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    min-width: 80px;
}

.hour-score {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.hour-time {
    color: #666;
}

/* Subject List */
.subject-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.subject-item {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.subject-name {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.subject-stats {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
}

/* Weekly Recap */
.recap-stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-dark);
    margin: 1rem 0;
}

.completion-rate,
.task-count {
    color: #666;
    font-size: 0.9rem;
}

/* Procrastination Alerts */
.subject-delays,
.risk-tasks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.delay-item,
.risk-task {
    background: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 4px solid #f44336;
}

.delay-subject,
.task-name {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.delay-value,
.task-due {
    color: #666;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .insights-grid,
    .recap-grid,
    .alerts-grid {
        grid-template-columns: 1fr;
    }
    
    .peak-hours {
        flex-direction: column;
        gap: 1rem;
    }
    
    .peak-hour {
        min-width: auto;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    background: var(--background-color);
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.empty-state i {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.empty-state p {
    color: #666;
    font-size: 1.1rem;
}

/* Make sure sections are visible even when empty */
.focus-insights,
.weekly-recap,
.procrastination-alerts {
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

/* No Data State */
.no-data {
    text-align: center;
    padding: 1.5rem;
    color: #666;
    font-style: italic;
    background: var(--white);
    border-radius: var(--border-radius);
}

/* Slideshow styles */
.slideshow-container {
    width: 100%;
    max-width: 500px;
    position: relative;
    margin: 0 auto;
}

.slides {
    display: none;
    position: relative;
}

.slides img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.slides:hover img {
    transform: translateY(-5px);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    font-size: 14px;
    transition: 0.3s ease;
    border-radius: 50%;
    user-select: none;
    background-color: var(--primary-color);
    text-decoration: none;
    z-index: 2;
}

.next {
    right: -30px;
}

.prev {
    left: -30px;
}

.prev:hover, .next:hover {
    background-color: var(--primary-dark);
}

@media screen and (max-width: 1024px) {
    .slideshow-container {
        max-width: 400px;
    }
}

@media screen and (max-width: 768px) {
    .slideshow-container {
        max-width: 300px;
    }
}

/* User Info Styles */
.user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-size: 1rem;
}

.user-name {
    font-weight: 600;
    color: var(--text-color);
}

/* Auth Error Styles */
.auth-error {
    background-color: #ffebee;
    color: #f44336;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Sign Out Button */
.btn-sign-out {
    background-color: var(--primary-light);
    color: var(--text-color);
}

.btn-sign-out:hover {
    background-color: var(--primary-dark);
}

@media screen and (max-width: 768px) {
    .user-info {
        font-size: 0.9rem;
    }
    
    .header-right {
        gap: 1rem;
    }
} 