.atlas-ux-toast-wrap {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: min(420px, calc(100vw - 32px));
    pointer-events: none;
}

.atlas-ux-toast {
    background: rgba(17, 24, 39, 0.96);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #e2e8f0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.55;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    pointer-events: auto;
}

.atlas-ux-toast a {
    color: #93c5fd;
    font-weight: 700;
    text-decoration: none;
    margin-left: 6px;
}

.atlas-ux-next-box {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted, #94a3b8);
}

.atlas-ux-next-box strong {
    color: var(--text-color, #f8fafc);
}

.atlas-ux-banner {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.28);
    color: #bfdbfe;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.55;
    margin-bottom: 16px;
}

.atlas-ux-banner-warning {
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.28);
    color: #fcd34d;
}

.atlas-ux-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.atlas-ux-banner-actions a,
.atlas-ux-banner-actions button {
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.atlas-ux-banner-actions a {
    color: #93c5fd;
}

.atlas-ux-banner-actions button {
    background: transparent;
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    padding: 6px 10px;
}

.atlas-ux-path-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: var(--success-color, #10b981);
    line-height: 1.5;
}

.atlas-ux-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: 1400;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.atlas-ux-overlay.visible {
    display: flex;
}

.atlas-ux-modal {
    width: 100%;
    max-width: 460px;
    background: var(--card-bg, #111827);
    border: 1px solid var(--border, #334155);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.atlas-ux-modal h3 {
    margin: 0 0 8px;
    font-size: 17px;
}

.atlas-ux-modal p {
    margin: 0 0 14px;
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    line-height: 1.6;
}

.atlas-ux-checklist {
    display: grid;
    gap: 10px;
    margin: 14px 0 18px;
}

.atlas-ux-checklist label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.atlas-ux-checklist input {
    margin-top: 3px;
}

.atlas-ux-wizard-steps {
    display: grid;
    gap: 12px;
    margin: 14px 0 18px;
}

.atlas-ux-wizard-step {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.55;
}

.atlas-ux-wizard-num {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(59, 130, 246, 0.15);
    color: #93c5fd;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atlas-ux-btn-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.atlas-ux-btn-primary,
.atlas-ux-btn-secondary {
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.atlas-ux-btn-primary {
    background: var(--success-color, #10b981);
    color: #022c22;
}

.atlas-ux-btn-secondary {
    background: transparent;
    border: 1px solid var(--border, #334155);
    color: var(--text-muted, #94a3b8);
}

#mobile-log-fab {
    display: none;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1100;
    background: var(--accent-color, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    cursor: pointer;
}

@media (max-width: 720px) {
    #mobile-log-fab {
        display: block;
    }

    #workout-card .timer-display {
        font-size: 36px;
        margin: 8px 0;
    }

    #workout-card .mobile-timer-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 8px 12px;
        margin-bottom: 10px;
        font-size: 12px;
    }

    #workout-card .mobile-timer-bar strong {
        font-family: monospace;
        font-size: 14px;
    }
}

@media (min-width: 721px) {
    #workout-card .mobile-timer-bar {
        display: none;
    }
}

.atlas-equipment-cost-banner {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.24);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted, #94a3b8);
}

.atlas-equipment-cost-banner strong {
    display: block;
    color: var(--text-color, #f8fafc);
    margin-bottom: 6px;
}

.atlas-equipment-cost-banner p {
    margin: 0 0 8px;
}

.atlas-equipment-cost-banner.compact p {
    margin-bottom: 0;
}

.atlas-equipment-cost-list {
    margin: 0 0 8px;
    padding-left: 18px;
}

.atlas-equipment-cost-list li + li {
    margin-top: 4px;
}

.atlas-equipment-cost-foot {
    font-size: 11px;
    margin: 0;
    line-height: 1.55;
}

.atlas-path-confirm {
    display: none;
    margin: -4px 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.28);
    background: rgba(99, 102, 241, 0.06);
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-muted, #94a3b8);
}

.atlas-path-confirm.visible {
    display: block;
}

.atlas-path-confirm label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}

.atlas-path-confirm input {
    margin-top: 3px;
    accent-color: #818cf8;
    flex-shrink: 0;
}

.atlas-path-confirm strong {
    color: var(--text-color, #f8fafc);
}

.atlas-path-confirm-note {
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
}

.atlas-path-confirm-note a {
    color: var(--accent-color, #3b82f6);
    font-weight: 600;
    text-decoration: none;
}

.register-card label.plain-label {
    text-transform: none;
    letter-spacing: normal;
    font-weight: 600;
    color: var(--text-color, #f1f5f9);
}
