.wc-gf-audio-wrap {
    margin-top: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.wc-gf-audio-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}

.wc-gf-audio-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.wc-gf-audio-tab:hover {
    background: #f1f5f9;
}

.wc-gf-audio-tab.is-active {
    color: #0f766e;
    background: #ecfdf5;
    box-shadow: inset 0 -2px 0 #0f766e;
}

.wc-gf-audio-panel {
    display: none;
    padding: 16px;
}

.wc-gf-audio-panel.is-active {
    display: block;
}

.wc-gf-audio-recorder {
    text-align: center;
}

.wc-gf-audio-timer {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
    font-variant-numeric: tabular-nums;
}

.wc-gf-audio-timer.is-warning {
    color: #b45309;
}

.wc-gf-audio-timer.is-limit {
    color: #dc2626;
}

.wc-gf-audio-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 14px;
}

.wc-gf-audio-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.wc-gf-audio-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.wc-gf-audio-btn--start {
    background: #0f766e;
    color: #fff;
}

.wc-gf-audio-btn--stop {
    background: #dc2626;
    color: #fff;
}

.wc-gf-audio-btn--rerecord {
    background: #475569;
    color: #fff;
}

.wc-gf-audio-preview {
    width: 100%;
    max-width: 400px;
    margin: 12px auto;
    display: block;
}

.wc-gf-audio-status {
    font-size: 13px;
    color: #64748b;
    margin: 8px 0 0;
    min-height: 1.2em;
}

.wc-gf-audio-status.is-error {
    color: #dc2626;
}

.wc-gf-audio-status.is-success {
    color: #0f766e;
}

.wc-gf-audio-formats {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 10px;
}

.wc-gf-audio-panel--upload .gfield_description {
    margin-top: 8px;
}

@media (max-width: 480px) {
    .wc-gf-audio-tab {
        font-size: 14px;
        padding: 10px 8px;
    }

    .wc-gf-audio-controls {
        flex-direction: column;
    }

    .wc-gf-audio-btn {
        width: 100%;
    }
}
