/* ============================================================
 * Indian e-Invoice Module Styles
 * ============================================================ */

/* e-Invoice info block on invoice card */
.einvoice-info-block {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6 !important;
    border-radius: 4px;
    padding: 12px;
    margin-top: 10px;
}

.einvoice-info-block .titre {
    background-color: #e8f4fd;
    padding: 6px 10px;
    font-weight: bold;
    border-bottom: 1px solid #b8daff;
}

/* IRN code display */
.einvoice-info-block code {
    font-size: 0.83em;
    word-break: break-all;
    background-color: #f1f3f4;
    padding: 2px 5px;
    border-radius: 3px;
    color: #333;
}

/* Status badges */
.badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.82em;
    font-weight: 600;
    border-radius: 3px;
    color: #fff;
}
.badge-success    { background-color: #28a745; }
.badge-danger     { background-color: #dc3545; }
.badge-warning    { background-color: #ffc107; color: #212529; }
.badge-secondary  { background-color: #6c757d; }

/* QR code panel */
.einvoice-info-block .fichehalfright {
    text-align: center;
}
.einvoice-info-block img {
    max-width: 160px;
    border: 1px solid #ddd;
    padding: 4px;
    background: #fff;
}

/* Small action button for copy IRN */
.butActionSmall {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.8em;
    border: 1px solid #007bff;
    border-radius: 3px;
    color: #007bff;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
}
.butActionSmall:hover {
    background: #007bff;
    color: #fff;
}
