/* minimal admin styles */

.carien-invoice-previews-wrapper {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}
.carien-invoice-preview-card {
    flex: 1 1 50%;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
}
.carien-invoice-preview-card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}
.carien-invoice-preview-frame {
    border: 1px solid #e1e1e1;
    background: #f5f5f5;
    padding: 10px;
    max-height: 400px;
    overflow: auto;
}
/* Mini reset pour l’aperçu interne */
.carien-invoice-preview-inner {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 11px;
    color: #2c3e50;
}

#h1InvoiceTemplatePreview{
    margin-top:30px;
}

.preview-theme1-container {
    background-color: #ecf0f1;
    padding: 15px;
}
.preview-theme1-invoice {
    background: #ffffff;
    border: 1px solid #dfe6e9;
    padding: 20px;
}
.preview-theme1-header {
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.preview-theme1-logo {
    margin-bottom: 6px;
}
.preview-theme1-logo span {
    display: inline-block;
    width: 80px;
    height: 24px;
    background: #bdc3c7;
}
.preview-theme1-title {
    font-size: 16px;
    font-weight: bold;
}
.preview-theme1-two-col {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 11px;
}
.preview-theme1-box {
    border: 1px solid #eee;
    padding: 8px;
    width: 100%;
}
.preview-theme1-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin-top: 10px;
}
.preview-theme1-table th,
.preview-theme1-table td {
    border: 1px solid #eee;
    padding: 6px;
    text-align: left;
}
.preview-theme1-footer {
    margin-top: 10px;
    font-size: 10px;
    color: #7f8c8d;
}


.preview-theme2-container {
    background-color: #f5f6fa;
    padding: 15px;
}
.preview-theme2-invoice {
    background: #ffffff;
    border: 1px solid #dcdde1;
    border-radius: 4px;
    padding: 16px 18px;
}
.preview-theme2-header {
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    margin-bottom: 12px;
}
.preview-theme2-logo {
    margin-bottom: 6px;
}
.preview-theme2-logo span {
    display: inline-block;
    width: 80px;
    height: 24px;
    background: #95a5a6;
}
.preview-theme2-company-name {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 3px;
}
.preview-theme2-company-info {
    font-size: 11px;
    line-height: 1.4;
}
.preview-theme2-invoice-meta {
    margin-bottom: 10px;
    font-size: 11px;
}
.preview-theme2-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 2px;
}
.preview-theme2-two-col {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 11px;
}
.preview-theme2-box {
    border: 1px solid #ecf0f1;
    padding: 8px;
    width: 100%;
    line-height: 1.6;
}
.preview-theme2-box strong {
    display: block;
    margin-bottom: 3px;
}
.preview-theme2-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    margin-top: 8px;
}
.preview-theme2-table th,
.preview-theme2-table td {
    border: 1px solid #ecf0f1;
    padding: 6px;
}
.preview-theme2-table th {
    background: #3498db;
    color: #fff;
    text-align: left;
}
.preview-theme2-table tfoot th {
    background: #ecf0f1;
    color: #2d3436;
}
.preview-theme2-table tfoot td {
    font-weight: bold;
}
.preview-theme2-footer {
    margin-top: 10px;
    font-size: 10px;
    color: #7f8c8d;
    text-align: center;
}

.carien-admin-pdf-buttons{
    margin-top:20px; padding-top:10px; border-top:1px solid #ddd;
}
#linkButton{
    margin:10px 0 6px;
}

