﻿:root { 
    /* Classic Navy Blue Corporate Theme Palette */
    --navy: #1B365D;           /* Primary Theme Color (Replaces --teal) */
    --navy-dark: #112240;      /* Dark Accents & Labels (Replaces --teal-dark) */
    --navy-light: #F0F4F8;     /* Subtle Backgrounds & Grid Headers */
    
    /* Dynamic Dashboard Metric Alert Component States */
    --blue-card: #D6E9F8; 
    --blue-card-text: #1A4F75; 
    --beige-card: #F0E4CC; 
    --beige-card-text: #7A5B1E; 
    --green-card: #DCEFD9; 
    --green-card-text: #2E6B30; 
    --red: #C0392B; 
    
    /* Layout Framework Variables */
    --border: #D1D5DB; 
    --bg: #F4F6F8; 
    --text: #2C3E50; 
}

.arw-wrap { max-width: 1180px; margin: 0 auto; padding: 10px 0; }
.arw-pagehead { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.arw-pagehead h1 { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 600; color: var(--navy-dark); margin: 0; }
.arw-pagehead .arw-sub { font-size: 13px; color: #7a8a8c; margin-top: 2px; }
.arw-crumb { font-size: 13px; color: #7a8a8c; }
.arw-crumb i { font-size: 11px; margin: 0 4px; }

/* Navigation Tab Components */
.arw-tabs-nav { display: flex; gap: 6px; border-bottom: 2px solid var(--navy); margin-bottom: 22px; }
.arw-tab-btn { padding: 11px 22px; background: #E8ECEB; color: var(--navy-dark); border-radius: 8px 8px 0 0; font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-bottom: none; transition: all 0.2s ease; cursor: pointer; }
.arw-tab-btn:hover { background: #DBE3E2; color: var(--navy-dark); }
.arw-tab-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Structural Form Panels */
.arw-card { background: #fff; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 20px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.arw-card-head { background: var(--navy); color: #fff; padding: 13px 20px; font-family: 'Poppins', sans-serif; font-size: 15.5px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.arw-card-body { padding: 22px 20px; }
.arw-row { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 16px; }
.arw-field { flex: 1 1 260px; display: flex; flex-direction: column; position: relative; }
.arw-field.full { flex: 1 1 100%; }
.arw-field label { font-size: 13.5px; font-weight: 600; color: var(--navy-dark); margin-bottom: 6px; }
.arw-field label .req { color: var(--red); margin-left: 3px; }

/* Interactive Input Elements */
.arw-input-icon-wrap { position: relative; display: flex; align-items: center; }
.arw-input-icon-wrap i.input-icon { position: absolute; left: 12px; color: #8fa3a6; font-size: 14px; pointer-events: none; z-index: 10; }
.arw-field select, .arw-field input[type=text], .arw-field input[type=date], .arw-field input[type=number], .arw-field textarea { width: 100%; border: 1px solid #cfd8d8; border-radius: 6px; padding: 9px 11px; font-size: 14px; font-family: 'Nunito', sans-serif; color: var(--text); background: #fbfcfc; transition: all 0.2s ease; }
.arw-input-icon-wrap select, .arw-input-icon-wrap input { padding-left: 38px !important; }
.arw-field textarea { resize: vertical; min-height: 70px; }
.arw-field input:focus, .arw-field select:focus, .arw-field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.1); }

/* File Layout & Action Components */
.arw-file-custom { border: 1px dashed #cfd8d8; background: #fdfefe; border-radius: 6px; padding: 8px 12px; cursor: pointer; font-size: 13.5px; display: flex; align-items: center; gap: 8px; color: #5a6a6a; width: 100%; }
.arw-radio-group { display: flex; gap: 18px; align-items: center; margin-top: 4px; }
.arw-radio-group label { font-size: 14px; font-weight: 500; color: var(--text); display: flex; align-items: center; gap: 6px; margin-bottom: 0; cursor: pointer; }
.arw-card-head.workers { justify-content: space-between; }
.arw-add-btn { background: #fff; color: var(--navy); border: none; border-radius: 6px; padding: 7px 14px; font-size: 13px; font-weight: 600; font-family: 'Poppins', sans-serif; cursor: pointer; display: flex; align-items: center; gap: 6px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }

/* Unified Grid Architecture Layouts */
.arw-table-scroll { overflow-x: auto; }
table.arw-worker-table, table.arw-master-table { width: 100%; border-collapse: collapse; min-width: 1150px; }
/*table.arw-worker-table th, table.arw-master-table th { background: var(--navy-light); color: var(--navy-dark); font-size: 12.5px; font-weight: 700; text-align: left; padding: 12px 10px; border-bottom: 2px solid var(--navy); white-space: nowrap; }
table.arw-worker-table td, table.arw-master-table td { padding: 10px 10px; border-bottom: 1px solid #ECECEC; vertical-align: middle; }*/
/* ग्रिड के हेडर (TH) के लिए छोटा फ़ॉन्ट और कॉम्पैक्ट पैडिंग */
table.arw-worker-table th, table.arw-master-table th {  background: var(--navy-light); 
    color: var(--navy-dark); 
    font-size: 11.5px;         /* 12.5px से घटाकर 11.5px किया */
    font-weight: 700; 
    text-align: left; 
    padding: 8px 6px;          /* पैडिंग कम की ताकि रो की हाइट कम हो */
    border-bottom: 2px solid var(--navy); 
    white-space: nowrap; 
    line-height: 1.3;          /* ब्रेक लाइनों के बीच की दूरी कम करने के लिए */
}

/* ग्रिड के डेटा सेल्स (TD) के लिए छोटा फ़ॉन्ट */
table.arw-worker-table td, table.arw-master-table td { 
    padding: 8px 6px;          /* पैडिंग कम की */
    border-bottom: 1px solid #ECECEC; 
    vertical-align: middle; 
    font-size: 12.5px;         /* डेटा का फ़ॉन्ट साइज छोटा किया */
    color: var(--text);
}

/* ग्रिड के अंदर एडिट बटन का साइज भी थोड़ा छोटा करें */
.arw-edit-btn { 
    background: #E8F4F8; 
    color: #1A4F75; 
    border: none; 
    padding: 4px 8px;          /* बटन की पैडिंग कम की */
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 11px;           /* बटन का फ़ॉन्ट 11px किया */
    font-weight: 600; 
    display: inline-flex; 
    align-items: center; 
    gap: 4px; 
    white-space: nowrap;
}
.arw-srno { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.arw-del-btn { background: #FCEAE8; color: var(--red); border: none; width: 30px; height: 30px; border-radius: 6px; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.arw-edit-btn { background: #E8F4F8; color: #1A4F75; border: none; padding: 6px 12px; border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* Dashboard System Level Metric Counters Summary Blocks */
.arw-summary-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.arw-summary-card { flex: 1 1 180px; border-radius: 10px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 2px 5px rgba(0,0,0,0.03); }
.arw-summary-card.blue { background: var(--blue-card); color: var(--blue-card-text); }
.arw-summary-card.beige { background: var(--beige-card); color: var(--beige-card-text); }
.arw-summary-card.green { background: var(--green-card); color: var(--green-card-text); }
.arw-summary-card .num { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 700; }
.arw-summary-card .lbl { font-size: 13px; font-weight: 600; }
.arw-summary-card i { font-size: 26px; opacity: 0.6; }

/* Action Footer Container Layout */
.arw-footer-actions { display: flex; justify-content: flex-end; gap: 12px; padding: 18px 4px 30px; }
.arw-btn { font-family: 'Poppins', sans-serif; font-size: 14px; font-weight: 600; padding: 11px 26px; border-radius: 7px; border: none; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.arw-btn-save { background: var(--navy); color: #fff; }
.arw-btn-cancel { background: #fff; color: #5a6a6a; border: 1px solid #cfd8d8; }
.arw-field.disabled-field { opacity: 0.4; pointer-events: none; }
.validation-msg { color: var(--red); font-size: 11px; margin-top: 4px; display: block; }

/* Dropdown Plugin Custom Interceptors */
.select2-container--default .select2-selection--single { border: 1px solid #cfd8d8 !important; border-radius: 6px !important; height: 38px !important; padding-left: 28px !important; background: #fbfcfc !important; }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 36px !important; font-size: 14px !important; color: var(--text) !important; font-family: 'Nunito', sans-serif; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 36px !important; }
.arw-file-link { display: inline-block; margin-top: 6px; color: #2980B9; font-weight: 600; font-size: 12.5px; text-decoration: none; }
.arw-file-link:hover { text-decoration: underline; color: var(--navy-dark); }

/* Historical Grid Design Badges Timeline Widgets */
.history-badge { padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; display: inline-block; }
.status-inprogress { background-color: #EBF5FB; color: #2980B9; }
.status-pendingcourt { background-color: #FEF9E7; color: #B7950B; }
.status-closed { background-color: #EAF2F8; color: #27AE60; }
.history-timestamp { color: #8899A6; font-size: 11.5px; font-weight: 600; }