/* PDFReport Module CSS Styles */

/* Admin panel specific styles */
.module-panel-pdfreport {
    max-width: 1200px;
    margin: 0 auto;
}

.pdf-report-preview {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.pdf-report-preview img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.pdf-settings-icon {
    margin-right: 5px;
}

/* PDF button styles for service details page */
.pdf-download-btn {
    background-color: #d9534f;
    color: white;
    border-color: #d43f3a;
}

.pdf-download-btn:hover {
    background-color: #c9302c;
    border-color: #ac2925;
}

.pdf-download-btn .icon {
    margin-right: 5px;
}

/* Batch PDF actions */
.batch-actions-pdfreport {
    margin: 15px 0;
    padding: 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.batch-actions-pdfreport .btn {
    margin-right: 10px;
}

/* PDF reports table */
.pdf-reports-table {
    width: 100%;
    margin-top: 15px;
}

.pdf-reports-table th {
    background-color: #f0f0f0;
}

.pdf-reports-table .actions-column {
    white-space: nowrap;
    text-align: center;
    width: 120px;
}

/* PDF report card in dashboard */
.pdf-report-card {
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease-in-out;
}

.pdf-report-card:hover {
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.pdf-report-card .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,.125);
    padding: 10px 15px;
}

.pdf-report-card .card-body {
    padding: 15px;
}

.pdf-report-card .card-footer {
    background-color: #fff;
    border-top: 1px solid rgba(0,0,0,.125);
    padding: 10px 15px;
}

/* Logo preview */
.logo-preview-container {
    text-align: center;
    margin: 10px 0;
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 4px;
}

.logo-preview-container img {
    max-height: 100px;
    max-width: 100%;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .pdf-settings-form .row {
        flex-direction: column;
    }
    
    .pdf-settings-form .col-md-6 {
        width: 100%;
    }
}