﻿:root {
    --primary-color: #0d7abf;
    --primary-dark: #0a6299;
    --secondary-color: #f48830;
    --secondary-dark: #d9741f;
    --light-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --success-dark: #0da271;
}
        
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}
        
body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}
        
nav.navbar.navbar-default {
    box-shadow: 0 4px 20px rgba(13, 122, 191, 0.1) !important;
    background: #fff !important;
    padding: 5px 0;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 5px;
    background: #f8fafc;
    border-radius: 12px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav.navbar-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    color: #475569 !important;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav.navbar-nav a.active {
    background: #0d7abf;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(13, 122, 191, 0.2);
}

.nav.navbar-nav a:hover {
    background: #fff !important;
    color: #0d7abf !important;
    box-shadow: 0 4px 12px rgba(13, 122, 191, 0.1) !important;
}

.dropdown-menu {
    background: #ffffff52 !important;
    backdrop-filter: blur(5px);
    min-width: 200px !important;
}

 #page-sidebar {
    height: 100%;
    position: relative;
}

 .header {
    position: absolute;
    top: 25%;
    left: 0;
    padding: 0;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    padding-bottom: 0;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
}
        
.card-title i {
    color: var(--secondary-color);
}
        
/* Profile Header Section */
.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
        
.profile-image-container {
    position: relative;
    flex-shrink: 0;
}
        
.profile-image {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    font-weight: bold;
}
        
.upload-overlay {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(244, 136, 48, 0.3);
}
        
.upload-overlay:hover {
    background: var(--secondary-dark);
    transform: scale(1.1);
}
        
.profile-info {
    flex: 1;
}
        
.profile-name {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}
        
.profile-role {
    font-size: 14px;
    color: white;
    background: #0d7abf;
    padding: 5px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 5px;
}
        
.profile-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 5px;
}
        
.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    font-size: 14px;
}
        
.contact-item i {
    color: var(--primary-color);
}
        
.profile-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.surveyor-status-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;

    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.surveyor-status-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d7abf 0%, #f48830 100%);
}

.status-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.status-header-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #0d7abf 0%, #0a6299 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    color: white;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(13, 122, 191, 0.15);
}

.status-title {
    flex: 1;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.5px;
}

.status-badge {
    /*background: linear-gradient(135deg, #10b981 0%, #0da271 100%);*/
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.beautiful-radio-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.beautiful-radio-list li {
    margin: 0;
    position: relative;
}

.beautiful-radio-list input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.beautiful-radio-list label {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 5px 10px;
    border: 2px solid #e2e8f0;
    cursor: not-allowed;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.beautiful-radio-list input[type="radio"]:checked + label {
    border-color: #0d7abf;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f7fc 100%);
    box-shadow: 0 8px 25px rgba(13, 122, 191, 0.1);
}

.beautiful-radio-list input[type="radio"]:checked + label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #0d7abf 0%, #0a6299 100%);
}

/* Status Indicator */
.beautiful-radio-list label::after {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
    position: absolute;
    top: 30%;
    right: 0;
    z-index: 2;
}

/* Color coding for each status */
.beautiful-radio-list li:nth-child(1) label::after {
    background: #10b981;
}

.beautiful-radio-list li:nth-child(2) label::after {
    background: #f59e0b;
}

.beautiful-radio-list li:nth-child(3) label::after {
    background: #ef4444;
}

.beautiful-radio-list li:nth-child(4) label::after {
    background: #64748b;
}

/* Add pulse animation for active status */
.beautiful-radio-list li:nth-child(1) input[type="radio"]:checked + label::after {
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Status text styling */
.beautiful-radio-list .status-text-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.beautiful-radio-list .status-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.beautiful-radio-list .status-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

/* Icons */
.beautiful-radio-list label i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    margin-left: 12px;
    color: #94a3b8;
    background: #f1f5f9;
}

.beautiful-radio-list input[type="radio"]:checked + label i {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

/* Responsive for ASP.NET version */
@media (max-width: 768px) {
    .beautiful-radio-list {
        grid-template-columns: 1fr;
    }
}
        
/* Surveyor Details Grid */
.surveyor-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    /*margin-bottom: 30px;*/
}

.claimDetails  .surveyor-details {
    /*display: block;
    grid-template-columns: auto;*/
    gap: 0;

    grid-template-columns: 1fr;
    display: grid;
}
        
.detail-item {
    /*margin-bottom: 20px;*/
}
        
.detail-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
        
.detail-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 5px 10px;
    background: var(--light-bg);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}
        
.detail-value.empty {
    color: #94a3b8;
    font-style: italic;
}
        
/* Performance & Claims Card */
.performance-card {
    border-top: 4px solid #0d7abf;
}

.claimdetailsTab, 
.policyDocuments,
.docsSubmit,
.surveyorList {
    border-top: 4px solid #f48830;
}
        
/* Filters Section */
.filters-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
        
.filter-group {
    flex: 1;
    min-width: 150px;
}
        
.filter-label {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
        
.filter-label i {
    color: var(--primary-color);
}
        
.filter-select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}
        
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 122, 191, 0.1);
}
        
.filter-actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-left: auto;
}
        
.filter-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}
        
.btn-primary {
    background: var(--primary-color);
    color: white;
}
        
.btn-primary:hover {
    background: var(--primary-dark);
}
        
.btn-secondary {
    background: var(--light-bg);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}
        
.btn-secondary:hover {
    background: #e2e8f0;
}
        
/* Performance Stats with View Summary Badges */
.performance-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}
        
.performance-stat {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
    border-top: 3px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    position: relative;
}
        
.performance-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.iconValue {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    justify-content: center;
    margin: 0 0 10px;
}
        
.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(13, 122, 191, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: var(--primary-color);
    font-size: 20px;
}
        
.stat-value span {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-highlight .stat-value span {
    color: #fff;
}
        
.stat-label {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 10px;
}
        
/* View Summary Badge Button */
.view-summary-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 20px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    margin-top: auto;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 3px 8px rgba(244, 136, 48, 0.2);
}
        
.view-summary-badge:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(244, 136, 48, 0.3);
}
        
.view-summary-badge i {
    font-size: 10px;
}

.view-summary-badge a {
    color: #fff;
}
        
/* Style for highlighted stat */
.stat-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-top: 3px solid var(--secondary-color);
}
        
.stat-highlight .stat-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}
        
.stat-highlight .stat-value {
    color: white;
}
        
.stat-highlight .stat-label {
    color: rgba(255, 255, 255, 0.9);
}
        
.stat-highlight .view-summary-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
        
.stat-highlight .view-summary-badge:hover {
    background: rgba(255, 255, 255, 0.3);
}
        
/* Claims Table */
.claims-table-section {
    /*margin-top: 30px;*/
}
        
.table-header {
    background: var(--light-bg);
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 12px 12px 0 0;
}
        
.table-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}
        
.export-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}
        
.export-btn:hover {
    background: var(--secondary-dark);
}
        
/* Status badges for table rows */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}
        
.status-completed {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}
        
.status-pending {
    background-color: rgba(244, 136, 48, 0.1);
    color: var(--secondary-color);
}
        
/* Responsive adjustments */
@media (max-width: 1200px) {
    .performance-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}
        
@media (max-width: 768px) {      
    .surveyor-details {
        grid-template-columns: 1fr;
    }
            
    .performance-stats {
        grid-template-columns: repeat(2, 1fr);
    }
            
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
            
    .profile-contact {
        justify-content: center;
    }
            
    .filters-section {
        flex-direction: column;
    }
            
    .filter-actions {
        align-self: flex-start;
    }
}
        
@media (max-width: 480px) {
    .performance-stats {
        grid-template-columns: 1fr;
    }
            
    .filter-btn {
        width: 100%;
        justify-content: center;
    }
}

.table-container {
    max-height: 30vh;
    overflow: auto;
}

.claimList {
    max-height: 65vh;
}

.premCaltable {
    height: 30vh;
    border: 1px solid #e2e8f0;
    background: #fff;
}

/* CRITICAL FIX */
.modern-table {
     border: 1px solid #e2e8f0;
     width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    min-width: 900px;
}

/* Sticky header */
.modern-table thead {
    position: sticky;
    top: 0;
    background: #428bca;
    z-index: 5;
    font-size: 14px;       /* safe to increase now */
    white-space: nowrap;  /* prevents wrapping overflow */
    box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 8px;
}

.modern-table thead th {
    padding: 10px;
     border: none;
     color: #fff;
     font-weight: 500;
}

/* Body cells */
.modern-table tbody td {
    padding: 5px 10px;
    white-space: normal;
    word-break: break-word;
    border: none;
}

.modern-table tbody tr {
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s;
}

.modern-table tbody tr:hover {
    background-color: #f8fafc;
    transition: background 0.2s;
}

.claimSurveyInfo .modern-table thead tr th:nth-child(1) { width: 40px; }
.claimSurveyInfo .modern-table thead tr th:nth-child(2) { width: 120px; }
.claimSurveyInfo .modern-table thead tr th:nth-child(3) { width: 160px; }
.claimSurveyInfo .modern-table thead tr th:nth-child(4) { width: 200px; }
.claimSurveyInfo .modern-table thead tr th:nth-child(5) { width: 180px; }
.claimSurveyInfo .modern-table thead tr th:nth-child(6) { width: 100px; }
.claimSurveyInfo .modern-table thead tr th:nth-child(7) { width: 150px; }
.claimSurveyInfo .modern-table thead tr th:nth-child(8) { width: 100px; }
.claimSurveyInfo .modern-table thead tr th:nth-child(9) { width: 130px; }
.claimSurveyInfo .modern-table thead tr th:nth-child(10) { width: 120px; }

.claimList .modern-table thead tr th:nth-child(1) { width: 40px; }
.claimList .modern-table thead tr th:nth-child(2) { width: 170px; }
.claimList .modern-table thead tr th:nth-child(3) { width: 160px; }
.claimList .modern-table thead tr th:nth-child(4) { width: 130px; }
.claimList .modern-table thead tr th:nth-child(5) { width: 150px; }

.policyDocuments .modern-table thead tr th:nth-child(1) { width: 40px; }
.policyDocuments .modern-table thead tr th:nth-child(2) { width: 120px; }
.policyDocuments .modern-table thead tr th:nth-child(3) { width: 160px; }
.policyDocuments .modern-table thead tr th:nth-child(4) { width: 150px; }
.policyDocuments .modern-table thead tr th:nth-child(5) { width: 150px; }
.policyDocuments .modern-table thead tr th:nth-child(6) { width: 150px; }
.policyDocuments .modern-table thead tr th:nth-child(7) { width: 150px; }

.docsSubmit .modern-table thead tr th:nth-child(1) { width: 40px; }
.docsSubmit .modern-table thead tr th:nth-child(2) { width: 200px; }
.docsSubmit .modern-table thead tr th:nth-child(3) { width: 160px; }
.docsSubmit .modern-table thead tr th:nth-child(4) { width: 150px; }
.docsSubmit .modern-table thead tr th:nth-child(5) { width: 200px; }

.surveyorList .modern-table thead tr th:nth-child(1) { width: 40px; }
.surveyorList .modern-table thead tr th:nth-child(2) { width: 120px; }
.surveyorList .modern-table thead tr th:nth-child(3) { width: 70px; }
.surveyorList .modern-table thead tr th:nth-child(4) { width: 200px; }
.surveyorList .modern-table thead tr th:nth-child(5) { width: 150px; }
.surveyorList .modern-table thead tr th:nth-child(6) { width: 150px; }
.surveyorList .modern-table thead tr th:nth-child(7) { width: 150px; }

#ContentPlaceHolder1_btnExport {
    background: none;
    border: none;
}

.claims-chart-section {
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f8fafc;
    margin: 20px 0 0;
}




/*second tab (claim details)*/
.main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 10px;
}
        
@media (max-width: 1400px) {
    .main-layout {
        grid-template-columns: 1fr;
        height: auto;
    }
}

.details-container {
    flex: 1;
}

.process-timeline {
    margin: 0 0 20px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 500;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 5px;
}

.timeline-title i {
    color: #0d7abf;
}

.timeline-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.timeline-step.completed {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.timeline-step.pending {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.05);
}

.timeline-step {
    flex: 1;
    min-width: 20%;
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
}

.step-status span:nth-child(1) {
    display: block;
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.step-icon.completed {
    background: #10b981;
    color: white;
}

.step-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.step-status {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step-status span:nth-child(2) {
    color: #000;
    font-size: 10px;
    font-style: italic;
}

.step-status.completed {
    color: #10b981;
}

.step-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.step-icon.pending {
    background: #f59e0b;
    color: white;
}

.surveyor-card {
    background: #f1f5f9;
    border-radius: 12px;
    padding: 15px;
    border: 2px solid #e2e8f0;
    margin: 0;
}

.surveyor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
}

.surveyor-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.surveyor-contact {
    font-size: 14px;
    color: #475569;
    grid-template-columns: 3fr 7fr;
    display: grid;
    align-items: baseline;
    gap: 10px;
}

.surveyor-contact .title {
    color: #000 !important;
    background: none !important;
    font-size: 14px;
    padding: 0;
    margin-bottom: 5px;
}

.surveyor-contact span {
    flex: 1;
}

.table-container .modern-table th {
    background: #f8fafc;
    padding: 10px 15px !important;
    text-align: left;
    font-weight: 700;
    color: #0d7abf;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    position: relative;
}

.divContainer {
    display: flex;
    gap: 20px;
    margin: 20px;
}

.contentCard {
    flex: 1;
    min-width: 0;
    background: #fff;
    border-radius: 12px;
    padding: 10px 20px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.firstTab {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    margin: 20px;
}

.form-group {
    margin-bottom: 10px;
}

.control-label {
    font-size: 13px!important;
}

.form-control {
    width: 100%;
    padding: 5px 10px !important;
    border: 1px solid #e2e8f0;
    border-radius: 8px !important;
    background: white;
    color: #1e293b !important;
    font-size: 14px !important;
    font-weight: 500;
    transition: all 0.3s;
    height: auto !important;
}
        
.form-control:focus {
    outline: none;
    border-color: #0d7abf;
    box-shadow: 0 0 0 3px rgba(13, 122, 191, 0.1);
}

.btn-xs {
    background: #0d7abf;
    color: white;
    padding: 5px 10px;
    font-size: 14px;
}

.modal-header {
    padding: 10px 15px;
}

.p-l-0 {
    padding-left: 0;
}

.p-r-0 {
    padding-right: 0;
}

.p-0 {
    padding: 0;
}

.m-0 {
    margin: 0;
}

.btnSavePreview {
    background: #f48830;
    border: 1px solid #f48830;
}

.btnSavePreview:hover {
    background: #d9741f;
    border: 1px solid #f48830;
}

.r-l-0 {
    border-radius: 0 8px 8px 0 !important;
}

.cardDesign {
    padding: 10px;
    border-radius: 12px;
    margin: 0 0 10px;
    background: linear-gradient(135deg, #0d7abf0d 0%, #f488301c 100%);
    border: 2px solid #e2e8f0;
}



/* Default (for large/full HD displays: 1920×1080) */
@media (min-width: 1800px) {

}

/* 1680×1050 */
@media (max-width: 1680px) and (min-width: 1601px) {

}

/* 1600×900 */
@media (max-width: 1600px) and (min-width: 1441px) {

}

/* 1440×900 */
@media (max-width: 1440px) and (min-width: 1401px) {

}

/* 1400×1050 */
@media (max-width: 1400px) and (min-width: 1367px) {

}

/* 1366×768 and 1360×768 (common laptops) */
@media (max-width: 1366px) {
    .navbar-nav>li>a {
        padding: 10px 10px !important;
        font-size: 14px !important;
    }

    .firstTab {
        gap: 10px;
        margin: 10px;
    }

    .divContainer {
        gap: 10px;
        margin: 10px;
    }

    .contentCard {
        padding: 10px 15px 15px;
    }

    .card-title {
        font-size: 18px;
    }

    .avatar-upload .avatar-preview {
        width: 100px !important;
        height: 100px !important;
    }

    .avatar-upload .avatar-edit input + label {
        width: 25px;
        height: 25px;
    }

    .avatar-upload .avatar-edit input + label:after {
        top: 2px;
    }

    .profile-name {
        font-size: 15px;
        font-weight: 600;
    }

    .profile-role {
        font-size: 12px;
        line-height: 12px;
        padding: 5px 8px;
    }

    .avatar-upload .avatar-edit {
        right: 0;
        top: 0;
    }

    .avatar-upload .avatar-edit input + label {
        width: 30px;
        height: 30px;
    }

    .contact-item, 
    .profile-location {
        font-size: 12px;
    }

    .status-title {
        font-size: 16px;
    }

    .status-header-icon {
        width: 25px;
        height: 25px;
        font-size: 13px;
        line-height: 13px;
    }

    .status-badge {
        padding: 3px 5px;
        font-size: 11px;
        line-height: 11px;
    }

    .beautiful-radio-list label {
        font-size: 12px;
    }

    .surveyor-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .detail-label {
        margin-bottom: 3px;
    }

    .filters-section {
        gap: 10px;
        margin-bottom: 15px;
        padding: 10px;
    }

    .filter-group {
        flex: 1;
        min-width: 20%;
    }

    .filter-select {
        padding: 5px 10px;
    }

    .filter-actions {
        margin: 0;
    }

    .filter-btn {
        padding: 5px 10px;
    }

    .performance-stat {
        padding: 10px;
    }

    .performance-stats {
        grid-template-columns: repeat(5, 1fr);
        gap: 10px;
        margin-bottom: 15px;
    }

    .stat-icon {
        width: 30px;
        height: 30px;
        font-size: 15px;
        margin: 0;
    }

    .stat-value span {
        font-size: 20px;
        font-weight: 600;
    }

    .stat-label {
        margin-bottom: 5px;
        font-size: 12px;
    }

    .view-summary-badge {
        padding: 2px 10px;
    }

    .table-header {
        padding: 10px;
    }

    .export-btn {
        padding: 2px 10px;
    }

    .table-title {
        font-size: 18px;
    }

    .claimSurveyInfo {
        max-height: 50vh;
    }

    .claimList {
        max-height: 80vh;
    }

    .timeline-title {
        font-size: 16px;
    }

    .process-timeline {
        margin: 0 0 10px;
    }

    .timeline-steps {
        gap: 10px;
    }

    .timeline-step {
        min-width: 35%;
    }

    .step-header {
        margin-bottom: 5px;
    }

    .step-icon {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .surveyor-title {
        font-size: 16px;
        font-weight: 600;
    }

    .surveyor-contact .title {
        margin-bottom: 0;
    }
}

/* Tablets and below */
@media (max-width: 1024px) {
    .divContainer {
        display: flex;
        flex-direction: column;
    }

    .firstTab  {
        grid-template-columns: 1fr;
    }

    .performance-stats {
        grid-template-columns: 1fr 1fr;
    }

    .surveyor-details {
        grid-template-columns: 1fr 1fr;
    }

    .profile-header {
        flex-direction: row;
    }

    .modal-dialog {
        width: 95% !important;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .navbar-nav {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    #dvTabNew .nav li a {
        padding: 5px 10px;
    }

    .firstTab {
        margin: 10px;
    }

    .firstTab, 
    .performance-stats {
        grid-template-columns: 1fr;
    }

    .performance-stats {
        grid-template-columns: 1fr 1fr;
    }

    .profile-header {
        flex-direction: column !important;
        text-align: left;
        gap: 20px;
    }

    .profile-contact {
        justify-content: left;
    }

    .timeline-steps {
        flex-direction: column;
    }

    .surveyor-details {
        grid-template-columns: 1fr;
    }

    .status-title {
        font-size: 14px;
    }

    .card-title {
        font-size: 16px;
    }

    .surveyor-contact {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .claimList {
        max-height: 30vh;
    }

    .claims-chart-section {
        padding: 0px;
    }
}











