/* =========================
   ROOT COLORS
========================= */

:root {
    --primary: #22C55E;
    --primary-dark: #15803D;
    --light-green: #DCFCE7;
    --bg: #F8FAFC;
    --card: #FFFFFF;
    --border: #E5E7EB;
    --text-dark: #0F172A;
    --text-light: #64748B;
}

/* =========================
   GLOBAL
========================= */

body {
    margin: 0;
    background: var(--bg);
    font-family: 'Inter', sans-serif;
}

/* =========================
   MAIN LAYOUT
========================= */

* {
    box-sizing: border-box;
}

/* =========================
   SIDEBAR
========================= */

.sidebar {
    width: 260px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: #ffffff;
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding: 25px;
    z-index: 1000;
}

/* =========================
   MAIN AREA
========================= */

.main-area {
    margin-left: 260px;
    width: calc(100% - 260px);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================
   PAGE CONTENT
========================= */

.page-content {
    padding: 30px;
    flex: 1;
}

/* =========================
   CARD
========================= */

.card-custom {
    background: var(--card);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
}

/* =========================
   TOPBAR
========================= */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}

.topbar-left h3 {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}

.breadcrumb-text {
    font-size: 14px;
    color: var(--text-light);
}

/* =========================
   BUTTON
========================= */

.btn-primary {
    background: var(--primary);
    padding: 10px 18px;
    color: #ffffff;
    border-radius: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* =========================
   SIDEBAR MENU
========================= */

.logo h4 {
    margin: 0;
    font-weight: 700;
}

.logo small {
    color: var(--text-light);
    font-size: 13px;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin-top: 35px;
}

.menu-list li {
    margin-bottom: 8px;
}

.menu-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: 0.3s;
}

.menu-list a:hover,
.menu-list a.active {
    background: var(--light-green);
    color: var(--primary-dark);
}

.logout-btn {
    width: 100%;
    background: #EF4444;
    color: #ffffff;
    padding: 10px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

    .sidebar {
        position: relative;
        width: 100%;
        height: auto;
    }

    .main-area {
        margin-left: 0;
        width: 100%;
    }

}
/* ===============================
   GOVERNMENT DASHBOARD STYLE
=================================*/

.gov-page-header {
    margin-bottom: 25px;
}

.gov-page-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1B5E20;
}

.gov-page-header p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6B7280;
}

/* Stats Grid */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

/* Chart Grid */

.chart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

/* Government Card */

.gov-card {
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

/* Stat Card */

.stat-card small {
    font-size: 13px;
    color: #6B7280;
}

.stat-card h2 {
    margin-top: 8px;
    font-size: 22px;
    font-weight: 600;
    color: #1F2937;
}

/* Highlight Budget Card */

.stat-card.highlight {
    background: #E8F5E9;
    border: 1px solid #C8E6C9;
}

/* Chart Title */

.chart-title {
    font-size: 14px;
    margin-bottom: 10px;
    color: #1F2937;
}

/* Responsive */

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .chart-grid {
        grid-template-columns: 1fr;
    }
}
/* ===============================
   CSR APPROVAL SECTION
=================================*/

.approval-section {
    margin-top: 30px;
}

.section-title {
    font-size: 14px;
    margin-bottom: 15px;
    color: #1F2937;
}

.approval-grid {
    display: flex;
    gap: 15px;
}

.approval {
    flex: 1;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.approval span {
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
}

.approval strong {
    font-size: 18px;
}

/* Colors */

.approved {
    background: #E8F5E9;
    color: #1B5E20;
}

.review {
    background: #FFF8E1;
    color: #EF6C00;
}

.rejected {
    background: #FFEBEE;
    color: #C62828;
}
/* ===============================
   PROGRESS BAR
=================================*/

.progress-item {
    margin-bottom: 15px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 5px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #E0E0E0;
    border-radius: 10px;
}

.progress-fill {
    height: 6px;
    background: #1B5E20;
    border-radius: 10px;
}
/* ================= GOVERNMENT DASHBOARD ================= */

.gov-page-header {
    margin-bottom: 25px;
}

.gov-page-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #1B5E20;
}

.gov-page-header p {
    margin: 4px 0 0;
    font-size: 13px;
    color: #6B7280;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.chart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.gov-card {
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 18px;
}

.stat-card small {
    font-size: 13px;
    color: #6B7280;
}

.stat-card h2 {
    margin-top: 8px;
    font-size: 22px;
}

.highlight {
    background: #E8F5E9;
}

.section-title {
    font-size: 14px;
    margin-bottom: 15px;
}

.approval-grid {
    display: flex;
    gap: 15px;
}

.approval {
    flex: 1;
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.approved {
    background: #E8F5E9;
    color: #1B5E20;
}

.review {
    background: #FFF8E1;
    color: #EF6C00;
}

.rejected {
    background: #FFEBEE;
    color: #C62828;
}

.mt-20 {
    margin-top: 20px;
}

@media(max-width: 992px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .chart-grid {
        grid-template-columns: 1fr;
    }
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
/* ===============================
   GOVERNMENT LOGIN PAGE
=================================*/

.gov-login-wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F4F6F9;
}

.gov-login-card {
    width: 400px;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.gov-login-header {
    text-align: center;
    margin-bottom: 20px;
}

.gov-login-header h2 {
    margin: 0;
    font-size: 18px;
    color: #1B5E20;
    font-weight: 600;
}

.gov-login-header p {
    font-size: 13px;
    color: #6B7280;
}

.gov-form-group {
    margin-bottom: 15px;
}

.gov-form-group label {
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
}

.gov-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    font-size: 14px;
}

.gov-input:focus {
    outline: none;
    border-color: #1B5E20;
}

.gov-login-btn {
    width: 100%;
    padding: 8px;
    background: #1B5E20;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
}

.gov-login-btn:hover {
    background: #2E7D32;
}

.gov-remember {
    font-size: 13px;
}

.gov-login-footer {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
}

.gov-login-footer a {
    color: #1B5E20;
    text-decoration: none;
}

.error-text {
    color: #C62828;
    font-size: 12px;
}

.gov-alert {
    background: #E8F5E9;
    color: #1B5E20;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 13px;
}
/* Government Login Styling */

.gov-login-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.gov-label {
    font-size: 13px;
    color: #1B5E20;
}

.gov-input {
    border: 1px solid #D1D5DB !important;
    border-radius: 4px !important;
    padding: 8px !important;
}

.gov-input:focus {
    border-color: #1B5E20 !important;
    box-shadow: 0 0 0 1px #1B5E20 !important;
}

.gov-btn {
    background: #1B5E20 !important;
}

.gov-btn:hover {
    background: #2E7D32 !important;
}

.gov-link {
    color: #1B5E20;
    font-size: 13px;
}

.gov-error {
    color: #C62828;
    font-size: 12px;
}

.gov-checkbox {
    accent-color: #1B5E20;
}
/* ===============================
   GOVERNMENT LOGIN PORTAL
=================================*/

.gov-login-wrapper {
    min-height: 100vh;
    background: #F4F6F9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gov-login-header {
    text-align: center;
    margin-bottom: 20px;
}

.gov-login-header h2 {
    font-size: 20px;
    color: #1B5E20;
    font-weight: 600;
    margin: 0;
}

.gov-login-header p {
    font-size: 13px;
    color: #6B7280;
    margin-top: 4px;
}

.gov-login-box {
    width: 380px;
    background: #ffffff;
    padding: 25px;
    border-radius: 6px;
    border: 1px solid #E0E0E0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.gov-form-group {
    margin-bottom: 15px;
}

.gov-label {
    font-size: 13px;
    color: #1B5E20;
}

.gov-input {
    border: 1px solid #D1D5DB !important;
    border-radius: 4px !important;
    padding: 8px !important;
    font-size: 14px !important;
}

.gov-input:focus {
    border-color: #1B5E20 !important;
    box-shadow: 0 0 0 1px #1B5E20 !important;
}

.gov-login-btn {
    width: 100%;
    padding: 8px;
    background: #1B5E20;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 10px;
    cursor: pointer;
}

.gov-login-btn:hover {
    background: #2E7D32;
}

.gov-remember {
    font-size: 13px;
    margin-bottom: 10px;
}

.gov-checkbox {
    accent-color: #1B5E20;
}

.gov-forgot {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
}

.gov-forgot a {
    color: #1B5E20;
    text-decoration: none;
}

.gov-error {
    color: #C62828;
    font-size: 12px;
}

.gov-footer {
    margin-top: 20px;
    font-size: 12px;
    color: #9CA3AF;
}

.gov-status {
    background: #E8F5E9;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
}
/* ===============================
   GOVERNMENT PORTAL LOGIN
=================================*/

.gov-body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #F4F6F9;
    position: relative;
}

/* 🇮🇳 TRICOLOR STRIP */
.gov-top-strip {
    height: 6px;
    background: linear-gradient(
        to right,
        #FF9933 33%,
        #FFFFFF 33%,
        #FFFFFF 66%,
        #138808 66%
    );
}

/* HEADER */
.gov-header {
    text-align: center;
    margin-top: 40px;
}

.gov-header h1 {
    margin: 0;
    font-size: 22px;
    color: #1B5E20;
    font-weight: 600;
}

.gov-header p {
    font-size: 14px;
    color: #555;
}

/* CONTAINER */
.gov-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* LOGIN CARD */
.gov-login-card {
    width: 400px;
    background: #ffffff;
    padding: 25px;
    margin-top: 25px;
    border-radius: 6px;
    border: 1px solid #ddd;
    box-shadow: 0 5px 12px rgba(0,0,0,0.05);
}

/* FORM */
.gov-form-group {
    margin-bottom: 15px;
}

.gov-form-group label {
    font-size: 13px;
    color: #1B5E20;
}

.gov-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.gov-input:focus {
    outline: none;
    border-color: #1B5E20;
}

.gov-btn {
    width: 100%;
    padding: 8px;
    background: #1B5E20;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.gov-btn:hover {
    background: #2E7D32;
}

.gov-remember {
    font-size: 13px;
    margin-bottom: 10px;
}

.gov-forgot {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
}

.gov-forgot a {
    color: #1B5E20;
    text-decoration: none;
}

.gov-error {
    color: #C62828;
    font-size: 12px;
}

.gov-alert {
    background: #E8F5E9;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    font-size: 13px;
}

/* SECURITY NOTICE */
.gov-security {
    margin-top: 15px;
    font-size: 12px;
    color: #B71C1C;
    text-align: center;
}

/* FOOTER */
.gov-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 12px;
    color: #777;
}
/* ===============================
   GOVERNMENT DASHBOARD HEADER
=================================*/

.gov-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E7EB;
}

.gov-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.gov-emblem img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.gov-title-area h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1B5E20;
}

.gov-title-area p {
    margin: 2px 0 0;
    font-size: 13px;
    color: #6B7280;
}
/* Header Action Buttons */
.gov-header-actions {
    display: flex;
    gap: 10px;
}

.btn-secondary {
    background: #374151;
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #1F2937;
}

/* Floating Chat */
.chat-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #1B5E20;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.chat-float:hover {
    background: #2E7D32;
}
/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-bar .gov-input {
    padding: 6px 10px;
    border: 1px solid #D1D5DB;
    border-radius: 4px;
}

/* Table */
.custom-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-table th {
    background: #F3F4F6;
    text-align: left;
    padding: 10px;
    font-size: 13px;
}

.custom-table td {
    padding: 10px;
    border-bottom: 1px solid #E5E7EB;
}

/* Status Colors */
.status-badge.planning {
    background: #FEF3C7;
    color: #92400E;
    padding: 3px 8px;
    border-radius: 4px;
}

.status-badge.ongoing {
    background: #DBEAFE;
    color: #1E40AF;
    padding: 3px 8px;
    border-radius: 4px;
}

.status-badge.completed {
    background: #DCFCE7;
    color: #166534;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 6px;
}

.btn-view {
    background: #2563EB;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
}

.btn-edit {
    background: #16A34A;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
}

.btn-delete {
    background: #DC2626;
    color: #fff;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 0;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 20px;
}
/* Ministry Strip */
.gov-ministry-strip {
    background: #1B5E20;
    color: #fff;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Main Card */
.gov-card-main {
    background: #fff;
    padding: 25px;
    border-radius: 6px;
    margin-top: 15px;
    border: 1px solid #E5E7EB;
}

/* Section */
.gov-section {
    margin-top: 25px;
}

.gov-section h4 {
    font-size: 14px;
    margin-bottom: 15px;
    color: #1B5E20;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 5px;
}

/* Grid */
.gov-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gov-field {
    display: flex;
    flex-direction: column;
}

.gov-field.full {
    grid-column: span 2;
}

.gov-field label {
    font-size: 12px;
    margin-bottom: 4px;
}

.gov-field input,
.gov-field select,
.gov-field textarea {
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    padding: 6px 8px;
    font-size: 13px;
}

.gov-field input:focus,
.gov-field select:focus,
.gov-field textarea:focus {
    border-color: #1B5E20;
    outline: none;
}

/* Footer Buttons */
.gov-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-light {
    background: #E5E7EB;
    padding: 6px 14px;
    border-radius: 4px;
    border: none;
}

.btn-primary {
    background: #1B5E20;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    border: none;
}
.gov-landscape-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
margin-top:20px;
}

.gov-column{
background:#fafafa;
padding:20px;
border:1px solid #ddd;
border-radius:6px;
}

.section-title{
font-size:15px;
font-weight:600;
border-bottom:2px solid #0b3d91;
padding-bottom:5px;
margin-bottom:15px;
}

.gov-row{
display:flex;
justify-content:space-between;
padding:8px 0;
border-bottom:1px dashed #ddd;
}

.gov-label{
font-weight:600;
color:#555;
}

.project-image{
width:100%;
border-radius:6px;
margin-top:10px;
}
.logo{
display:flex;
align-items:center;
gap:10px;
padding:15px;
border-bottom:1px solid #eee;
}

.logo-emblem img{
width:40px;
height:40px;
}

.logo-text h4{
margin:0;
font-size:16px;
font-weight:600;
}

.logo-text small{
font-size:11px;
color:#666;
}

.sidebar{
width:240px;
background:#0b3d91;
color:#fff;
height:100vh;
}

.menu-list{
list-style:none;
padding:0;
margin:0;
}

.menu-list li a{
display:flex;
align-items:center;
gap:10px;
padding:12px 15px;
color:#fff;
text-decoration:none;
}

.menu-list li a:hover,
.menu-list li a.active{
background:#082c6b;
}

.logout-btn{
width:100%;
background:#d9534f;
border:none;
padding:10px;
color:#fff;
cursor:pointer;
}
.gov-profile-card{
background:#fff;
border:1px solid #dcdcdc;
padding:30px;
border-radius:6px;
max-width:700px;
}

.gov-profile-header{
border-bottom:2px solid #0b3d91;
padding-bottom:10px;
margin-bottom:20px;
}

.gov-title{
font-size:20px;
font-weight:600;
color:#0b3d91;
}

.gov-subtitle{
font-size:13px;
color:#666;
}

.gov-field{
margin-bottom:20px;
}

.gov-label{
font-weight:600;
color:#333;
}

.gov-input{
border:1px solid #ccc;
border-radius:4px;
padding:8px;
}

.gov-input:focus{
border-color:#0b3d91;
outline:none;
}

.gov-error{
color:#d9534f;
font-size:12px;
}

.gov-alert{
background:#fff3cd;
border:1px solid #ffeeba;
padding:10px;
margin-top:10px;
border-radius:4px;
}

.gov-link{
color:#0b3d91;
text-decoration:underline;
}

.gov-btn-primary{
background:#0b3d91;
padding:8px 16px;
border-radius:4px;
}

.gov-success{
color:#28a745;
margin-top:5px;
}

.gov-saved{
color:#28a745;
font-size:13px;
margin-left:10px;
}

.gov-action{
display:flex;
align-items:center;
gap:10px;
margin-top:20px;
}
.gov-profile-card{
background:#fff;
border:1px solid #dcdcdc;
padding:30px;
border-radius:6px;
max-width:700px;
}

.gov-profile-header{
border-bottom:2px solid #0b3d91;
padding-bottom:10px;
margin-bottom:20px;
}

.gov-title{
font-size:20px;
font-weight:600;
color:#0b3d91;
}

.gov-subtitle{
font-size:13px;
color:#666;
}

.gov-field{
margin-bottom:20px;
}

.gov-label{
font-weight:600;
color:#333;
}

.gov-input{
border:1px solid #ccc;
border-radius:4px;
padding:8px;
}

.gov-input:focus{
border-color:#0b3d91;
outline:none;
}

.gov-error{
color:#d9534f;
font-size:12px;
}

.gov-btn-primary{
background:#0b3d91;
color:#fff;
padding:8px 16px;
border-radius:4px;
}

.gov-action{
display:flex;
align-items:center;
gap:10px;
margin-top:20px;
}

.gov-saved{
color:#28a745;
font-size:13px;
}
.profile-container{
max-width:900px;
margin:auto;
display:flex;
flex-direction:column;
gap:30px;
}

.profile-form-box{
margin-top:20px;
}

.gov-card{
background:#fff;
border:1px solid #ddd;
border-radius:6px;
padding:25px;
}

.gov-section-title{
font-size:18px;
font-weight:600;
border-bottom:2px solid #0b3d91;
padding-bottom:6px;
color:#0b3d91;
}

.danger-card{
border-left:5px solid #d9534f;
}
.ledger-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:15px;
}

.ledger-summary{
font-weight:600;
color:#0b3d91;
}

.empty-state{
text-align:center;
padding:30px;
color:#777;
}

.gov-report-footer{
text-align:center;
margin-top:30px;
color:#666;
font-size:14px;
}

.gov-header-left{
display:flex;
align-items:center;
gap:15px;
}

.gov-emblem img{
height:55px;
}
.gov-wrapper{
max-width:1100px;
margin:auto;
}

.gov-ministry-strip{
background:#0b3d91;
color:white;
padding:10px 20px;
font-weight:600;
margin-bottom:15px;
}

.gov-card-main{
background:white;
padding:25px;
border-radius:6px;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.gov-form-header{
border-bottom:2px solid #eee;
margin-bottom:20px;
padding-bottom:10px;
}

.gov-form-header h3{
margin:0;
color:#0b3d91;
}

.gov-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
}

.gov-field label{
font-weight:600;
display:block;
margin-bottom:5px;
}

.gov-field span{
color:red;
}

.gov-input{
width:100%;
padding:8px 10px;
border:1px solid #ccc;
border-radius:4px;
}

.gov-footer{
margin-top:20px;
display:flex;
justify-content:flex-end;
gap:10px;
}

.btn-primary{
background:#0b3d91;
color:white;
padding:8px 18px;
border:none;
border-radius:4px;
}

.btn-light{
background:#eee;
padding:8px 18px;
border:none;
border-radius:4px;
}
.debit-color{
color:#e53935;
font-weight:600;
}

.credit-color{
color:#2e7d32;
font-weight:600;
}

.balance-color{
color:#0b3d91;
font-weight:700;
}
.gov-ledger-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.ledger-title h2{
margin:0;
color:#0b3d91;
}

.ledger-title p{
margin:0;
color:#555;
}

.debit-color{
color:#e53935;
font-weight:600;
}

.credit-color{
color:#2e7d32;
font-weight:600;
}

.balance-color{
color:#0b3d91;
font-weight:700;
}

.ledger-footer{
margin-top:20px;
text-align:right;
}

.btn-print{
background:#444;
color:white;
padding:8px 16px;
border:none;
border-radius:4px;
cursor:pointer;
}

.btn-print:hover{
background:#222;
}
.gov-ledger-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.ledger-title h2{
margin:0;
color:#0b3d91;
}

.ledger-title p{
margin:0;
color:#555;
}

.debit-color{
color:#e53935;
font-weight:600;
}

.credit-color{
color:#2e7d32;
font-weight:600;
}

.balance-color{
color:#0b3d91;
font-weight:700;
}

.ledger-footer{
margin-top:20px;
text-align:right;
}

.btn-print{
background:#333;
color:white;
padding:8px 16px;
border:none;
border-radius:4px;
cursor:pointer;
}
.debit{
color:#e53935;
font-weight:600;
}

.credit{
color:#2e7d32;
font-weight:600;
}

.balance{
color:#0b3d91;
font-weight:700;
}
.print-header{
display:none;
text-align:center;
margin-bottom:20px;
}

/* PRINT MODE */

@media print{

.sidebar{
display:none;
}

.btn-primary{
display:none;
}

.btn-secondary{
display:none;
}

.gov-page-header{
display:none;
}

.print-header{
display:block;
}

body{
background:white;
}

}
/* PRINT MODE */

@media print {

body * {
visibility: hidden;
}

.gov-card,
.gov-card * {
visibility: visible;
}

.gov-card {
position: absolute;
left: 0;
top: 0;
width: 100%;
}

.sidebar{
display:none !important;
}

.gov-page-header{
display:none !important;
}

.btn-primary{
display:none !important;
}

.btn-secondary{
display:none !important;
}

.print-header{
display:block !important;
text-align:center;
margin-bottom:20px;
}

}
.debit{
color:#e53935;
font-weight:600;
}

.credit{
color:#2e7d32;
font-weight:600;
}

.balance{
color:#0b3d91;
font-weight:700;
}

.print-header{
text-align:center;
margin-bottom:20px;
}

.ledger-signature{
display:flex;
justify-content:space-between;
margin-top:60px;
}

@media print{

.sidebar,
.gov-page-header,
.btn-primary,
.btn-secondary{
display:none !important;
}

.print-area{
width:100%;
}

}
.sidebar{
width:230px;
background:#0b3d91;
color:white;
min-height:100vh;
padding:20px;
}

.sidebar .logo{
margin-bottom:30px;
border-bottom:1px solid rgba(255,255,255,0.2);
padding-bottom:15px;
}

.sidebar .logo h3{
margin:0;
font-weight:700;
}

.sidebar .logo small{
color:#dcdcdc;
}

.menu-list{
list-style:none;
padding:0;
}

.menu-list li{
margin-bottom:10px;
}

.menu-list a{
display:block;
color:white;
padding:10px 12px;
border-radius:5px;
text-decoration:none;
}

.menu-list a:hover{
background:#f58220;
}

.menu-list a.active{
background:#f58220;
}

.logout button{
background:#e53935;
border:none;
color:white;
padding:8px 12px;
width:100%;
border-radius:5px;
cursor:pointer;
}
.receipt-box{

width:600px;
margin:auto;
padding:30px;
border:2px solid #0b3d91;
background:#fff;

}

.receipt-box h2{
text-align:center;
color:#0b3d91;
}

.receipt-box h3{
text-align:center;
margin-bottom:20px;
}

@media print{

.sidebar,
.gov-page-header,
.btn-primary{
display:none;
}

}
.gov-form-wrapper{

background:#ffffff;

padding:30px;

border-radius:6px;

border:1px solid #dcdcdc;

box-shadow:0 2px 6px rgba(0,0,0,0.08);

}

.gov-form-header{

border-bottom:2px solid #0b3d91;

margin-bottom:20px;

padding-bottom:10px;

}

.gov-form-header h3{

color:#0b3d91;

margin:0;

}

.gov-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:20px;

}

.gov-field label{

font-weight:600;

display:block;

margin-bottom:5px;

}

.gov-input{

width:100%;

padding:8px 10px;

border:1px solid #cfd8dc;

border-radius:4px;

}

.gov-input:focus{

border-color:#0b3d91;

outline:none;

}

.gov-form-footer{

margin-top:25px;

text-align:right;

}

.btn-primary{

background:#0b3d91;

color:white;

padding:8px 16px;

border:none;

border-radius:4px;

cursor:pointer;

}

.btn-secondary{

background:#f58220;

color:white;

padding:8px 16px;

border:none;

border-radius:4px;

cursor:pointer;

margin-left:10px;

}
.receipt-wrapper{
display:flex;
justify-content:center;
}

.receipt-card{
width:700px;
background:white;
padding:40px;
border:3px solid #d4af37;
border-radius:10px;
}

.trust-title{
text-align:center;
font-weight:700;
}

.receipt-heading{
background:#d4af37;
color:white;
padding:10px;
text-align:center;
margin:20px 0;
}

.amount-box{
background:#eaf2ff;
padding:20px;
font-size:28px;
font-weight:700;
text-align:center;
border-radius:8px;
margin:20px 0;
}

.sign{
text-align:right;
margin-top:40px;
}
/* ===== BODY ===== */

body{
margin:0;
font-family:'Segoe UI',sans-serif;
background:linear-gradient(135deg,#f5f7fa,#e4ecf7);
}

/* ===== TRICOLOR STRIP ===== */

.gov-top-strip{
height:6px;
background:linear-gradient(
to right,
#FF9933 33%,
#ffffff 33%,
#ffffff 66%,
#138808 66%
);
}

/* ===== CONTAINER ===== */

.gov-container{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
min-height:90vh;
animation:fadeIn 1s ease;
}

/* ===== HEADER ===== */

.gov-header{
text-align:center;
margin-bottom:30px;
}

.gov-header h1{
font-size:28px;
color:#0b3d91;
margin-bottom:5px;
}

.gov-header p{
color:#555;
font-size:14px;
}

/* ===== LOGIN CARD ===== */

.gov-login-card{
background:#fff;
width:380px;
padding:35px;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
animation:slideUp 0.6s ease;
}

/* ===== FORM ===== */

.gov-form-group{
margin-bottom:18px;
}

.gov-form-group label{
font-size:14px;
font-weight:600;
display:block;
margin-bottom:5px;
}

.gov-input{
width:100%;
padding:10px;
border:1px solid #d0d7e2;
border-radius:6px;
font-size:14px;
transition:all .3s;
}

.gov-input:focus{
border-color:#0b3d91;
outline:none;
box-shadow:0 0 5px rgba(11,61,145,0.2);
}

/* ===== BUTTON ===== */

.gov-btn{
width:100%;
padding:12px;
background:#0b3d91;
border:none;
color:#fff;
font-size:15px;
border-radius:6px;
cursor:pointer;
transition:all .3s;
}

.gov-btn:hover{
background:#062b68;
transform:translateY(-2px);
}

/* ===== REMEMBER ===== */

.gov-remember{
font-size:13px;
margin-bottom:15px;
}

/* ===== FORGOT ===== */

.gov-forgot{
text-align:right;
margin-top:10px;
}

.gov-forgot a{
font-size:13px;
color:#0b3d91;
text-decoration:none;
}

/* ===== ALERT ===== */

.gov-alert{
background:#e7f3ff;
color:#0b3d91;
padding:10px;
border-radius:5px;
margin-bottom:15px;
font-size:13px;
}

/* ===== ERROR ===== */

.gov-error{
color:red;
font-size:12px;
}

/* ===== SECURITY ===== */

.gov-security{
margin-top:20px;
font-size:12px;
text-align:center;
color:#777;
}

/* ===== FOOTER ===== */

.gov-footer{
text-align:center;
font-size:12px;
padding:15px;
color:#777;
}

/* ===== ANIMATIONS ===== */

@keyframes slideUp{
from{
transform:translateY(40px);
opacity:0;
}
to{
transform:translateY(0);
opacity:1;
}
}

@keyframes fadeIn{
from{
opacity:0;
}
to{
opacity:1;
}
}