/* Contact Report Styles - Report view and detailed listing styles */

/* Report Container */
.report-container {
    padding: 32px;
    background: white;
    min-height: calc(100vh - 300px);
}

/* Report Header */
.report-header {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 32px;
}

/* Report Search */
.report-search {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 16px;
    width: 400px;
}

.report-search i {
    color: #6c757d;
    margin-right: 12px;
}

.report-search input {
    border: none;
    outline: none;
    background: transparent;
    flex: 1;
    font-size: 14px;
}

/* Report Content */
.report-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Report Item */
.report-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Report Item Header */
.report-item-header {
    background: #f8f9fa;
    padding: 16px 24px;
    border-bottom: 1px solid #dee2e6;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr 150px;
    gap: 16px;
    font-weight: 600;
    font-size: 14px;
    align-items: center;
}

/* Report Item Details */
.report-item-details {
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 12px 24px;
    font-size: 13px;
    background: #fdfdfd;
}

/* Report Labels and Values */
.report-label {
    color: #343a40;
    font-weight: 600;
}

.report-value {
    color: #343a40;
    word-break: break-word;
}

.report-value a {
    color: #007bff;
    text-decoration: none;
}

.report-value a:hover {
    text-decoration: underline;
}

/* Status in Report */
.status-active-report {
    color: #28a745;
    font-weight: 600;
}

.status-inactive-report {
    color: #dc3545;
    font-weight: 600;
}

/* Edit Button in Report */
.edit-from-report-btn {
    padding: 4px 12px;
    font-size: 11px;
    background: #1e3c72;
    color: white;
    border: 1px solid #1e3c72;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.edit-from-report-btn:hover {
    background: #2a5298;
    border-color: #2a5298;
    box-shadow: 0 2px 8px rgba(30, 60, 114, 0.2);
}

.edit-from-report-btn i {
    font-size: 10px;
}

/* Report Summary Section */
.report-summary {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #0284c7;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 32px;
}

.report-summary h3 {
    color: #0369a1;
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.report-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.report-summary-item {
    background: white;
    padding: 12px 16px;
    border-radius: 4px;
    border: 1px solid #bae6fd;
}

.report-summary-label {
    font-size: 11px;
    color: #0369a1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.report-summary-value {
    font-size: 20px;
    font-weight: 600;
    color: #075985;
}

/* Print Styles for Report */
@media print {
    .report-header,
    .nav-header,
    .navigation-bar,
    .controls {
        display: none !important;
    }
    
    .report-container {
        padding: 0;
    }
    
    .report-item {
        page-break-inside: avoid;
        border: 1px solid #000;
        margin-bottom: 12px;
    }
    
    .report-item-header {
        background: #f0f0f0 !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

/* Report Export Options */
.report-export-options {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
    z-index: 100;
}

.report-export-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
}

.report-export-btn:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.report-export-btn i {
    font-size: 14px;
}
