/* Calculator Page Styles - MattressCalc Pro */

/* Ensure consistent header/footer styling across all calculator pages */
.header {
    background-color: var(--background-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #9ca3af;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Calculator Layout */
.calculator-section {
    padding: 40px 0 60px;
    background-color: var(--background-white);
}

.calculator-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Calculator Tool */
.calculator-tool {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tool-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.tool-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.tool-title h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tool-title p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

/* Calculator Form */
.calculator-form {
    padding: 30px;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-light);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 13px;
}

.tooltip {
    position: relative;
    cursor: help;
}

.tooltip i {
    color: var(--text-light);
    font-size: 12px;
}

.tooltip:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-primary);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.tooltip:hover::before {
    content: '';
    position: absolute;
    bottom: 94%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--text-primary);
    z-index: 1000;
}

.form-actions {
    display: flex;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.form-actions .btn {
    flex: 1;
    justify-content: center;
}

/* Results Section */
.results-section {
    padding: 30px;
    background-color: var(--background-light);
    border-top: 1px solid var(--border-color);
}

.results-section h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
}

.result-card {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.primary-result {
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.result-header {
    text-align: center;
    margin-bottom: 20px;
}

.result-header h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.result-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.result-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
}

/* Alternative Sizes */
.alternative-sizes {
    margin-bottom: 24px;
}

.alternative-sizes h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.alternative-card {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.alternative-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.alternative-card.recommended {
    border-color: var(--accent-color);
    background-color: #f0fdf4;
}

.alternative-card h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.alternative-card .dimensions {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.alternative-card .suitability {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.suitability.excellent {
    background-color: #dcfce7;
    color: #166534;
}

.suitability.good {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.suitability.adequate {
    background-color: #fef3c7;
    color: #92400e;
}

.suitability.poor {
    background-color: #fee2e2;
    color: #dc2626;
}

.result-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Calculator Sidebar */
.calculator-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* Content Section Styles */
.content-section {
    background: #f8fafc;
    padding: 80px 0;
    margin-top: 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-main {
    background: white;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Calculator Guide Styles */
.calculator-guide h2 {
    color: #1e293b;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.2;
    text-align: center;
}

.guide-intro {
    margin-bottom: 48px;
    padding: 32px;
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.guide-intro p {
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.guide-intro p:last-child {
    margin-bottom: 0;
}

.calculator-guide h3 {
    color: #1e293b;
    font-size: 24px;
    font-weight: 600;
    margin: 48px 0 24px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.calculator-guide h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 16px 0;
}

/* Steps List */
.steps-list,
.usage-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.step-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    opacity: 0.2;
    transform: scale(1.2);
    z-index: -1;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.step-content strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

/* Technical Explanation Styles */
.technical-explanation,
.optimization-strategies,
.placement-strategies,
.extension-strategies {
    margin: 48px 0;
}

.technical-explanation h4,
.optimization-strategies h4,
.placement-strategies h4,
.extension-strategies h4 {
    color: #1e293b;
    font-size: 20px;
    font-weight: 600;
    margin: 32px 0 16px 0;
    padding-left: 16px;
    border-left: 4px solid #2563eb;
    background: linear-gradient(135deg, #eff6ff, #f0f9ff);
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
}

.technical-explanation p,
.optimization-strategies p,
.placement-strategies p,
.extension-strategies p {
    color: #475569;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

/* Sidebar Section Styles */
.sidebar-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.sidebar-section h4 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

.tips-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tips-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    padding-left: 20px;
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
    font-size: 12px;
}

/* Size Reference */
.size-reference {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.size-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background-color: var(--background-light);
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.size-item strong {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.size-item span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.size-item small {
    font-size: 11px;
    color: var(--text-light);
}

/* Related Tools */
.related-tools {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tool-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: var(--background-light);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.tool-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tool-link i {
    color: var(--primary-color);
    width: 16px;
}

.tool-link:hover i {
    color: white;
}

.tool-link span {
    font-size: 13px;
    font-weight: 500;
}

/* Educational Section */
.educational-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.content-wrapper h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-main h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0 16px;
}

.content-main h3:first-child {
    margin-top: 0;
}

.content-main p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-box {
    background-color: var(--background-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.info-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.info-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.info-box ul li {
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.info-box ul li:last-child {
    border-bottom: none;
}

.info-box ul li::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 8px;
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
}

.faq-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 48px;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #1d4ed8);
    border-radius: 2px;
}

/* FAQ Grid Layout */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 28px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    transform: translateY(-4px);
}

.faq-item:hover::before {
    transform: scaleX(1);
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-item h3::before {
    content: '?';
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
    font-size: 14px;
}

/* FAQ Accordion Layout (for backward compatibility) */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-accordion .faq-item {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    padding: 0;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background-color: var(--background-white);
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-question:hover {
    background-color: var(--background-light);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-accordion .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    background-color: var(--background-light);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-accordion .faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calculator-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tool-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .tool-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .tool-title h1 {
        font-size: 20px;
    }

    .calculator-form {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .form-actions {
        flex-direction: column;
    }

    .results-section {
        padding: 20px;
    }

    .result-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .alternatives-grid {
        grid-template-columns: 1fr;
    }

    .result-actions {
        flex-direction: column;
    }

    .content-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .content-main {
        padding: 32px 24px;
    }

    .calculator-guide h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .calculator-guide h3 {
        font-size: 20px;
        margin: 32px 0 16px 0;
    }

    .guide-intro {
        padding: 24px;
        margin-bottom: 32px;
    }

    .technical-explanation h4,
    .optimization-strategies h4,
    .placement-strategies h4,
    .extension-strategies h4 {
        font-size: 18px;
        padding: 12px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .sidebar-widget {
        padding: 20px;
    }

    /* Steps responsive */
    .step-item {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        text-align: center;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
        align-self: center;
    }

    .step-content h4 {
        font-size: 16px;
    }

    .step-content p {
        font-size: 13px;
    }

    /* FAQ responsive */
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .faq-item p {
        font-size: 13px;
    }

    .faq-section h2 {
        font-size: 24px;
        margin-bottom: 32px;
    }

    /* Header/Footer responsive */
    .header-content {
        padding: 12px 16px;
    }

    .footer {
        padding: 40px 0 20px;
        margin-top: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 16px;
    }

    .footer-bottom {
        padding: 20px 16px 0;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .content-section {
        padding: 60px 0;
    }

    .content-main {
        padding: 24px 16px;
    }

    .calculator-guide h2 {
        font-size: 20px;
    }

    .calculator-guide h3 {
        font-size: 18px;
    }

    .guide-intro {
        padding: 20px;
    }

    .technical-explanation h4,
    .optimization-strategies h4,
    .placement-strategies h4,
    .extension-strategies h4 {
        font-size: 16px;
        padding: 10px;
    }

    .sidebar-section {
        padding: 20px;
    }

    .header-content {
        padding: 10px 12px;
    }

    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        padding: 0 12px;
        gap: 24px;
    }

    .footer-bottom {
        padding: 15px 12px 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .calculator-layout {
        gap: 30px;
    }

    .tool-header {
        padding: 24px;
    }

    .calculator-form {
        padding: 24px;
    }

    .results-section {
        padding: 24px;
    }

    /* FAQ tablet layout */
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Steps tablet layout */
    .step-item {
        gap: 16px;
        padding: 20px;
    }

    .step-number {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
}

/* Large screens optimization */
@media (min-width: 1200px) {
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .usage-steps {
        gap: 28px;
    }

    .step-item {
        padding: 28px;
    }
}

/* Enhanced Sidebar Styles */
.sidebar-section {
    margin-bottom: 32px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.sidebar-title i {
    color: #2563eb;
    font-size: 18px;
}

/* Position Guide Styles */
.position-guide .guide-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.position-guide .guide-item:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.position-guide .guide-item:last-child {
    margin-bottom: 0;
}

.guide-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.guide-icon.side {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.guide-icon.back {
    background: linear-gradient(135deg, #10b981, #059669);
}

.guide-icon.stomach {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.guide-content {
    flex: 1;
}

.guide-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
}

.guide-content p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 8px;
}

.guide-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.guide-stats .stat {
    font-size: 12px;
    padding: 4px 8px;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 12px;
    font-weight: 500;
}

.guide-stats .firmness-range {
    font-size: 12px;
    padding: 4px 8px;
    background: #f0fdf4;
    color: #166534;
    border-radius: 12px;
    font-weight: 500;
}

/* Pressure Point Map Styles */
.pressure-reference {
    text-align: center;
}

.body-diagram {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.pressure-map {
    max-width: 100%;
    height: auto;
}

.pressure-legend h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    text-align: left;
}

.legend-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.legend-color.high-pressure {
    background: #fecaca;
    border: 2px solid #dc2626;
}

.legend-color.medium-pressure {
    background: #fed7aa;
    border: 2px solid #ea580c;
}

.legend-color.low-pressure {
    background: #fef3c7;
    border: 2px solid #f59e0b;
}

/* Full Width Content Layout */
.content-layout.full-width {
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 0 auto;
}

.content-layout.full-width .content-main {
    max-width: none;
}
