/**
 * ConvMaster - Decibel Reference Guide Styles
 * @package ConvMaster
 * @version 1.0.0
 */

/* ========================================
   TOOL PAGE LAYOUT
   ======================================== */
.tool-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header */
.tool-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tool-header__icon {
    font-size: 2.5rem;
}

.tool-header__icon .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg, 12px);
    background: var(--bg-tertiary, #1e293b);
}

.tool-header__icon .icon--decibel {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(168, 85, 247, 0.2));
}

.tool-header__text h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--text-primary, #f1f5f9);
}

.tool-header__text p {
    margin: 0;
    color: var(--text-secondary, #94a3b8);
}

/* ========================================
   CURRENT DATE
   ======================================== */
.decibel-current-date {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card, #1e293b);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-md, 8px);
    padding: 0.875rem 1.25rem;
    margin-bottom: 1.5rem;
}

.decibel-current-date__icon {
    font-size: 1.25rem;
}

.decibel-current-date__text {
    font-size: 1rem;
    color: var(--text-primary, #f1f5f9);
    font-weight: 500;
}

/* ========================================
   TABS
   ======================================== */
.decibel-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.decibel-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    background: var(--bg-tertiary, #1e293b);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-md, 8px);
    color: var(--text-secondary, #94a3b8);
    cursor: pointer;
    transition: all 0.2s;
}

.decibel-tab:hover {
    background: var(--bg-card, #1e293b);
    color: var(--text-primary, #f1f5f9);
    border-color: var(--primary, #6366f1);
}

.decibel-tab--active {
    background: var(--primary, #6366f1);
    border-color: var(--primary, #6366f1);
    color: white;
}

.decibel-tab__icon {
    font-size: 1.125rem;
}

.decibel-tab-content {
    display: none;
}

.decibel-tab-content--active {
    display: block;
}

/* ========================================
   WIDGET
   ======================================== */
.decibel-widget {
    background: var(--bg-card, #1e293b);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

/* ========================================
   SEARCH & FILTER
   ======================================== */
.decibel-search-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.decibel-search {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-tertiary, #0f172a);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-md, 8px);
    padding: 0.75rem 1rem;
}

.decibel-search svg {
    color: var(--text-secondary, #94a3b8);
    flex-shrink: 0;
}

.decibel-search input {
    flex: 1;
    background: transparent;
    border: none;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary, #f1f5f9);
    outline: none;
}

.decibel-search input::placeholder {
    color: var(--text-tertiary, #64748b);
    opacity: 0.6;
}

.decibel-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.decibel-filter label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary, #94a3b8);
    white-space: nowrap;
}

.decibel-filter select {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.9375rem;
    font-family: inherit;
    background: var(--bg-tertiary, #0f172a);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-md, 8px);
    color: var(--text-primary, #f1f5f9);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.decibel-filter select:focus {
    outline: none;
    border-color: var(--primary, #6366f1);
}

/* ========================================
   LEGEND
   ======================================== */
.decibel-legend {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.decibel-legend__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-tertiary, #0f172a);
    border-radius: var(--radius-sm, 6px);
    font-size: 0.8125rem;
}

.decibel-legend__color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.decibel-legend__item--safe .decibel-legend__color { background: #22c55e; }
.decibel-legend__item--moderate .decibel-legend__color { background: #eab308; }
.decibel-legend__item--loud .decibel-legend__color { background: #f97316; }
.decibel-legend__item--dangerous .decibel-legend__color { background: #ef4444; }
.decibel-legend__item--painful .decibel-legend__color { background: #dc2626; }

.decibel-legend__label {
    font-weight: 500;
    color: var(--text-primary, #f1f5f9);
}

.decibel-legend__range {
    color: var(--text-secondary, #94a3b8);
}

/* ========================================
   DECIBEL SCALE
   ======================================== */
.decibel-scale {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.decibel-scale-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: var(--bg-tertiary, #0f172a);
    border-radius: var(--radius-md, 8px);
    border-left: 4px solid;
    transition: transform 0.2s, box-shadow 0.2s;
}

.decibel-scale-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.decibel-scale-item--safe { border-left-color: #22c55e; }
.decibel-scale-item--moderate { border-left-color: #eab308; }
.decibel-scale-item--loud { border-left-color: #f97316; }
.decibel-scale-item--dangerous { border-left-color: #ef4444; }
.decibel-scale-item--painful { border-left-color: #dc2626; }

.decibel-scale-item__icon {
    font-size: 1.5rem;
    width: 40px;
    text-align: center;
}

.decibel-scale-item__db {
    min-width: 60px;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
    font-family: 'JetBrains Mono', monospace;
}

.decibel-scale-item__name {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--text-primary, #f1f5f9);
}

.decibel-scale-item__exposure {
    font-size: 0.8125rem;
    color: var(--text-secondary, #94a3b8);
    text-align: right;
    min-width: 100px;
}

.decibel-scale-item__exposure--warning {
    color: #f97316;
    font-weight: 500;
}

.decibel-scale-item__exposure--danger {
    color: #ef4444;
    font-weight: 600;
}

/* No results message */
.decibel-no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-secondary, #94a3b8);
}

.decibel-no-results__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.decibel-no-results__text {
    font-size: 1rem;
}

/* ========================================
   EXPOSURE TIME
   ======================================== */
.decibel-exposure {
    background: var(--bg-tertiary, #0f172a);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-md, 8px);
    padding: 1.25rem;
}

.decibel-exposure h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #f1f5f9);
    margin: 0 0 1rem;
}

.decibel-exposure__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.decibel-exposure__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-card, #1e293b);
    border-radius: var(--radius-sm, 6px);
    text-align: center;
}

.decibel-exposure__db {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
    font-family: 'JetBrains Mono', monospace;
}

.decibel-exposure__time {
    font-size: 0.8125rem;
    color: var(--text-secondary, #94a3b8);
    margin-top: 0.25rem;
}

/* ========================================
   CALCULATOR SECTION
   ======================================== */
.decibel-calculator-section,
.decibel-distance-section {
    padding: 0.5rem;
}

.decibel-calculator__header,
.decibel-distance__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.decibel-calculator__step-badge,
.decibel-distance__step-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary, #6366f1);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.decibel-calculator__header h2,
.decibel-distance__header h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary, #f1f5f9);
    margin: 0;
}

.decibel-calculator__desc,
.decibel-distance__desc {
    font-size: 0.9375rem;
    color: var(--text-secondary, #94a3b8);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.decibel-calculator__form {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.decibel-calculator__input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.decibel-calculator__input-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary, #94a3b8);
}

.decibel-calculator__input-row {
    display: flex;
    align-items: center;
}

.decibel-calculator__input-row input {
    width: 100px;
    padding: 0.75rem 1rem;
    font-size: 1.125rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    background: var(--bg-tertiary, #0f172a);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-md, 8px) 0 0 var(--radius-md, 8px);
    color: var(--text-primary, #f1f5f9);
    -moz-appearance: textfield;
}

.decibel-calculator__input-row input::-webkit-outer-spin-button,
.decibel-calculator__input-row input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.decibel-calculator__input-row input::placeholder {
    color: var(--text-tertiary, #64748b);
    opacity: 0.5;
}

.decibel-calculator__input-row input:focus {
    outline: none;
    border-color: var(--primary, #6366f1);
}

.decibel-calculator__unit {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    background: var(--bg-card, #1e293b);
    border: 1px solid var(--border-color, #334155);
    border-left: none;
    border-radius: 0 var(--radius-md, 8px) var(--radius-md, 8px) 0;
    color: var(--text-secondary, #94a3b8);
}

.decibel-calculator__operator {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary, #6366f1);
    padding: 0 0.5rem;
}

.decibel-calculator__result-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.decibel-calculator__result-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary, #94a3b8);
}

.decibel-calculator__result {
    min-width: 120px;
    padding: 0.75rem 1rem;
    font-size: 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    border: 2px solid var(--primary, #6366f1);
    border-radius: var(--radius-md, 8px);
    color: var(--primary, #6366f1);
    text-align: center;
}

.decibel-calculator__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ========================================
   DISTANCE SECTION
   ======================================== */
.decibel-distance__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.decibel-distance__row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.decibel-distance__input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 150px;
}

.decibel-distance__input-group--full {
    flex: 100%;
    max-width: 300px;
}

.decibel-distance__input-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary, #94a3b8);
}

.decibel-distance__input-row {
    display: flex;
    align-items: center;
}

.decibel-distance__input-row input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-tertiary, #0f172a);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-md, 8px) 0 0 var(--radius-md, 8px);
    color: var(--text-primary, #f1f5f9);
    -moz-appearance: textfield;
}

.decibel-distance__input-row input::-webkit-outer-spin-button,
.decibel-distance__input-row input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.decibel-distance__input-row input::placeholder {
    color: var(--text-tertiary, #64748b);
    opacity: 0.5;
}

.decibel-distance__input-row input:focus {
    outline: none;
    border-color: var(--primary, #6366f1);
}

.decibel-distance__unit,
.decibel-distance__input-row select {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    background: var(--bg-card, #1e293b);
    border: 1px solid var(--border-color, #334155);
    border-left: none;
    border-radius: 0 var(--radius-md, 8px) var(--radius-md, 8px) 0;
    color: var(--text-secondary, #94a3b8);
}

.decibel-distance__input-row select {
    cursor: pointer;
    font-family: inherit;
}

.decibel-distance__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.decibel-distance__result {
    background: var(--bg-tertiary, #0f172a);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-md, 8px);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.decibel-distance__result-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.decibel-distance__result-value {
    font-size: 3rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--primary, #6366f1);
}

.decibel-distance__result-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary, #94a3b8);
}

.decibel-distance__result-detail {
    font-size: 0.9375rem;
    color: var(--text-secondary, #94a3b8);
    margin-bottom: 0.5rem;
}

.decibel-distance__result-zone {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm, 6px);
    display: inline-block;
}

.decibel-distance__result-zone--safe {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.decibel-distance__result-zone--moderate {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
}

.decibel-distance__result-zone--loud {
    background: rgba(249, 115, 22, 0.2);
    color: #f97316;
}

.decibel-distance__result-zone--dangerous {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.decibel-distance__result-zone--painful {
    background: rgba(220, 38, 38, 0.2);
    color: #dc2626;
}

/* ========================================
   INFO BOX
   ======================================== */
.decibel-info-box {
    display: flex;
    gap: 1rem;
    background: var(--bg-tertiary, #0f172a);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-md, 8px);
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.decibel-info-box__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.decibel-info-box__content {
    flex: 1;
}

.decibel-info-box__content strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary, #f1f5f9);
    margin-bottom: 0.5rem;
}

.decibel-info-box__content p {
    font-size: 0.875rem;
    color: var(--text-secondary, #94a3b8);
    margin: 0;
    line-height: 1.6;
}

.decibel-info-box__content code {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.5rem 1rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    background: var(--bg-card, #1e293b);
    border-radius: var(--radius-sm, 6px);
    color: var(--primary, #6366f1);
}

/* ========================================
   QUICK REFERENCE
   ======================================== */
.decibel-quick-ref {
    background: var(--bg-tertiary, #0f172a);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-md, 8px);
    padding: 1.25rem;
    margin-top: 1.5rem;
}

.decibel-quick-ref h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary, #f1f5f9);
    margin: 0 0 1rem;
}

.decibel-quick-ref__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

@media (max-width: 600px) {
    .decibel-quick-ref__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.decibel-quick-ref__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-card, #1e293b);
    border-radius: var(--radius-sm, 6px);
    text-align: center;
}

.decibel-quick-ref__diff {
    font-size: 1.125rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--primary, #6366f1);
}

.decibel-quick-ref__desc {
    font-size: 0.75rem;
    color: var(--text-secondary, #94a3b8);
    margin-top: 0.25rem;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-md, 8px);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn--primary {
    background: var(--primary, #6366f1);
    color: white;
}

.btn--primary:hover {
    background: var(--primary-hover, #4f46e5);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary, #f1f5f9);
    border: 1px solid var(--border-color, #334155);
}

.btn--outline:hover {
    background: var(--bg-tertiary, #1e293b);
    border-color: var(--primary, #6366f1);
}

/* ========================================
   PRIVACY NOTICE
   ======================================== */
.decibel-privacy {
    text-align: center;
    margin-bottom: 2rem;
}

.decibel-privacy p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary, #94a3b8);
}

/* ========================================
   MESSAGE INLINE
   ======================================== */
.decibel-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md, 8px);
    margin-bottom: 1rem;
}

.decibel-message--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.decibel-message--success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* ========================================
   SEO CONTENT
   ======================================== */
.tool-content {
    margin-top: 3rem;
}

.tool-section {
    margin-bottom: 2.5rem;
}

.tool-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
    margin: 0 0 1rem;
}

.tool-section p {
    color: var(--text-secondary, #94a3b8);
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 800px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--bg-card, #1e293b);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-lg, 12px);
    padding: 1.5rem;
}

.feature-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    background: var(--bg-tertiary, #0f172a);
    border-radius: var(--radius-md, 8px);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #f1f5f9);
    margin: 0 0 0.5rem;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-secondary, #94a3b8);
    margin: 0;
    line-height: 1.6;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

@media (max-width: 700px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: var(--bg-card, #1e293b);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-lg, 12px);
    padding: 1.5rem;
    position: relative;
}

.step-card__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    background: var(--primary, #6366f1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #f1f5f9);
    margin: 0 0 0.5rem;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--text-secondary, #94a3b8);
    margin: 0;
    line-height: 1.6;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card, #1e293b);
    border: 1px solid var(--border-color, #334155);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
}

.faq-item summary {
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--text-primary, #f1f5f9);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary, #94a3b8);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 1.25rem 1rem;
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary, #94a3b8);
    line-height: 1.6;
}

/* ========================================
   UTILITIES
   ======================================== */
[hidden] {
    display: none !important;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 600px) {
    .tool-page {
        padding: 1rem;
    }
    
    .tool-header {
        flex-direction: column;
        text-align: center;
    }
    
    .tool-header__text h1 {
        font-size: 1.5rem;
    }
    
    .decibel-tabs {
        justify-content: center;
    }
    
    .decibel-tab {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .decibel-calculator__form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .decibel-calculator__operator {
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .decibel-calculator__input-row input {
        width: 100%;
    }
    
    .decibel-scale-item {
        flex-wrap: wrap;
    }
    
    .decibel-scale-item__exposure {
        width: 100%;
        text-align: left;
        margin-top: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid var(--border-color, #334155);
    }
}
