@import 'DayInspire.Client.w87ua1k09y.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-vdayp4d63z] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-vdayp4d63z] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Home.razor.rz.scp.css */
/* Hero Section with Carousel */
.hero-section[b-5nmmz55ggs] {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-top: -52px;
}

.hero-carousel[b-5nmmz55ggs] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-slide[b-5nmmz55ggs] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: carousel-b-5nmmz55ggs 18s infinite;
}

.slide-1[b-5nmmz55ggs] {
    background-image: url('https://images.unsplash.com/photo-1499209974431-9dddcece7f88?w=1920&q=80');
    animation-delay: 0s;
}

.slide-2[b-5nmmz55ggs] {
    background-image: url('https://images.unsplash.com/photo-1518495973542-4542c06a5843?w=1920&q=80');
    animation-delay: 6s;
}

.slide-3[b-5nmmz55ggs] {
    background-image: url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?w=1920&q=80');
    animation-delay: 12s;
}

@keyframes carousel-b-5nmmz55ggs {
    0%, 27% { opacity: 1; }
    33%, 94% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-overlay[b-5nmmz55ggs] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, transparent 40%, rgba(0,0,0,0.6) 100%);
}

.hero-content[b-5nmmz55ggs] {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 0 2rem;
    text-shadow: 0px 2px 8px rgba(0,0,0,0.4);
}

.hero-content h1[b-5nmmz55ggs] {
    font-size: 3rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.hero-subtitle[b-5nmmz55ggs] {
    font-size: 1.8rem;
    font-weight: 500;
    margin: 0.5rem 0 0 0;
    opacity: 0.95;
}

/* Search Section */
.search-section[b-5nmmz55ggs] {
    background: linear-gradient(180deg, #e8f0ed 0%, #f3f5fa 100%);
    padding: 2rem 1rem 0.375rem;
}

.search-container[b-5nmmz55ggs] {
    max-width: 700px;
    margin: 0 auto;
}

.search-box[b-5nmmz55ggs] {
    display: flex;
    align-items: flex-start;
    background: white;
    border: 2px solid #2c5f4a;
    border-radius: 12px;
    padding: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(44, 95, 74, 0.15);
}

.search-box:focus-within[b-5nmmz55ggs] {
    border-color: #1e4435;
    box-shadow: 0 4px 16px rgba(44, 95, 74, 0.25);
}

.search-input[b-5nmmz55ggs] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.1rem;
    padding: 0.5rem;
    background: transparent;
    resize: none;
    font-family: inherit;
    line-height: 1.5;
    min-height: 60px;
}

.search-input[b-5nmmz55ggs]::placeholder {
    color: #777;
    font-style: italic;
}

.search-button[b-5nmmz55ggs] {
    background: #2c5f4a;
    color: white;
    border: none;
    border-radius: 8px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 0.75rem;
    transition: background-color 0.2s, transform 0.2s;
}

.search-button:hover[b-5nmmz55ggs] {
    background: #1e4435;
    transform: scale(1.05);
}

.search-error[b-5nmmz55ggs] {
    color: #c53030;
    font-size: 0.9rem;
    margin-top: 0.75rem;
    text-align: center;
    padding: 0.5rem;
    background: #fff5f5;
    border-radius: 6px;
    border: 1px solid #feb2b2;
}

/* Thinking/typing indicator */
.thinking-indicator[b-5nmmz55ggs] {
    text-align: center;
    color: #2c5f4a;
    font-size: 0.95rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.typing-dots[b-5nmmz55ggs] {
    display: inline-flex;
    gap: 3px;
}

.typing-dots span[b-5nmmz55ggs] {
    width: 6px;
    height: 6px;
    background: #2c5f4a;
    border-radius: 50%;
    animation: typing-bounce-b-5nmmz55ggs 1.4s infinite ease-in-out both;
}

.typing-dots span:nth-child(1)[b-5nmmz55ggs] { animation-delay: -0.32s; }
.typing-dots span:nth-child(2)[b-5nmmz55ggs] { animation-delay: -0.16s; }
.typing-dots span:nth-child(3)[b-5nmmz55ggs] { animation-delay: 0s; }

@keyframes typing-bounce-b-5nmmz55ggs {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Rest of Landing Page */
.landing-container[b-5nmmz55ggs] {
    max-width: 700px;
    margin: 0 auto;
    padding: 0.25rem 2rem 2rem;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: #333;
}

.intro[b-5nmmz55ggs] {
    padding: 0.5rem 0;
}

.intro p[b-5nmmz55ggs] {
    margin-bottom: 0.75rem;
}

/* Buttons */
.btn-primary[b-5nmmz55ggs] {
    display: inline-block;
    background-color: #2c5f4a;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover[b-5nmmz55ggs] {
    background-color: #1e4435;
}

.btn-primary:disabled[b-5nmmz55ggs] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary[b-5nmmz55ggs] {
    display: inline-block;
    background: none;
    border: 2px solid #2c5f4a;
    color: #2c5f4a;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-secondary:hover[b-5nmmz55ggs] {
    background: #2c5f4a;
    color: white;
}

.btn-link[b-5nmmz55ggs] {
    background: none;
    border: none;
    color: #2c5f4a;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem;
    text-decoration: none;
}

.btn-link:hover[b-5nmmz55ggs] {
    text-decoration: underline;
}

/* Spinner for loading state */
.spinner-small[b-5nmmz55ggs] {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin-b-5nmmz55ggs 0.8s linear infinite;
}

@keyframes spin-b-5nmmz55ggs {
    to { transform: rotate(360deg); }
}

/* Conversation UI Styles */
.conversation-box[b-5nmmz55ggs] {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(44, 95, 74, 0.15);
    border: 1px solid #e0e0e0;
}

/* Multi-turn conversation history */
.conversation-history[b-5nmmz55ggs] {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding-right: 0.5rem;
}

.message-bubble[b-5nmmz55ggs] {
    margin-bottom: 1rem;
    animation: fadeIn-b-5nmmz55ggs 0.3s ease-out;
}

@keyframes fadeIn-b-5nmmz55ggs {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.user-message[b-5nmmz55ggs] {
    background: #e8f4ef;
    border-radius: 12px 12px 4px 12px;
    padding: 1rem;
    margin-left: 2rem;
    color: #2c5f4a;
}

.user-message p[b-5nmmz55ggs] {
    margin: 0;
}

.assistant-message[b-5nmmz55ggs] {
    background: #f8f9fa;
    border-radius: 12px 12px 12px 4px;
    padding: 1rem;
    margin-right: 2rem;
    color: #333;
    border-left: 3px solid #2c5f4a;
}

.assistant-message p[b-5nmmz55ggs] {
    margin: 0;
    line-height: 1.6;
}

.message-timestamp[b-5nmmz55ggs] {
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.5rem;
}

/* Reply input (for multi-turn) */
.reply-input-container[b-5nmmz55ggs] {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e8ebe9;
}

.reply-input[b-5nmmz55ggs] {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    resize: none;
    min-height: 50px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.reply-input:focus[b-5nmmz55ggs] {
    outline: none;
    border-color: #2c5f4a;
}

.reply-input[b-5nmmz55ggs]::placeholder {
    color: #999;
}

.reply-button[b-5nmmz55ggs] {
    background: #2c5f4a;
    color: white;
    border: none;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.reply-button:hover[b-5nmmz55ggs] {
    background: #1e4435;
}

.reply-button:disabled[b-5nmmz55ggs] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Connect with community option */
.community-offer[b-5nmmz55ggs] {
    background: linear-gradient(135deg, #e8f4ef 0%, #d4e8df 100%);
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 1rem;
    border: 1px solid #b8d4c6;
}

.community-offer-text[b-5nmmz55ggs] {
    color: #2c5f4a;
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.community-offer-actions[b-5nmmz55ggs] {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* Sample posts preview */
.sample-posts[b-5nmmz55ggs] {
    margin-top: 1.5rem;
}

.sample-posts-header[b-5nmmz55ggs] {
    font-size: 1rem;
    color: #2c5f4a;
    font-weight: 500;
    margin-bottom: 1rem;
}

.sample-post-card[b-5nmmz55ggs] {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #e8ebe9;
}

.sample-post-author[b-5nmmz55ggs] {
    font-weight: 500;
    color: #2c5f4a;
    font-size: 0.9rem;
}

.sample-post-topic[b-5nmmz55ggs] {
    color: #666;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.sample-post-content[b-5nmmz55ggs] {
    color: #555;
    font-size: 0.95rem;
    margin: 0.5rem 0;
    line-height: 1.5;
}

.sample-post-meta[b-5nmmz55ggs] {
    font-size: 0.8rem;
    color: #888;
}

/* Post preview */
.post-preview[b-5nmmz55ggs] {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.25rem;
    border: 2px dashed #2c5f4a;
    margin: 1rem 0;
}

.post-preview-label[b-5nmmz55ggs] {
    font-size: 0.85rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.post-preview-content[b-5nmmz55ggs] {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.post-preview-topic[b-5nmmz55ggs] {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #2c5f4a;
}

/* Display name selection */
.display-name-section[b-5nmmz55ggs] {
    margin: 1.5rem 0;
}

.display-name-label[b-5nmmz55ggs] {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.display-name-container[b-5nmmz55ggs] {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.display-name-input[b-5nmmz55ggs] {
    flex: 1;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    transition: border-color 0.2s;
}

.display-name-input:focus[b-5nmmz55ggs] {
    outline: none;
    border-color: #2c5f4a;
}

.regenerate-button[b-5nmmz55ggs] {
    background: none;
    border: 1px solid #2c5f4a;
    color: #2c5f4a;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.regenerate-button:hover[b-5nmmz55ggs] {
    background: #2c5f4a;
    color: white;
}

.privacy-reminder[b-5nmmz55ggs] {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.privacy-reminder[b-5nmmz55ggs]::before {
    content: "⚠️";
}

/* Login prompt for existing users */
.login-prompt[b-5nmmz55ggs] {
    text-align: center;
    padding: 1rem 0;
}

.login-prompt h3[b-5nmmz55ggs] {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c5f4a;
    margin: 0 0 0.5rem 0;
}

.login-prompt p[b-5nmmz55ggs] {
    color: #555;
    margin: 0 0 1.5rem 0;
}

.password-input[b-5nmmz55ggs] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.password-input:focus[b-5nmmz55ggs] {
    outline: none;
    border-color: #2c5f4a;
}

/* Crisis Resources */
.crisis-resources[b-5nmmz55ggs] {
    background: #fff8e6;
    border: 1px solid #ffd666;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.crisis-header[b-5nmmz55ggs] {
    font-weight: 600;
    color: #7c5200;
    margin: 0 0 0.5rem 0;
}

.crisis-resource[b-5nmmz55ggs] {
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.crisis-resource a[b-5nmmz55ggs] {
    color: #2c5f4a;
    font-weight: 500;
}

/* Exit Confirmation */
.exit-confirmation[b-5nmmz55ggs] {
    text-align: center;
    padding: 1rem 0;
}

.exit-message[b-5nmmz55ggs] {
    font-size: 1.1rem;
    color: #333;
    margin: 0 0 0.5rem 0;
}

.exit-redirect[b-5nmmz55ggs] {
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 1.5rem 0;
}

.exit-actions[b-5nmmz55ggs] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

/* Email Collection */
.email-input[b-5nmmz55ggs] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.email-input:focus[b-5nmmz55ggs] {
    outline: none;
    border-color: #2c5f4a;
}

.email-error[b-5nmmz55ggs] {
    color: #c53030;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.inline-email-collection[b-5nmmz55ggs] {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e8ebe9;
}

.email-assurance[b-5nmmz55ggs] {
    color: #666;
    font-size: 0.85rem;
    margin: 0.5rem 0 1rem 0;
    line-height: 1.4;
}

.email-actions-inline[b-5nmmz55ggs] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.email-actions-inline .btn-primary[b-5nmmz55ggs] {
    width: 100%;
    padding: 0.875rem 1.5rem;
}

/* Success Message */
.success-message[b-5nmmz55ggs] {
    text-align: center;
    padding: 1rem 0;
}

.success-message h3[b-5nmmz55ggs] {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c5f4a;
    margin: 0 0 0.5rem 0;
}

.success-message p[b-5nmmz55ggs] {
    color: #555;
    margin: 0 0 1.5rem 0;
}

.success-actions[b-5nmmz55ggs] {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.verification-note[b-5nmmz55ggs] {
    color: #718096;
    margin: 0 0 1rem 0;
}

/* Post created success */
.post-success[b-5nmmz55ggs] {
    background: #e8f4ef;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.post-success-text[b-5nmmz55ggs] {
    color: #2c5f4a;
    margin: 0 0 0.5rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section[b-5nmmz55ggs] {
        height: 400px;
    }

    .hero-content h1[b-5nmmz55ggs] {
        font-size: 2rem;
    }

    .hero-subtitle[b-5nmmz55ggs] {
        font-size: 1.2rem;
    }

    .search-input[b-5nmmz55ggs]::placeholder {
        font-size: 0.9rem;
    }

    .user-message[b-5nmmz55ggs] {
        margin-left: 0.5rem;
    }

    .assistant-message[b-5nmmz55ggs] {
        margin-right: 0.5rem;
    }

    .conversation-history[b-5nmmz55ggs] {
        max-height: 300px;
    }

    /* Sticky reply input on mobile */
    .reply-input-container[b-5nmmz55ggs] {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 1rem;
        margin: 0 -1.5rem -1.5rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }

    /* Safe area for notched devices */
    .search-section[b-5nmmz55ggs] {
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    }

    .community-offer-actions[b-5nmmz55ggs] {
        flex-direction: column;
    }

    .community-offer-actions .btn-secondary[b-5nmmz55ggs] {
        width: 100%;
    }

    .display-name-container[b-5nmmz55ggs] {
        flex-direction: column;
    }

    .regenerate-button[b-5nmmz55ggs] {
        width: 100%;
    }
}
