/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7c9885;
    --secondary-color: #a8c0a8;
    --accent-color: #d4e6d4;
    --text-primary: #2c3e50;
    --text-secondary: #5a6c7d;
    --background-light: #f8faf8;
    --background-white: #ffffff;
    --shadow-light: rgba(124, 152, 133, 0.1);
    --shadow-medium: rgba(124, 152, 133, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--background-light) 0%, var(--accent-color) 100%);
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header and Navigation */
.header {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px var(--shadow-light);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-brand i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.welcome-text {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #6a8a72;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    min-height: 80vh;
    padding: 4rem 0;
    margin: 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-element {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: 0 10px 30px var(--shadow-light);
    animation: float 6s ease-in-out infinite;
    animation-delay: var(--delay);
}

.floating-element:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.floating-element:nth-child(2) {
    bottom: 0;
    left: 0;
}

.floating-element:nth-child(3) {
    bottom: 0;
    right: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Meditating Section */
.meditating-section {
    background: var(--background-white);
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.meditating-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow-light);
    max-width: 800px;
    margin: 0 auto;
}

.meditating-checkbox {
    flex-shrink: 0;
}

.meditating-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.meditating-checkbox label {
    display: none;
}

.meditating-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.meditating-info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.meditating-info p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.meditating-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .meditating-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .meditating-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .meditating-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .meditating-actions .btn-primary,
    .meditating-actions .btn-secondary {
        width: 100%;
    }
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--background-white);
    margin: 0;
    border-radius: var(--border-radius);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 0;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background-white) 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--background-white) 0%, var(--background-light) 100%);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
    font-weight: 600;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.step-card {
    background: var(--background-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(124, 152, 133, 0.1);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(124, 152, 133, 0.3);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6a8a72 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(124, 152, 133, 0.2);
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.step-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.step-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: rgba(124, 152, 133, 0.1);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Dashboard Preview */
.dashboard-preview {
    background: var(--background-white);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(124, 152, 133, 0.1);
}

.dashboard-preview h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.dashboard-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.dashboard-feature {
    padding: 1.5rem;
    border-radius: 15px;
    background: rgba(124, 152, 133, 0.05);
    border: 1px solid rgba(124, 152, 133, 0.1);
    transition: all 0.3s ease;
}

.dashboard-feature:hover {
    background: rgba(124, 152, 133, 0.1);
    transform: translateY(-2px);
}

.feature-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.feature-header h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.dashboard-feature p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #6a8a72 100%);
    border-radius: 20px;
    color: white;
    margin-top: 3rem;
}

.cta-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-buttons .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Enhanced Form Styles */
.form-container {
    background: var(--background-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px var(--shadow-medium);
    max-width: 500px;
    margin: 2rem auto;
    width: 100%;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    color: var(--text-primary);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 152, 133, 0.1);
}

.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.form-submit:hover {
    background: #6a8a72;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.form-submit:active {
    transform: translateY(0);
}

.form-link {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.form-link a:hover {
    color: #6a8a72;
    text-decoration: underline;
}

/* Dashboard Styles */
.dashboard {
    padding: 2rem 0;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-primary);
}

.quick-actions {
    display: flex;
    gap: 1rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    margin: 0;
}

.dashboard-main {
    background: var(--background-white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 5px 20px var(--shadow-light);
    margin: 0;
}

.dashboard-sidebar {
    background: var(--background-white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 5px 20px var(--shadow-light);
    height: fit-content;
    margin: 0;
}

.dashboard-sidebar section {
    margin-bottom: 2rem;
}

.dashboard-sidebar h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-online {
    background: #4ade80;
}

.status-offline {
    background: #94a3b8;
}

.activity-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: var(--transition);
    gap: 1rem;
    width: 100%;
}

.activity-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.activity-info {
    flex: 1;
    min-width: 0;
}

.activity-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.activity-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.activity-actions {
    flex-shrink: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
}

.activity-actions .btn-small {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Community Feed Styles */
.community-feed h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feed-item {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition);
}

.feed-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.feed-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.user-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.activity-tag {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.feed-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feed-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feed-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Online Users Styles */
.users-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.user-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px var(--shadow-light);
}

.user-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.user-activity {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.no-users, .no-goals {
    color: var(--text-secondary);
    font-style: italic;
    text-align: center;
    padding: 1rem;
}

/* Wellness Goals Styles */
.goals-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.goal-item {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: var(--transition);
}

.goal-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.goal-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.goal-item p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 0.75rem;
}

.goal-meta {
    display: flex;
    gap: 1rem;
}

.goal-target, .goal-frequency {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 500;
}

/* Quick Stats Styles */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    text-align: center;
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Enhanced Modal Styles */
.modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    padding: 1rem;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
    /* Ensure modal works on all devices */
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content {
    background-color: var(--background-white);
    margin: auto;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 60px var(--shadow-medium);
    animation: modalSlideIn 0.3s ease-out;
    transform: scale(0.95);
    transition: transform 0.3s ease;
    /* Prevent horizontal scroll */
    max-height: 90vh;
    overflow-y: auto;
    /* Better touch scrolling */
    -webkit-overflow-scrolling: touch;
}

.modal.active .modal-content {
    transform: scale(1);
}

/* Modal animation */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

body.modal-open {
    overflow: hidden;
    /* Prevent body scroll on mobile */
    position: fixed;
    width: 100%;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: none;
    /* Better touch target */
    min-width: 44px;
    min-height: 44px;
    /* Prevent text selection */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.close:hover {
    color: var(--primary-color);
    background: rgba(124, 152, 133, 0.1);
}

.close:active {
    transform: scale(0.95);
}

.modal-content h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-align: center;
    /* Prevent text wrapping issues */
    word-wrap: break-word;
    hyphens: auto;
}

/* Timer Styles */
.timer-container {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.timer-display {
    font-size: 3rem;
    font-weight: 300;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.timer-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.timer-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.timer-btn.start {
    background: var(--primary-color);
    color: white;
}

.timer-btn.stop {
    background: #ef4444;
    color: white;
}

.timer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.session-form {
    margin-top: 1.5rem;
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.75rem;
    background: transparent;
    border: none;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

.nav-toggle:hover span {
    background: #6a8a72;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive Navigation */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 25px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, var(--background-white) 0%, var(--background-light) 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 100px 0 2rem 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
        transform: translateX(0);
    }
    
    .nav-links a {
        margin: 0;
        padding: 1rem 2rem;
        border: none;
        border-bottom: 1px solid rgba(124, 152, 133, 0.1);
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text-primary);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
    
    .nav-links a::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(124, 152, 133, 0.1), transparent);
        transition: left 0.5s ease;
    }
    
    .nav-links a:hover::before {
        left: 100%;
    }
    
    .nav-links a:hover {
        background: rgba(124, 152, 133, 0.05);
        color: var(--primary-color);
        transform: translateX(10px);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
        margin-top: 1rem;
        background: var(--primary-color);
        color: white;
        text-align: center;
        border-radius: 0;
    }
    
    .nav-links a:last-child:hover {
        background: #6a8a72;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(124, 152, 133, 0.3);
    }
    
    .welcome-text {
        margin: 0;
        padding: 1.5rem 2rem;
        border-bottom: 2px solid var(--primary-color);
        width: 100%;
        text-align: left;
        font-size: 1rem;
        color: var(--text-secondary);
        background: rgba(124, 152, 133, 0.05);
        font-weight: 500;
    }
    
    /* Header adjustments for mobile */
    .header {
        padding: 0.75rem 0;
    }
    
    .nav {
        padding: 0 1rem;
    }
    
    .nav-brand {
        font-size: 1.3rem;
    }
    
    .nav-brand i {
        font-size: 1.5rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-elements {
        width: 250px;
        height: 250px;
    }
    
    .floating-element {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .quick-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .timer-display {
        font-size: 2rem;
    }
    
    .timer-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 1.5rem;
    }
    
    .feed-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .activity-actions {
        margin-left: 0;
        align-self: flex-end;
        width: 100%;
        justify-content: flex-end;
    }
    
    .activity-info {
        width: 100%;
    }
}

/* Error and Success Messages */
.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid #dc2626;
    font-size: 0.95rem;
    display: none;
}

.success-message {
    background: #dcfce7;
    color: #16a34a;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border-left: 4px solid #16a34a;
    font-size: 0.95rem;
    display: none;
}

.success-message-banner {
    background: #39ff14;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    padding: 1.2rem 0.5rem;
    border-radius: 0 0 12px 12px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 12px rgba(57,255,20,0.12);
}

/* Enhanced Responsive Modal Styles */
@media (max-width: 768px) {
    .modal {
        padding: 0.5rem;
        align-items: flex-start;
        padding-top: 1rem;
    }
    
    .modal-content {
        margin: 0 auto;
        padding: 2rem 1.5rem;
        max-width: 100%;
        width: 100%;
        border-radius: 12px;
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }
    
    .close {
        right: 1rem;
        top: 1rem;
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 16px;
        border-radius: 8px;
        -webkit-appearance: none;
        appearance: none;
    }
    
    .form-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        border-radius: 8px;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .modal {
        padding: 0.25rem;
        padding-top: 0.5rem;
    }
    
    .modal-content {
        margin: 0 auto;
        padding: 1.5rem 1rem;
        border-radius: 8px;
        max-height: 90vh;
    }
    
    .modal-content h2 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 16px;
    }
    
    .form-submit {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
    
    .close {
        right: 0.75rem;
        top: 0.75rem;
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .modal {
        padding: 0.5rem;
        align-items: flex-start;
    }
    
    .modal-content {
        margin: 0.5rem auto;
        padding: 1.5rem;
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .modal-content h2 {
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
}

/* Mobile animation */
@keyframes modalSlideInMobile {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .modal-content {
        border: 0.5px solid rgba(0, 0, 0, 0.1);
    }
    
    .close {
        border: 0.5px solid rgba(0, 0, 0, 0.1);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .modal,
    .modal-content,
    .close {
        transition: none;
        animation: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .modal-content {
        background-color: #1a1a1a;
        color: #ffffff;
    }
    
    .modal-content h2 {
        color: #ffffff;
    }
    
    .close {
        color: #cccccc;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .close:hover {
        color: var(--primary-color);
        background: rgba(124, 152, 133, 0.2);
    }
}

/* Responsive Form Styles */
@media (max-width: 768px) {
    .form-container {
        padding: 2rem 1.5rem;
        margin: 1rem auto;
        max-width: 100%;
        border-radius: 12px;
    }
    
    .form-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        font-size: 16px;
        border-radius: 8px;
    }
    
    .form-submit {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        border-radius: 8px;
    }
    
    .form-link {
        margin-top: 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1.5rem 1rem;
        margin: 0.5rem auto;
        border-radius: 8px;
    }
    
    .form-title {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem;
        font-size: 16px;
    }
    
    .form-submit {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
}

/* How It Works Section Mobile Styles */
.how-it-works {
    padding: 3rem 0;
}

.how-it-works h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-card {
    padding: 2rem;
}

.step-icon {
    width: 60px;
    height: 60px;
}

.step-icon i {
    font-size: 1.5rem;
}

.step-card h3 {
    font-size: 1.3rem;
}

.dashboard-preview {
    padding: 2rem;
    margin: 2rem 0;
}

.dashboard-preview h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.dashboard-features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.cta-section {
    padding: 2rem;
    margin-top: 2rem;
}

.cta-section h3 {
    font-size: 1.5rem;
}

.cta-buttons {
    flex-direction: column;
    align-items: center;
}

.cta-buttons .btn-primary,
.cta-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
}

/* Custom Checkbox Section */
.custom-checkbox-section {
    background: #0a2236;
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-checkbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.custom-checkbox-card {
    background: transparent;
    border: 1.5px solid #fff;
    border-radius: 16px;
    padding: 5rem 5rem 5rem 4rem;
    min-width: 500px;
    min-height: 500px;
    color: #fff;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.custom-checkbox-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-checkbox-card li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
    font-weight: 400;
}

.custom-checkbox-card li .label {
    font-weight: 600;
    letter-spacing: 0.01em;
}

.custom-checkbox-card li:not(:first-child) .label {
    font-weight: 400;
    opacity: 0.85;
}

.checkbox-wrap {
    display: flex;
    align-items: center;
}

.checkbox-wrap input[type="checkbox"] {
    display: none;
}

.checkbox-wrap label {
    width: 22px;
    height: 22px;
    border: 2px solid #fff;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    background: transparent;
    transition: border-color 0.2s;
}

.checkbox-wrap input[type="checkbox"]:checked + label {
    border-color: #39ff14;
    background: #0a2236;
}

.checkbox-wrap input[type="checkbox"]:checked + label:after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 8px;
    height: 14px;
    border: solid #39ff14;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Big Checkbox Icon */
.big-checkbox-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.big-checkbox-icon input[type="checkbox"] {
    display: none;
}

.big-checkbox-icon label {
    width: 90px;
    height: 90px;
    border: 4px solid #fff;
    border-radius: 12px;
    display: inline-block;
    position: relative;
    background: transparent;
    cursor: pointer;
}

.big-checkbox-icon input[type="checkbox"]:checked + label {
    border-color: #39ff14;
    background: #0a2236;
}

.big-checkbox-icon input[type="checkbox"]:checked + label:after {
    content: '';
    position: absolute;
    left: 22px;
    top: 12px;
    width: 32px;
    height: 50px;
    border: solid #39ff14;
    border-width: 0 8px 8px 0;
    transform: rotate(45deg);
}

/* Promo Text */
.custom-checkbox-promo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 270px;
    margin-left: 1rem;
}

.promo-text {
    color: #39ff14;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.1;
}

.promo-main {
    color: #e6e6e6;
    font-size: 2.2rem;
    font-weight: 400;
}

.promo-highlight {
    color: #39ff14;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.promo-sub {
    color: #e6e6e6;
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 0.5rem;
}

@media (max-width: 900px) {
    .custom-checkbox-container {
        flex-direction: column;
        gap: 2.5rem;
    }
    .custom-checkbox-promo {
        align-items: center;
        margin-left: 0;
    }
}

/* Support Section */
.support-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6a8a72 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.support-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.support-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.support-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: white;
}

.support-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.support-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.support-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.support-buttons .btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.support-buttons .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.support-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.support-buttons i {
    margin-right: 0.5rem;
}

/* Responsive Support Section */
@media (max-width: 768px) {
    .support-section {
        padding: 3rem 0;
    }
    
    .support-content h2 {
        font-size: 2rem;
    }
    
    .support-content p {
        font-size: 1rem;
    }
    
    .support-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .support-buttons .btn-primary,
.support-buttons .btn-secondary {
    width: 100%;
    max-width: 300px;
}
}

/* Comments Section */
.comments-section {
    background: var(--background-white);
    padding: 4rem 0;
}

.comments-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.comments-container h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.comments-container h2 i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Comment Form */
.comment-form-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.comment-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.comment-form-wrapper {
    flex: 1;
}

.comment-form textarea {
    width: 100%;
    min-height: 80px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    transition: var(--transition);
}

.comment-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

#charCount {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Login Prompt */
.login-prompt {
    text-align: center;
    padding: 2rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.login-prompt a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

/* Comments List */
.comments-list {
    margin-top: 2rem;
}

.loading-comments {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
}

.comment-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.comment-item:hover {
    box-shadow: 0 4px 15px var(--shadow-light);
}

.comment-avatar-small {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author {
    font-weight: 600;
    color: var(--text-primary);
}

.comment-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.comment-text {
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.comment-action {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 0.9rem;
}

.comment-action:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.comment-action.liked {
    color: var(--primary-color);
    font-weight: 500;
}

.comment-action.delete {
    color: #e74c3c;
}

.comment-action.delete:hover {
    background: #fdf2f2;
    color: #c0392b;
}

/* Replies */
.replies-container {
    margin-left: 2rem;
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border-color);
}

.reply-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.reply-avatar {
    width: 28px;
    height: 28px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.reply-content {
    flex: 1;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.reply-author {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.reply-time {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.reply-text {
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.reply-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.reply-action {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
    font-size: 0.8rem;
}

.reply-action:hover {
    background: var(--accent-color);
    color: var(--primary-color);
}

.reply-action.liked {
    color: var(--primary-color);
    font-weight: 500;
}

.reply-action.delete {
    color: #e74c3c;
}

.reply-action.delete:hover {
    background: #fdf2f2;
    color: #c0392b;
}

/* Reply Form */
.reply-form {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.reply-form textarea {
    width: 100%;
    min-height: 60px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    margin-bottom: 0.5rem;
}

.reply-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.reply-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reply-char-count {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.reply-form .btn-primary {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Empty State */
.empty-comments {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary);
}

.empty-comments i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-comments h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Responsive Comments */
@media (max-width: 768px) {
    .comment-form-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-avatar {
        align-self: flex-start;
    }
    
    .comment-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-avatar-small {
        align-self: flex-start;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .comment-actions {
        flex-wrap: wrap;
    }
    
    .replies-container {
        margin-left: 1rem;
        padding-left: 0.5rem;
    }
    
    .reply-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .reply-avatar {
        align-self: flex-start;
    }
    
    .reply-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
} 