body, html {
    padding: 0px;
    margin: 0px;
    background-color: #0f1115 !important;
    color: #94a3b8 !important;
    overflow-x: hidden !important;
}
.sr-symbol {
    fill: #64748b;
}

.red {
    color: #e11d48 !important; /* Slightly muted red */
}
@media print {
    .no-print {
        display: none !important;
    }
}
.text-decoration-none,
.text-decoration-none:hover,
a .text-decoration-none:hover,
a .text-decoration-none {
    text-decoration: none !important;
}

*, *:focus, *:hover {
    outline: none !important;
}
/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 5px;
    height: 7px !important;
}

::-webkit-scrollbar-track {
    background: #1e2126;
}

::-webkit-scrollbar-thumb {
    background: #333842;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

body {
    background: linear-gradient(135deg, #181b20 0%, #0f1115 100%);
    font-family: 'Cairo', Tahoma, sans-serif;
    min-height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 12px;
    color: #94a3b8 !important;
}
.logo{
	position:absolute;
	width:40px;
	top:10px;
	left:20px;
}
.title{
	height:60px !important;
	margin-top:-15px !important;
	padding-left:50px;
}
/* --- Navbar Dark Theme --- */
.navbar-default {
    background-color: #0f1115 !important;
    border-color: #1e2126 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
}
.navbar-default .navbar-nav > li > a button{
	position:absolute;
	right:-50px !important;
	top:8px;
	margin-left:50px;
}
.navbar-default .navbar-right{
	margin-right:50px;
}
/* Navbar Brand/Link colors */
.navbar-default .navbar-brand,
.navbar-default .navbar-nav > li > a {
    color: #64748b !important;
    transition: color 0.2s ease;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
    color: #94a3b8 !important;
    background-color: transparent !important;
}

/* Active State */
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: #cbd5e1 !important;
    background-color: #1e2126 !important;
}

/* Danger State */
.navbar-default .navbar-nav > .danger > a,
.navbar-default .navbar-nav > .danger > a:hover,
.navbar-default .navbar-nav > .danger > a:focus {
    color: #cbd5e1 !important;
    background-color: #dc2626 !important;
}

/* Info State */
.navbar-default .navbar-nav > .info > a,
.navbar-default .navbar-nav > .info > a:hover,
.navbar-default .navbar-nav > .info > a:focus {
    color: #cbd5e1 !important;
    background-color: #2563eb !important;
}

/* warning State */
.navbar-default .navbar-nav > .warning > a,
.navbar-default .navbar-nav > .warning > a:hover,
.navbar-default .navbar-nav > .warning > a:focus {
    color: #000 !important;
    background-color: #eab308 !important;
}

/* Toggle button for mobile */
.navbar-default .navbar-toggle {
    border-color: #1e2126 !important;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #64748b !important;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #1e2126 !important;
}
/* --- Breadcrumbs --- */
.custom-breadcrumb-wrapper {
    background: #0f1115;
    border: 1px solid #1e2126;
    border-radius: 12px;
    padding: 12px 20px;
    display: inline-block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 24px;
}

.custom-breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.crumb-item .crumb-link {
    display: inline-flex;
    align-items: center;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
    gap: 6px;
}

.crumb-item .crumb-link:hover {
    color: #94a3b8;
}

.crumb-icon {
    width: 16px;
    height: 16px;
    color: #333842;
}

.crumb-item .crumb-link:hover .crumb-icon {
    color: #94a3b8;
}

.crumb-separator {
    display: flex;
    align-items: center;
    padding: 0 12px;
    color: #333842;
}

.crumb-separator svg {
    width: 12px;
    height: 12px;
}

.crumb-active {
    color: #cbd5e1;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pulse-indicator {
    width: 6px;
    height: 6px;
    background-color: #333842;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.pulse-indicator::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #64748b;
    border-radius: 50%;
    animation: crumbPulse 2s infinite ease-in-out;
}

@keyframes crumbPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

.main-content {
    flex: 1;
}
.form-container {
    background: #181b20;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 40px;
    transition: all 0.3s ease;
    border: 1px solid #1e2126;
    margin-bottom: 50px;
    color: #cbd5e1 !important;
}
.form-header {
    text-align: center;
    margin-bottom: 35px;
}
.form-header h2 {
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 10px;
    font-size: 28px;
}

.form-header p {
    color: #64748b;
    font-size: 14px;
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-group label {
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    font-size: 13px;
}

.form-control {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #1e2126;
    box-shadow: none !important;
    font-size: 14px;
    padding: 10px 15px;
    transition: all 0.2s ease-in-out;
    background-color: #0f1115;
    color: #cbd5e1;
}

.form-control:focus {
    border-color: #475569;
    background-color: #1e2126;
}

.checkbox {
    margin-top: 15px;
    margin-bottom: 25px;
    padding-right: 22px;
    padding-left: 0;
}

.checkbox input[type="checkbox"] {
    margin-right: -22px;
    margin-left: 0;
    cursor: pointer;
}

.checkbox label {
    color: #64748b;
    font-size: 13px;
    cursor: pointer;
    user-select: none;
}

.btn-custom {
    background: #334155;
    color: #cbd5e1;
    border: none;
    height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-custom:hover, .btn-custom:focus {
    background: #475569;
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-custom-danger {
    background-color: #dc2626 !important; /* Primary red color */
    color: #ffffff !important;      /* Changed text color to white for better contrast */
    border: none;
    //height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-custom-danger:hover {
    background-color: #b91c1c !important; /* Darker red when hovering */
    cursor: pointer;
}

.btn-custom-success {
    background-color: #16a34a !important; /* Primary green color */
    color: #ffffff !important;           /* White text for contrast */
    border: none;
    //height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-custom-success:hover {
    background-color: #15803d !important; /* Darker green when hovering */
    cursor: pointer;
}

.btn-custom-info {
    background-color: #2563eb !important; /* Primary blue color */
    color: #ffffff !important;           /* White text for contrast */
    border: none;
    //height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-custom-info:hover {
    background-color: #1d4ed8 !important; /* Darker blue when hovering */
    cursor: pointer;
}

.btn-custom-warning {
    background-color: #eab308 !important; /* Primary yellow color */
    color: #334155 !important;           /* Dark text for readability */
    border: none;
    //height: 48px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-custom-warning:hover {
    background-color: #ca8a04 !important; /* Darker yellow/gold when hovering */
    cursor: pointer;
}

.form-inner-footer {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid #1e2126;
    padding-top: 20px;
    font-size: 13px;
    color: #475569;
}
.form-inner-footer button{
	margin-right:10px;
}
.form-inner-footer a {
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
}

.footer-separator {
    color: #333842;
    margin: 0 8px;
}

/* --- Footer --- */
.footer {
    background-color: #0f1115;
    border-top: 1px solid #1e2126;
    padding: 40px 0 20px 0;
    margin-top: auto;
    font-size: 14px;
    color: #64748b;
}

.footer hr {
    border-top: 1px solid #1e2126;
    margin: 25px 0 20px 0;
}

.footer a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #cbd5e1;
    text-decoration: underline;
}

.vertical-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.vertical-list li {
    padding: 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vertical-list li i {
    color: #333842;
    margin-left: 8px;
    width: 16px;
    text-align: center;
}

.copyright-text {
    color: #475569;
    font-size: 13px;
}
.jumbotron {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e7e7e7;
    padding: 60px 0;
    margin-bottom: 40px;
}

.jumbotron h1 {
    font-weight: bold;
    color: #2c3e50;
}
/* Pricing Section */
.pricing-table {
    margin-bottom: 80px;
}

.panel-pricing {
    transition: transform 0.2s ease-in-out;
}

.panel-pricing:hover {
    transform: translateY(-5px);
}

.panel-heading {
    padding: 20px 15px;
}

.panel-heading h3 {
    margin: 0;
}

.price {
    font-size: 32px;
    font-weight: bold;
    color: #337ab7;
    margin: 20px 0;
}
.list-unstyled li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.list-unstyled li:last-child {
    border-bottom: none;
}

/* "Most Popular" Highlight */
.most-popular {
    border: 2px solid #337ab7;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.most-popular .panel-heading {
    background-color: #337ab7;
    color: #fff;
}
@media (max-width: 767px) {
    .sidebar {
        position:absolute;
        left: -260px; /* Hide off-screen */
        top: 0;
        z-index: 1000;
		-webkit-transition: all 0.1s ease;
		-moz-transition: all 0.1s ease;
		-o-transition: all 0.1s ease;
		transition: all 0.1s ease;
    }

    /* Toggled State */
    .sidebar.active {
        left: 0; /* Slide in */
		-webkit-transition: all 0.1s ease;
		-moz-transition: all 0.1s ease;
		-o-transition: all 0.1s ease;
		transition: all 0.1s ease;		
    }
    /* Optional: Overlay to block background interaction */
    .overlay {
		height:0px;
		width:calc(100% - 260px);
		background-color:#000;
		position:fixed;
		right:calc(100% + 350px);
		z-index:2999;
		opacity:0.3;
		-webkit-transition: all 0.1s ease;
		-moz-transition: all 0.1s ease;
		-o-transition: all 0.1s ease;
		transition: all 0.1s ease;
    }
	.active.overlay{
		right:0;
		height:100%;
		-webkit-transition: all 0.1s ease;
		-moz-transition: all 0.1s ease;
		-o-transition: all 0.1s ease;
		transition: all 0.1s ease;
	}
	.sidebar .nav {
		margin-top:20px;
	}
}
/* Layout container */
.wrapper { display: flex; height: 100vh; overflow: hidden; }
.content { flex: 1; padding: 20px;padding-top:30px; overflow-y: auto; }
/* Sidebar Container */
.sidebar {
    width: 260px;
    background-color: #0F1115;
    height: 100vh;
    border-right: 1px solid #1E2126;
    overflow-y: auto;
    font-family: 'Segoe UI', sans-serif;
    -webkit-transition: all 0.1s ease;
    -moz-transition: all 0.1s ease;
    -o-transition: all 0.1s ease;
    transition: all 0.1s ease;
}

.sidebar-brand { padding: 25px; font-size: 1.2em; font-weight: bold; color: #333; }

/* Group Headers */
.sidebar-header {
	//padding-top:30px;
    padding: 30px 20px 5px;
    font-size: 0.7em;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Links */
.sidebar .nav > li > a {
    color: #fff;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 8px;
    margin: 2px 15px;
    transition: all 0.2s;
}
.sidebar .nav > li > a .fa{
	padding-right:5px;
}
.sidebar .nav > li > a span{
	margin-left:10px;
}
.sidebar .nav > li > a:hover,.sidebar .nav > li > a:focus {
    background-color: #1A1C24;
    color: #fff;
}

/* Active Dropdown Styling */
.active-group > a {
    background-color: #1A1C24 !important; /* Dark theme for dropdown parent */
    color: #FFF !important;
}

/* Nested Items */
.uiSubmenu > li > a {
    padding-left: 45px !important;
    font-size: 0.9em;
    color: #fff;
}

.badge { background-color: #007AFF; font-size: 0.7em; }
a[aria-expanded="true"] .caret {
    transform: rotate(180deg);
}
.stat-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px; /* Adds vertical spacing for mobile */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stat-card p {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 5px;
}

.stat-card h3 {
    margin: 0;
    font-size: 1.6em;
    font-weight: 600;
}
:root {
    --tab-primary: #64748b;
    --tab-text-color: #475569;
    --tab-text-hover: #cbd5e1;
    --tab-disabled: #333842;
    --tab-spacing: 12px 20px;
}

.modern-tabs {
    display: flex;
    flex-wrap: wrap;
    padding-left: 0px;
    margin-bottom: 20px;
    list-style: none;
    border-bottom: 2px solid #1e2126;
}

.modern-tabs .tab-item {
    margin-bottom: -2px;
}

.modern-tabs .tab-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: var(--tab-spacing);
    font-weight: 500;
    color: var(--tab-text-color);
    text-decoration: none;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease-in-out;
}

.modern-tabs .tab-item > a:hover:not(.disabled) {
    color: var(--tab-text-hover);
    background-color: #1e2126;
    border-radius: 6px 6px 0 0;
}

.modern-tabs .tab-item.active > a,
.modern-tabs .tab-item.active > a:hover,
.modern-tabs .tab-item.active > a:focus {
    color: var(--tab-primary);
    background-color: transparent;
    border-bottom-color: var(--tab-primary);
}

.modern-tabs .tab-item.disabled > a {
    color: var(--tab-disabled);
    cursor: not-allowed;
    background-color: transparent;
}

.modern-tabs .tab-icon {
    font-size: 1.1em;
    opacity: 0.8;
}

.modern-tabs .tab-item.active .tab-icon {
    opacity: 1;
}
.table-responsive {
    background: #181b20 !important;
    border: 1px solid #1e2126 !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    padding: 0 !important;
    margin-bottom: 35px !important;
    max-height: 500px !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
    position: relative;
    background: 
        linear-gradient(to right, #181b20 30%, rgba(24, 27, 32, 0)), 
        linear-gradient(to right, rgba(0,0,0,0.4), rgba(24, 27, 32, 0)), 
        linear-gradient(to left, #181b20 30%, rgba(24, 27, 32, 0)), 
        linear-gradient(to left, rgba(0,0,0,0.4), rgba(24, 27, 32, 0));
    background-position: 0 0, 0 0, 100% 0, 100% 0;
    background-repeat: no-repeat;
    background-size: 50px 100%, 15px 100%, 50px 100%, 15px 100%;
    background-attachment: local, scroll, local, scroll;
}

.table-responsive::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #0f1115;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #333842;
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

/* --- Table Overrides --- */
.table.table-bordered,
.table.table-striped {
    background-color: #181b20 !important;
    border: none !important;
}

.table.table-striped > tbody > tr:nth-of-type(odd),
.table.table-striped > tbody > tr:nth-of-type(even) {
    background-color: #0f1115 !important;
}

.table.table-bordered > thead > tr > th,
.table.table-bordered > tbody > tr > th,
.table.table-bordered > tbody > tr > td {
    border: none !important;
    border-bottom: 1px solid #0f1115 !important;
}

.table-responsive .table > thead > tr > th {
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    background-color: #0f1115 !important;
    box-shadow: inset 0 -2px 0 #1e2126;
    padding: 14px 20px !important;
	white-space: nowrap !important;
    color: #64748b !important;
}
.table-responsive .table > tbody > tr > th {
    width: auto !important;
    white-space: nowrap !important;
}
.table-responsive .table > tbody > tr > th,
.table-responsive .table > tbody > tr > td {
    background-color: #181b20 !important;
    color: #94a3b8 !important;
    padding: 14px 20px !important;
}

.table-responsive .table > tbody > tr > th label {
    color: #94a3b8 !important;
    margin: 0 0 8px 0 !important;
    font-weight: 600 !important;
    display: block;
}
.pdf-billing{
	margin-top:50px;
}
.pdf-billing-center{
	text-align:center;
}
.text-right{
	text-align:right;
}
.text-center{
	text-align:center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    min-height: 50px; /* Minimum height for the footer area */
    align-items: center; /* Horizontally centers the image */
}