/**
 * CCC Breathwork Mixer Styles
 * Modern minimalist design for live meditation sessions
 */

/* START CONTAINER LAYOUT */
.breathwork-mixer-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}
/* END CONTAINER LAYOUT */

/* START HEADER */
.mixer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mixer-timer-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    height: 60px;
}

.mixer-status-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1.25rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    height: 60px;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.status-label-small {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-value-large {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    font-family: 'Courier New', monospace;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Live second within the current inhale/hold/exhale/pause */
.status-item-count {
    min-width: 2.5rem;
}

.status-value-count {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Courier New', monospace;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
    line-height: 1;
    min-width: 1.25em;
    text-align: center;
    transition: transform 0.12s ease, color 0.12s ease;
}

.status-value-count.is-counting {
    color: #ffe566;
    transform: scale(1.08);
}

.status-divider {
    width: 2px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 0.5rem;
}

.timer-display {
    font-family: 'Courier New', 'Monaco', monospace;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    min-width: 80px;
    text-align: center;
}

.timer-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(5px);
    padding: 0;
}

.timer-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.timer-control-btn:active {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
}

.timer-icon {
    font-size: 1.4rem;
    color: white;
    font-weight: normal;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#timer-play-btn .timer-icon {
    font-size: 1.6rem;
    margin-left: 2px;
}
/* END HEADER */

/* START TAB NAVIGATION */
.mixer-tabs {
    display: flex;
    gap: 0.5rem;
}

.tab-button {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 8px;
    white-space: nowrap;
}

.tab-button:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.tab-button.active {
    color: white;
    background: rgba(255, 255, 255, 0.25);
    border-color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
/* END TAB NAVIGATION */

/* START BREATH PATTERN CONTROLS */
.breath-pattern-section {
    margin-bottom: 1.5rem;
}

.breath-pattern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.breath-pattern-grid-with-button {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-pattern {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
    justify-content: center;
}

.pattern-control {
    display: flex;
    flex-direction: column;
}

.pattern-control label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pattern-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pattern-select:hover {
    border-color: #cbd5e0;
}

.pattern-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Active Phase Highlight */
.pattern-control.active-phase .pattern-select {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    animation: pulse-phase 1.5s ease-in-out infinite;
}

@keyframes pulse-phase {
    0%, 100% {
        box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.3);
    }
}

/* Queue Alert */
.queued-alert {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #667eea;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 1rem 0;
    text-align: center;
}

/* Recovery Breath Ghost Card */
.recovery-ghost-card {
    border: 2px dashed #667eea;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: transparent;
}

.recovery-ghost-card:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: #764ba2;
}

.ghost-card-icon {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 28px;
    border: 2px solid #667eea;
    border-radius: 50%;
    color: #667eea;
    font-size: 1.5rem;
    font-weight: 300;
    margin-right: 0.75rem;
    vertical-align: middle;
}

.ghost-card-text {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    vertical-align: middle;
}

/* SESSION BUILDER */
.session-info-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.info-control {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.info-control label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.session-input,
.session-stat-value {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    background: white;
    line-height: 1.5;
    box-sizing: border-box;
}

.session-input {
    color: #2d3748;
}

.session-stat-value {
    color: #667eea;
    text-align: center;
    display: block;
}

.session-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.session-summary {
    display: flex;
    gap: 2rem;
    background: #f7fafc;
    padding: 1rem 1.5rem;
    border-radius: 8px;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.summary-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
}

.summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    font-family: 'Courier New', monospace;
}

#phases-container {
    min-height: 200px;
}

.no-phases {
    text-align: center;
    padding: 3rem;
    color: #718096;
}

.no-phases p {
    font-size: 1rem;
    margin: 0;
}

.phase-card {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.phase-card.dragging {
    opacity: 0.5;
}

.phase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.phase-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: #667eea;
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
}

.phase-name-input {
    flex: 1;
    margin: 0 1rem;
    padding: 0.5rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    background: white;
    min-width: 200px;
}

.phase-name-input::placeholder {
    color: #cbd5e0;
}

.phase-name-input:focus {
    outline: none;
    border-color: #667eea;
}

.phase-controls {
    display: flex;
    gap: 0.5rem;
}

.phase-control-btn {
    padding: 0.375rem 0.75rem;
    border: none;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.875rem;
    color: #718096;
    transition: all 0.2s ease;
}

.phase-control-btn:hover {
    background: #667eea;
    color: white;
}

.phase-type-selector {
    padding: 0.375rem 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #667eea;
    background: white;
    margin: 0 1rem;
}

.phase-type-selector:focus {
    outline: none;
    border-color: #667eea;
}

.phase-pattern-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hold-phase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hold-recovery-option {
    background: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

#manual-recovery-option {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.recovery-duration-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #4a5568;
    margin-left: 1.5rem;
}

.recovery-duration-control label {
    font-weight: 600;
}

.recovery-duration-control input {
    width: 80px;
    padding: 0.375rem 0.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-weight: 600;
}

/* SPEECH / PHASE CUE TOGGLES */
.speech-toggles,
.phase-cues-controls {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    cursor: pointer;
}

.toggle-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.cue-style-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    padding-left: 0.25rem;
}

.cue-style-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.cue-style-option {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #2d3748;
    cursor: pointer;
}

.cue-style-option input[type="radio"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.phase-cues-note {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.4;
    color: #718096;
}

.phase-cues-section.is-disabled .cue-style-row {
    opacity: 0.55;
}

.phase-pattern-control {
    display: flex;
    flex-direction: column;
}

.phase-pattern-control label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.phase-pattern-control select,
.phase-pattern-control input {
    padding: 0.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #2d3748;
}

.phase-pattern-control select:focus,
.phase-pattern-control input:focus {
    outline: none;
    border-color: #667eea;
}

.phase-info {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #4a5568;
}

.phase-info strong {
    color: #667eea;
}

.phase-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* MY SESSIONS */
.no-sessions {
    text-align: center;
    padding: 3rem;
    color: #718096;
}

.no-sessions p {
    font-size: 1rem;
    margin: 0;
}

.saved-session-card {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.saved-session-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.saved-session-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2d3748;
}

.saved-session-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #718096;
    margin-bottom: 1rem;
}

.saved-session-meta span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.saved-session-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* END BREATH PATTERN CONTROLS */

/* START MIXER SECTIONS */
.mixer-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mixer-section-spaced {
    margin-top: 1.5rem;
}

.music-select-full {
    grid-column: span 4;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #2d3748;
    font-weight: 600;
}

.section-header-with-volume {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header-with-volume h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #2d3748;
    font-weight: 600;
}

.volume-control-inline {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.volume-control-inline label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #718096;
    white-space: nowrap;
}

.volume-slider-small {
    -webkit-appearance: none;
    appearance: none;
    width: 120px;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, #667eea 0%, #764ba2 100%);
    outline: none;
}

.volume-slider-small::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: 2px solid #667eea;
}

.volume-slider-small::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: 2px solid #667eea;
}

.volume-control-inline .volume-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #667eea;
    min-width: 40px;
    text-align: right;
}

/* END MIXER SECTIONS */

/* START CONTROL GROUPS */
.control-group {
    margin-bottom: 1.5rem;
}

.control-group:last-child {
    margin-bottom: 0;
}

.control-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
}
/* END CONTROL GROUPS */

/* START SELECT DROPDOWNS */
.audio-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.audio-select:hover {
    border-color: #cbd5e0;
}

.audio-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.audio-select option {
    padding: 0.5rem;
}
/* END SELECT DROPDOWNS */

/* START BUTTONS */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn:active:not(:disabled) {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover:not(:disabled) {
    background: #cbd5e0;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-icon-only {
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon {
    font-size: 1.25rem;
}

.file-upload-btn {
    display: inline-block;
    cursor: pointer;
}

.file-upload-btn .btn {
    width: 100%;
    justify-content: center;
}
/* END BUTTONS */

/* START TRANSPORT CONTROLS */
.transport-controls {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.transport-controls .btn {
    flex: 1;
    min-width: 100px;
    justify-content: center;
    text-align: center;
}
/* END TRANSPORT CONTROLS */

/* START VOLUME CONTROL */
.volume-control {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
}

.volume-control label {
    margin-bottom: 0;
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, #667eea 0%, #764ba2 100%);
    outline: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.volume-slider:hover {
    opacity: 1;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
}

.volume-value {
    font-weight: 600;
    color: #667eea;
    min-width: 45px;
    text-align: right;
}
/* END VOLUME CONTROL */

/* START AUDIO LEVELS SECTION */
.audio-levels-section {
    margin-top: 1.5rem;
}

.section-toggle {
    width: 100%;
    padding: 0 0 1.5rem 0;
    background: white !important;
    border: none;
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d3748 !important;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-toggle:hover {
    background: white !important;
    color: #2d3748 !important;
}

.section-toggle:focus,
.section-toggle:active {
    background: white !important;
    color: #2d3748 !important;
    outline: none;
}

.audio-levels-section.expanded .section-toggle {
    background: white !important;
    color: #2d3748 !important;
}

.toggle-icon {
    transition: transform 0.3s ease;
    color: #718096 !important;
    font-size: 1rem;
    font-weight: normal !important;
}

.audio-levels-section.expanded .toggle-icon,
.mixer-help.expanded .toggle-icon {
    transform: rotate(180deg);
}

.levels-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
}

.audio-levels-section.expanded .levels-content {
    max-height: 500px;
    padding: 1.5rem 0 0 0;
}

.level-row {
    display: grid;
    grid-template-columns: 140px 1fr 60px auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.level-row-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #e2e8f0;
    font-weight: 600;
}

.level-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4a5568;
}

.level-row-total .level-label {
    font-weight: 700;
}

.level-meter-container {
    background: #e2e8f0;
    height: 24px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.level-meter {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #48bb78 0%, #48bb78 60%, #ed8936 60%, #ed8936 85%, #f56565 85%, #f56565 100%);
    transition: width 0.05s ease-out;
    border-radius: 12px;
}

.level-meter-mixed {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.level-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: #4a5568;
    min-width: 45px;
    text-align: right;
}

.btn-small {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    white-space: nowrap;
}

.levels-note {
    background: #f0f4ff;
    border-left: 4px solid #667eea;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 1rem 0 0 0;
    color: #4a5568;
    font-size: 0.875rem;
}

.levels-note strong {
    color: #667eea;
}
/* END AUDIO LEVELS SECTION */

/* START HELP SECTION (using audio-levels-section classes) */

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.shortcut-item kbd {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 50px;
    text-align: center;
}

.shortcut-item span {
    color: #4a5568;
    font-size: 0.875rem;
}

.help-note {
    background: #f0f4ff;
    border-left: 4px solid #667eea;
    padding: 1rem;
    border-radius: 8px;
    margin: 0;
    color: #4a5568;
    font-size: 0.875rem;
}

.help-note strong {
    color: #667eea;
}
/* END HELP SECTION */

/* START RESPONSIVE */
@media (max-width: 768px) {
    .breathwork-mixer-container {
        padding: 1rem;
        margin: 1rem;
    }

    .transport-controls .btn {
        min-width: 80px;
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }

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

    .volume-control {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .volume-value {
        text-align: left;
    }
    
    .timer-display {
        font-size: 1.5rem;
        min-width: 70px;
    }
    
    .timer-control-btn {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
    }
    
    .timer-icon {
        font-size: 1.2rem;
    }
}

/* Narrow window optimization (for side-by-side with Zoom) */
@media (max-width: 1000px) {
    .header-left {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}

@media (max-width: 800px) {
    .mixer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .header-left {
        width: 100%;
    }
    
    .mixer-tabs {
        width: 100%;
    }
    
    .tab-button {
        flex: 1;
        text-align: center;
    }
    
    .breath-pattern-grid-with-button {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .btn-pattern {
        grid-column: 1 / -1;
        width: 100%;
    }
    
    .status-value-large {
        font-size: 1.1rem;
    }

    .status-value-count {
        font-size: 1.4rem;
    }
    
    .status-label-small {
        font-size: 0.6rem;
    }
}

@media (max-width: 600px) {
    .breathwork-mixer-container {
        padding: 1rem;
        margin: 0.5rem;
        border-radius: 12px;
    }
    
    .mixer-section {
        padding: 1rem;
    }
    
    .section-header h3,
    .section-header-with-volume h3 {
        font-size: 1.1rem;
    }
    
    .section-header-with-volume {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .volume-control-inline {
        width: 100%;
    }
    
    .volume-slider-small {
        flex: 1;
    }
    
    .control-group {
        margin-bottom: 1rem;
    }
    
    .breath-pattern-grid,
    .breath-pattern-grid-with-button {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .btn-pattern {
        grid-column: 1 / -1;
        width: 100%;
    }
    
    .tab-button {
        padding: 0.5rem 0.5rem;
        font-size: 0.75rem;
    }
}
/* END RESPONSIVE */

