
body.dark-theme { 
    background:black !important;
    color:white !important;
}
.dark-theme .bg-light, .dark-theme .bg-erox{
    background:black !important;
    color:white !important;
    border:1px solid white;
}
.dark-theme .list-group-item {
    background-color: #000;
    border: 1px solid white;
    color:white;
}

.dark-theme .top-bar .list-group-item {
    border-right: 1px solid white;
}
.dark-theme .top-bar {
    background: black;
}

.dark-theme a {color:white;}

.dark-theme .custom-name p {
    color: white;
}

.dark-theme .Beautiful-nepal .card {
    background: url(arc_img.png) 100% 0 no-repeat rgb(2, 0, 0);
    border:1px solid white;
}
.dark-theme .card {
    background-color: #000;
    border: 1px solid white;
    color: white;
}
.dark-theme .footer-grid .sub-member p , .dark-theme .footer-grid p{
    color: white !important;
}
.dark-theme .newsticker { background-color: black; color:white;}
.dark-theme .ptms_marquee a {
 color:white;}


.dark-theme .tap-box .tap-box-list a p:first-child, .dark-theme .tap-box .tap-box-list a p{
    color: #fff !important;
}
.dark-theme .tap-box .tap-box-list:hover a p:first-child, .dark-theme .tap-box .tap-box-list:hover a p{
    color: black !important;
}

body.dark-theme .header-last {
    background-color: #0d1117 !important;
    border: none;
    border-bottom: 1px solid #30363d;
}
body.dark-theme .navbar .dropdown-menu, 
body.dark-theme .navbar .dropdown-menu .dropdown-item {
    background-color: #161b22;
    border-color: #30363d;
    color: #c9d1d9;
}
body.dark-theme .navbar .dropdown-menu .dropdown-item:hover {
    background: #0d1117 !important;
    color: #58a6ff !important;
    border: none !important;
}

body.dark-theme .modern-navbar .navbar-nav .nav-link {
    color: #c9d1d9 !important;
}
body.dark-theme .modern-navbar .navbar-nav .nav-link:hover,
body.dark-theme .modern-navbar .navbar-nav .nav-link.active {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
}

body.dark-theme .nav-item.active {
    background-color: transparent;
}

.dark-theme .breadcrumb {
    background-color: #000;
    border: 1px solid white;
    color: white;}

.dark-theme .tap-box .tap-box-list:hover {
    background: #dedede;
    color:black;
}

.dark-theme .custom-name h1
{
    color:white;
}
.dark-theme iframe.enable-darkmode { filter: invert(90%);}



	
.dark-theme .corona-body {
	    background-image: none;
	}

.dark-theme .corona-title {
	    background-image: none;
	}

.dark-theme .blue-box { background-color: black !important; border:2px solid rgba(83,158,251,0.72) !important;}
.dark-theme .gray-box { background-color: black !important; border:2px solid rgba(168,121,45,0.76) !important;}
.dark-theme .green-box { background-color: black !important; border:2px solid rgba(74,111,29,0.69) !important;}
.dark-theme .red-box { background-color: black !important; border:2px solid rgb(236 12 12 / 39%) !important;}
.dark-theme .dgreen-box { background-color: black !important; border:2px solid rgba(66, 111, 10, 0.56) !important;}
.dark-theme .black-box { background-color: black !important; border:2px solid rgba(207, 194, 194, 0.58) !important;}
.dark-theme .coffee-box {background-color: black !important; border:2px solid#350101c7 !important;}
.dark-theme .pink-box {background-color: black !important; border:2px solid rgb(94 56 136 / 53%) !important;}
.dark-theme .dblue-box {background-color: black !important; border:2px solid rgb(39 82 204 / 53%) !important;}
.dark-theme .g1-box {background-color: black !important; border:2px solid rgb(104 183 8 / 69%) !important;}

.dark-theme .pagination .page-link { background-color: black !important; color:white !important;}

.dark-theme #quickbox .box {
    background-color: black;
    color: #fff;
    border: 2px solid #fff;
}
.dark-theme #quickbox .box:hover {
    background-color: #000;
    border: 2px solid #ff0015;
    color:#ff0015;
}
.dark-theme #quickbox .box:hover h4,.dark-theme #quickbox .box:hover i {
    color:#ff0015 !important;
}

.dark-theme .section_slider{
    background-color: none;

}
.dark-theme .section_about_us{
    background-color: none;

}
.dark-theme .section_news{
    background-color: none;

}
.dark-theme .section_photos{
    background-color: none;

}
.dark-theme .section_videos{
    background-color: none;

}
.dark-theme .section_services{
    background: url(../images/frontend/transparent-bg.png) #04161f;

}
.dark-theme .section_quickboxes{
    background: url(../images/frontend/transparent-bg.png) #04161f;

}

.dark-theme .staff-desk {
    background: #000;
    color:white;
}
.dark-theme h2 { color: #fff;}
.dark-theme .table {
    color: #fff;
}

.dark-theme .bg-hospital { background:none;}
.dark-theme .bg-dark-hospital { background:none;}


.dark-theme #services .box {
    background-color: black;
    color: #fff;
    border: 2px solid #fff;
}
.dark-theme #services .box:hover {
    background-color: #000;
    border: 2px solid #ff0015;
    color:#ff0015;
}
.dark-theme #services .box:hover h4,.dark-theme #services .box:hover i {
    color:#ff0015 !important;
}

.dark-theme .fontResizer>span
{
color:#fff;
}
.dark-theme .fontResizer>span:hover
{
    color:#fff;
}

.dark-theme .box {
    background-color: #383535;
    box-shadow: inset 0 1px 1px rgba(252, 252, 252, 0.05);
}

.dark-theme .bg-white {
    background-color: #0d1117 !important;
}

/* Custom Modern Layout Dark overrides */

/* Index / Components */
body.dark-theme .section_about_us,
body.dark-theme .section_photos,
body.dark-theme .section_charts,
body.dark-theme .section_video,
body.dark-theme .modern-resource-boxes,
body.dark-theme .modern-carousel .carousel-item {
    background: #0d1117 !important;
}
body.dark-theme .modern-section-title {
    color: #f0f6fc;
}
body.dark-theme .modern-staff-card,
body.dark-theme .modern-video-card,
body.dark-theme .modern-box-card,
body.dark-theme .chart-card-modern,
body.dark-theme .modern-gallery-item,
body.dark-theme .modern-gallery-wrap,
body.dark-theme .modern-tabs-wrap,
body.dark-theme .modern-table-wrap,
body.dark-theme .modern-link-card,
body.dark-theme .video-card-body,
body.dark-theme .modern-staff-card-v {
    background: #161b22 !important;
    border-color: #30363d !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3) !important;
}
body.dark-theme .modern-notice-item:hover,
body.dark-theme .modern-link-card:hover {
    background: #21262d !important;
}

body.dark-theme .modern-staff-info h2,
body.dark-theme .modern-card-title,
body.dark-theme .modern-box-card h4,
body.dark-theme .video-card-title,
body.dark-theme .modern-notice-content p,
body.dark-theme .modern-text-block,
body.dark-theme .modern-staff-info-v h2,
body.dark-theme .modern-table th,
body.dark-theme .modern-table td,
body.dark-theme .modern-notice-item,
body.dark-theme .modern-link-card {
    color: #c9d1d9 !important;
}
body.dark-theme .modern-table th {
    background: #21262d !important;
}
body.dark-theme .modern-table tr:nth-child(even) {
    background-color: #0d1117 !important;
}
body.dark-theme .modern-table tr:hover td {
    background-color: #21262d !important;
}

body.dark-theme .modern-tabs {
    background: #161b22;
    border-bottom-color: #30363d;
}
body.dark-theme .modern-tabs .nav-link {
    color: #8b949e;
}
body.dark-theme .modern-tabs .nav-link:hover:not(.active) {
    background: #21262d;
    color: #c9d1d9;
}

/* News Ticker */
body.dark-theme .modern-news-ticker {
    background: #161b22 !important;
    border-color: #30363d;
}
body.dark-theme .modern-news-item {
    color: #c9d1d9;
}

/* Footer modern dark mode adjustments */
body.dark-theme .footer-modern, 
body.dark-theme .site-footer {
    background: #0d1117 !important;
    border-top: 1px solid #30363d;
}
body.dark-theme .footer__grid {
    border-bottom-color: #30363d;
}
body.dark-theme .footer__title,
body.dark-theme .footer__sub-title,
body.dark-theme .footer-section-title {
    color: #f0f6fc;
}
body.dark-theme .copyright-bar,
body.dark-theme .footer__bottom-info {
    background: #0d1117;
    border-top-color: #30363d;
}
body.dark-theme .footer__nav-list li a {
    color: #c9d1d9;
    border-bottom-color: #30363d;
}
body.dark-theme .footer__nav-list li a:hover {
    color: #58a6ff;
}
body.dark-theme .contact__text strong,
body.dark-theme .footer__logo-text .ministry-name,
body.dark-theme .hours__detail span {
    color: #c9d1d9 !important;
}

/* Top Header and Top Bar styling */
body.dark-theme .modern-top-bar {
    background: #010409 !important;
    border-bottom: 1px solid #30363d;
}
body.dark-theme .modern-top-bar .top-bar-item,
body.dark-theme .modern-top-bar .top-bar-item a,
body.dark-theme .modern-top-bar .top-bar-item span {
    color: #8b949e !important;
}
body.dark-theme .modern-top-bar .top-bar-item a:hover {
    color: #c9d1d9 !important;
}

body.dark-theme .top-header {
    background: #0d1117 !important;
    border-bottom: 1px solid #30363d;
}
body.dark-theme .top-header .govname,
body.dark-theme .top-header .officename,
body.dark-theme .top-header .addressname {
    color: #c9d1d9 !important;
}

/* Header search bar and language switcher */
body.dark-theme .search-form-wrap,
body.dark-theme .header-last.sticky-scrolled .search-form-wrap {
    background: #161b22 !important;
    border: 1px solid #30363d !important;
}
body.dark-theme .search-form-wrap:focus-within {
    background: #0d1117 !important;
    border-color: #58a6ff !important;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.3) !important;
}
body.dark-theme .search-form-wrap .form-control {
    color: #c9d1d9 !important;
}
body.dark-theme .search-form-wrap .form-control::placeholder {
    color: #8b949e !important;
}
body.dark-theme .search-form-wrap .btn-search {
    color: #8b949e !important;
}
body.dark-theme .search-form-wrap .btn-search:hover {
    color: #c9d1d9 !important;
}

body.dark-theme .language-switcher .btn-lang {
    background: #161b22 !important;
    border: 1px solid #30363d !important;
    color: #c9d1d9 !important;
}
body.dark-theme .language-switcher .btn-lang:hover {
    background: #21262d !important;
    border-color: #8b949e !important;
}

body.dark-theme .typed-search-box {
    background: #161b22 !important;
    border-color: #30363d !important;
}

/* Gov Page Hero styling */
body.dark-theme .gov-page-hero {
    background: #0d1117 !important;
    border-bottom: 1px solid #30363d;
}
body.dark-theme .gov-page-hero::after {
    background: #0d1117 !important;
}
body.dark-theme .gov-page-title {
    color: #f0f6fc !important;
}
body.dark-theme .gov-breadcrumb {
    color: #c9d1d9 !important;
}
body.dark-theme .gov-breadcrumb a {
    color: #8b949e !important;
}
body.dark-theme .gov-breadcrumb a:hover {
    color: #58a6ff !important;
}

/* Modern Officer Card & Staff Card refines */
body.dark-theme .modern-officer-card {
    background: #161b22 !important;
    border-color: #30363d !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}
body.dark-theme .modern-officer-card:hover {
    border-color: #58a6ff !important;
}
body.dark-theme .modern-officer-card .officer-title {
    color: #c9d1d9 !important;
    background: #21262d !important;
    border-color: #30363d !important;
}
body.dark-theme .modern-officer-card .officer-img,
body.dark-theme .modern-staff-img-wrap img {
    border-color: #161b22 !important;
    background-color: #0d1117 !important;
}
body.dark-theme .modern-officer-card .officer-name {
    color: #f0f6fc !important;
}
body.dark-theme .modern-officer-card .officer-designation {
    color: #8b949e !important;
}
body.dark-theme .modern-officer-card .officer-contact {
    background: #0d1117 !important;
    border-color: #30363d !important;
}
body.dark-theme .modern-officer-card:hover .officer-contact {
    background: #21262d !important;
    border-color: #30363d !important;
}
body.dark-theme .modern-officer-card .officer-contact-item,
body.dark-theme .modern-officer-card .officer-contact-item a {
    color: #c9d1d9 !important;
}
body.dark-theme .modern-officer-card .officer-contact-item a:hover {
    color: #58a6ff !important;
}
body.dark-theme .modern-officer-card .officer-contact-icon {
    background: #21262d !important;
    color: #c9d1d9 !important;
}
body.dark-theme .modern-officer-card:hover .officer-contact-icon {
    background: #1d4e89 !important;
    color: #fff !important;
}
body.dark-theme .modern-staff-card .role-label {
    background: #21262d !important;
    border-color: #30363d !important;
    color: #8b949e !important;
}

/* =========================================
   Additional Frontend Components Dark Mode
========================================= */

/* .modern-card (Parliamentary Parties, etc.) */
body.dark-theme .modern-card {
    background: #161b22 !important;
    border-color: #30363d !important;
}
body.dark-theme .modern-card-title {
    color: #f0f6fc !important;
    border-bottom-color: #30363d !important;
}
body.dark-theme .modern-card:hover {
    border-color: #58a6ff !important;
}

/* Committee View */
body.dark-theme .committee-view-section {
    background: #161b22 !important;
    border-color: #30363d !important;
}
body.dark-theme .committee-view-section h3 {
    color: #f0f6fc !important;
    border-bottom-color: #30363d !important;
}
body.dark-theme .committee-meta-item,
body.dark-theme .committee-meta-item strong {
    color: #c9d1d9 !important;
}
body.dark-theme .committee-description {
    color: #c9d1d9 !important;
}

/* Filter Boxes (Notice, Bills, Staff) */
body.dark-theme .gov-filter-box {
    background: #161b22 !important;
    border-color: #30363d !important;
}

/* Staff Details */
body.dark-theme #staff-details-container,
body.dark-theme .staff-details-container {
    background: transparent !important;
}
body.dark-theme .gov-staff-card {
    background: #161b22 !important;
    border-color: #30363d !important;
}
body.dark-theme .gov-staff-card:hover { 
    border-color: #58a6ff !important; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important;
}
body.dark-theme .gov-staff-featured {
    border-color: #58a6ff !important;
}
body.dark-theme .staff-name {
    color: #f0f6fc !important;
}
body.dark-theme .staff-designation {
    color: #58a6ff !important;
}
body.dark-theme .staff-details span {
    color: #c9d1d9 !important;
}

/* Contact Us Page */
body.dark-theme .gov-info-card,
body.dark-theme .gov-section-card,
body.dark-theme .gov-assembly-card {
    background: #161b22 !important;
    border-color: #30363d !important;
}
body.dark-theme .gov-info-card:hover {
    border-color: #58a6ff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
}
body.dark-theme .gov-info-label,
body.dark-theme .gov-hours-day,
body.dark-theme .gov-form-label {
    color: #8b949e !important;
}
body.dark-theme .gov-info-value,
body.dark-theme .gov-info-value a,
body.dark-theme .gov-hours-time {
    color: #c9d1d9 !important;
}
body.dark-theme .gov-hours-row {
    border-bottom-color: #30363d !important;
}
body.dark-theme .gov-form-control {
    background: #0d1117 !important;
    border-color: #30363d !important;
    color: #c9d1d9 !important;
}
body.dark-theme .gov-form-control:focus {
    border-color: #58a6ff !important;
    background: #0d1117 !important;
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2) !important;
}
body.dark-theme .gov-form-control::placeholder {
    color: #8b949e !important;
}
body.dark-theme .gov-section-header {
    background: #0d1117 !important;
    border-bottom: 1px solid #30363d !important;
}

/* Assembly Contact Text */
body.dark-theme .assembly-text .line-1 {
    color: #f0f6fc !important;
}
body.dark-theme .assembly-text .line-2 {
    color: #58a6ff !important;
}
body.dark-theme .assembly-text .line-3 {
    color: #c9d1d9 !important;
}

/* Custom Page */
body.dark-theme .gov-content-card {
    background: #161b22 !important;
    border-color: #30363d !important;
}
body.dark-theme .gov-content-body {
    background: #161b22 !important;
}
body.dark-theme .custom-content,
body.dark-theme .custom-content p,
body.dark-theme .custom-content span {
    color: #c9d1d9 !important;
}
body.dark-theme .bg-light.min-vh-50 {
    background: transparent !important;
}

/* Base Table Overrides (for Contact and others) */
body.dark-theme .table {
    color: #c9d1d9 !important;
    border-color: #30363d !important;
}
body.dark-theme .table thead,
body.dark-theme .table th {
    background: #0d1117 !important;
    border-color: #30363d !important;
    color: #f0f6fc !important;
}
body.dark-theme .table td {
    background: #161b22 !important;
    border-color: #30363d !important;
}
body.dark-theme table.table-hover tbody tr:hover td {
    background: #21262d !important;
}
