.clmlt-recorder {
    max-width: 720px;
    margin: 2rem auto;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.clmlt-recorder__header h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.clmlt-recorder__hint {
    margin: 0 0 1rem;
    color: #475569;
}

.clmlt-recorder__controls,
.clmlt-recorder__form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1rem;
}

.clmlt-btn {
    border: 0;
    border-radius: 999px;
    padding: 0.8rem 1.2rem;
    font-weight: 600;
    cursor: pointer;
}

.clmlt-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.clmlt-btn--primary {
    background: #2563eb;
    color: white;
}

.clmlt-btn--secondary {
    background: #e2e8f0;
    color: #0f172a;
}

.clmlt-btn--ghost {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.clmlt-btn--success {
    background: #16a34a;
    color: white;
}

.clmlt-recorder__timer {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 1rem 0;
    text-align: center;
}

.clmlt-recorder__preview {
    margin: 1rem 0;
    text-align: center;
}

.clmlt-recorder__status {
    min-height: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.clmlt-recorder__status.is-success {
    color: #15803d;
}

.clmlt-recorder__status.is-error {
    color: #dc2626;
}

.clmlt-alert {
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.clmlt-alert-warning {
    background: #fef3c7;
    color: #92400e;
}

@media (max-width: 767px) {
    .clmlt-recorder {
        padding: 1rem;
    }

    .clmlt-recorder__controls,
    .clmlt-recorder__form {
        flex-direction: column;
        align-items: stretch;
    }
}
