/**
 * Blu Brain Get Started Styles
 * File: assets/css/blu-brain-get-started.css
 * Version: 1.0.0
 * 
 * CHANGELOG:
 * 1.0.0 - Initial release with collapsible questions, UK English, mobile-first design
 */

 .blubc-calculator-wrapper {
    --blubc-primary: #1e3a8a;
    --blubc-secondary: #3b82f6;
    --blubc-light: #eff6ff;
    --blubc-warning: #dc2626;
    --blubc-caution: #f59e0b;
    --blubc-success: #16a34a;
    --blubc-text: #1f2937;
    --blubc-text-secondary: #6b7280;
    --blubc-border: #d1d5db;
    --blubc-bg: #ffffff;
    --blubc-bg-light: #f9fafb;
    --blubc-radius: 8px;
    --blubc-transition: all 0.3s ease;
}

/* Base Container */
.bb-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.bb-kit-card a {
    text-decoration: none;
}

/* Step Container */
.bb-step-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

/* Step Header */
.bb-step-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.bb-step-number {
    background: #1e3a8a;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.bb-step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e3a8a;
}

.bb-intro-text {
    color: #6b7280;
    margin-bottom: 25px;
    font-size: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Collapsible Questions */
.bb-questions-container {
    margin-bottom: 25px;
}

.bb-question-group {
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.bb-question-toggle {
    width: 100%;
    background: #f9fafb;
    border: none;
    padding: 15px 20px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    transition: background-color 0.2s;
}

.bb-question-toggle:hover {
    background: #f3f4f6;
}

.bb-question-toggle.active {
    background: #eff6ff;
    color: #1e3a8a;
}

.bb-toggle-icon {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.bb-question-toggle.active .bb-toggle-icon {
    transform: rotate(45deg);
}

.bb-question-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.bb-question-content.open {
    max-height: 1000px;
    transition: max-height 0.3s ease-in;
}

/* Options */
.bb-options {
    padding: 20px;
    background: #ffffff;
}

.bb-option {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
}

.bb-option:hover {
    border-color: #1e3a8a;
    background: #f8faff;
}

.bb-option.selected {
    border-color: var(--blubc-primary);;
    background: #f8faff;
}

.bb-option input {
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.bb-option span {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Safety Acknowledgment */
.bb-checkbox-option {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #e5e7eb;
}

.bb-checkbox-option input {
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}

.bb-checkbox-option label {
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
}

/* Primary Button */
.bb-primary-btn {
    background-color: #1e3a8a;
    color: white;
    border: none;
    padding: 12px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bb-primary-btn:hover {
    background: #3b82f6;
}

.bb-primary-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* Timeline (Step 2) */
.bb-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.bb-timeline-item {
    text-align: center;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s;
}

.bb-timeline-item.bb-active {
    border-color: #3b82f6;
    background: #f8faff;
}

.bb-week-title {
    font-weight: bold;
    color: var(--blubc-primary);;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.bb-dosage {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 8px 0;
    color: #1f2937;
}

.bb-effect {
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

/* Dropper Visual */
.bb-dropper-visual {
    width: 60px;
    height: 80px;
    margin: 10px auto;
    border: 2px solid var(--blubc-primary);;
    border-radius: 0 0 30px 30px;
    position: relative;
    background: linear-gradient(to top, #3b82f6 var(--fill, 25%), transparent var(--fill, 25%));
}

.bb-week1 .bb-dropper-visual { --fill: 25%; }
.bb-week2 .bb-dropper-visual { --fill: 50%; }
.bb-week3 .bb-dropper-visual { --fill: 75%; }

/* Safety Note */
.bb-safety-note {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.bb-safety-note strong {
    color: #92400e;
}

.bb-safety-note ul {
    margin: 10px 0 0 20px;
}

.bb-safety-note li {
    margin-bottom: 5px;
}

/* Starter Kit (Step 3) */
.bb-starter-kit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.bb-kit-card {
    background: #f8faff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.bb-kit-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15);
}

.bb-kit-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.bb-kit-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #1f2937;
}

.bb-kit-desc {
    font-size: 0.9rem;
    color: #6b7280;
}

.bb-support-note {
    text-align: center;
    margin-top: 30px;
    color: #6b7280;
}

/* Utilities */
.bb-hidden {
    display: none;
}

.bb-fade-in {
    animation: bbFadeIn 0.5s ease-in;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .bb-container {
        padding: 15px;
    }
    
    .bb-step-container {
        padding: 20px;
    }
    
    .bb-step-title {
        font-size: 1.2rem;
    }
    
    .bb-timeline {
        grid-template-columns: 1fr;
    }
    
    .bb-starter-kit {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bb-question-toggle {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .bb-options {
        padding: 15px;
    }
    .bb-container {
        max-width: 100%;
        width: 100%;
        padding: 0;
        margin: 0;
       
    }
 
}

@media (max-width: 480px) {
    .bb-starter-kit {
        grid-template-columns: 1fr;
    }
    
    .bb-step-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    
    .bb-step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
}