.bttts-player {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "SolaimanLipi", "Kalpurush", Roboto, "Noto Sans Bengali", sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: #1e293b;
}

.bttts-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.bttts-icon {
    font-size: 20px;
}

.bttts-title {
    font-weight: 600;
    font-size: 16px;
    color: #0f172a;
}

.bttts-status {
    margin-left: auto;
    font-size: 13px;
    color: #64748b;
    padding: 2px 10px;
    background: #fff;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
}

.bttts-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bttts-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #4f46e5;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.bttts-btn:hover:not(:disabled) {
    background: #4338ca;
    transform: translateY(-1px);
}

.bttts-btn:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.6;
}

.bttts-play {
    background: #16a34a;
}
.bttts-play:hover:not(:disabled) {
    background: #15803d;
}

.bttts-stop {
    background: #dc2626;
}
.bttts-stop:hover:not(:disabled) {
    background: #b91c1c;
}

.bttts-speed,
.bttts-voice {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    font-size: 13px;
    color: #475569;
}

.bttts-speed label,
.bttts-voice label {
    font-weight: 500;
}

.bttts-speed select,
.bttts-voice select {
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
    color: #1e293b;
    cursor: pointer;
}

.bttts-progress {
    margin-top: 14px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.bttts-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #4f46e5, #16a34a);
    transition: width 0.25s linear;
}

.bttts-error {
    color: #b91c1c;
    background: #fef2f2;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid #fecaca;
    margin: 0;
}

@media (max-width: 600px) {
    .bttts-controls {
        gap: 8px;
    }
    .bttts-speed,
    .bttts-voice {
        width: 100%;
        margin-left: 0;
    }
    .bttts-status {
        margin-left: 0;
    }
}