/* CONTAINER */
.bdm-converter-wrapper {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    max-width: 800px;
    margin: 20px auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* HEADER */
.bdm-converter-header {
    text-align: center;
    margin-bottom: 30px;
}
.bdm-converter-header h2 {
    color: #00024E; /* Votre bleu primaire */
    font-size: 24px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.bdm-converter-header p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

/* FORM ELEMENTS */
.bdm-conv-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 14px;
}

.bdm-conv-textarea {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    transition: all 0.2s;
    font-family: inherit;
    box-sizing: border-box; /* Important pour le padding */
}
.bdm-conv-textarea:focus {
    border-color: #00024E;
    outline: none;
    background: #f8fbff;
}
.bdm-conv-textarea--code {
    font-family: 'Courier New', Courier, monospace;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 13px;
    white-space: pre;
}

.bdm-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* BUTTONS */
.bdm-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}
.bdm-btn--primary {
    background: #00024E;
    color: #fff;
}
.bdm-btn--primary:hover {
    background: #122A70;
    transform: translateY(-1px);
}
.bdm-btn--secondary {
    background: #e2e8f0;
    color: #334155;
}
.bdm-btn--secondary:hover {
    background: #cbd5e1;
    color: #0f172a;
}
.bdm-btn--light {
    background: #fff;
    border: 1px solid #cbd5e1;
    color: #475569;
}
.bdm-btn--light:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}
.bdm-btn--large {
    width: 100%;
    padding: 12px;
    font-size: 16px;
}

/* UTILS */
.bdm-conv-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 25px 0;
}
.bdm-error-msg {
    color: #dc2626;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 500;
}
.bdm-success-badge {
    background: #dcfce7;
    color: #166534;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}
.bdm-conv-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}