/* Peptide Recommendation Quiz - floating button + modal */

.peptide-quiz-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(135deg, rgb(168, 202, 126) 0%, #3A6EA5 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 24px rgba(58, 110, 165, 0.35);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, padding 0.25s ease;
}

.peptide-quiz-fab i {
    font-size: 20px;
    line-height: 1;
}

.peptide-quiz-fab-label {
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: max-width 0.3s ease, opacity 0.2s ease;
}

.peptide-quiz-fab:hover,
.peptide-quiz-fab:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(58, 110, 165, 0.45);
    color: #fff;
}

.peptide-quiz-fab:hover .peptide-quiz-fab-label,
.peptide-quiz-fab:focus .peptide-quiz-fab-label {
    max-width: 180px;
    opacity: 1;
}

@media (max-width: 576px) {
    .peptide-quiz-fab {
        right: 16px;
        bottom: 16px;
        padding: 14px;
    }
    .peptide-quiz-fab-label {
        display: none;
    }
}

/* Modal */
.peptide-quiz-modal-content {
    border-radius: 24px;
    overflow: hidden;
    border: none;
}

.peptide-quiz-header {
    position: relative;
    background: linear-gradient(120deg, rgb(168, 202, 126) 0%, #3A6EA5 100%);
    color: #fff;
    padding: 28px 32px;
    font-family: 'Inter', sans-serif;
}

.peptide-quiz-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 6px 0 4px;
}

.peptide-quiz-header p {
    font-size: 0.85rem;
    opacity: 0.9;
    max-width: 34rem;
    margin: 0;
}

.peptide-quiz-header .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.peptide-quiz-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.peptide-quiz-step-indicator {
    position: absolute;
    top: 24px;
    right: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 800;
    font-size: 0.9rem;
}

.peptide-quiz-body {
    padding: 28px 32px;
    font-family: 'Inter', sans-serif;
}

.peptide-quiz-kicker {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #3A6EA5;
}

.peptide-quiz-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 4px 0 2px;
}

.peptide-quiz-subtext {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 16px;
}

.peptide-quiz-goal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.peptide-quiz-goal-card,
.peptide-quiz-experience-card {
    text-align: left;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.peptide-quiz-goal-card:hover,
.peptide-quiz-experience-card:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.peptide-quiz-goal-card.selected,
.peptide-quiz-experience-card.selected {
    border-color: rgb(168, 202, 126);
    background: rgba(168, 202, 126, 0.1);
    box-shadow: 0 0 0 3px rgba(168, 202, 126, 0.2);
}

.peptide-quiz-goal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #475569;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.peptide-quiz-goal-card.selected .peptide-quiz-goal-icon {
    background: rgb(168, 202, 126);
    color: #fff;
}

.peptide-quiz-goal-card h4,
.peptide-quiz-experience-card h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px;
}

.peptide-quiz-goal-card p,
.peptide-quiz-experience-card p {
    font-size: 0.75rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.peptide-quiz-goal-card .category-tag {
    display: block;
    margin-top: 10px;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #94a3b8;
}

.peptide-quiz-experience-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.peptide-quiz-experience-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.peptide-quiz-experience-card i {
    color: rgb(168, 202, 126);
    font-size: 1.1rem;
    display: none;
}

.peptide-quiz-experience-card.selected i {
    display: inline-block;
}

.peptide-quiz-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.peptide-quiz-actions-end {
    justify-content: flex-end;
}

.peptide-quiz-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border: none;
    border-radius: 12px;
    background: rgb(168, 202, 126);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.peptide-quiz-btn-primary:hover {
    background: #3A6EA5;
    color: #fff;
}

.peptide-quiz-btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.peptide-quiz-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font-weight: 700;
    font-size: 0.78rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.peptide-quiz-btn-outline:hover {
    background: #f8fafc;
    color: #334155;
}

.peptide-quiz-results-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.peptide-quiz-retake {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    background: none;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
}

.peptide-quiz-retake:hover {
    color: #334155;
}

.peptide-quiz-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}

.peptide-quiz-result-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px;
}

.peptide-quiz-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.peptide-quiz-tag {
    background: rgba(168, 202, 126, 0.2);
    color: #3f6212;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

.peptide-quiz-result-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.peptide-quiz-result-card .type-dosage {
    font-size: 0.72rem;
    font-weight: 600;
    color: #3A6EA5;
    margin: 2px 0 8px;
}

.peptide-quiz-result-card .benefit {
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.5;
}

.peptide-quiz-result-card .supplies {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.68rem;
    color: #64748b;
}

.peptide-quiz-result-card .supplies strong {
    color: #334155;
}

.peptide-quiz-cta-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(120deg, rgba(168, 202, 126, 0.15), rgba(58, 110, 165, 0.12));
    border: 1px solid rgba(168, 202, 126, 0.35);
    border-radius: 16px;
    padding: 18px 20px;
}

.peptide-quiz-cta-panel h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.peptide-quiz-cta-panel p {
    font-size: 0.75rem;
    color: #475569;
    margin: 0;
    max-width: 26rem;
}

.peptide-quiz-cta-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
