body {
   /* background-color: #ccc; */
}
a {
    color: #0374AD;
}
.container-fluid {
    border: 1px solid #aaa;
    margin: 10px;
}
.routeSelectDark {
   background-color: #ccc;
}
.col-sm-2 {
    height: 50px;           
}
.col-sm-3 {  
    height: 50px;        
}
.col-sm-6 { 
    height: 50px;          
}
.col-sm-8 {  
    height: 50px;          
}
.col-sm-10 {
    height: 50px;           
}
#toplogo {
    padding-top: 10px;
}
#messages {
    padding-top: 19px;
    text-align: right;
    margin: 0px 0px 10px 0px;     
}
#routeSelect {
    width: 100%;
    color: #000;
    margin-bottom:5px;
    /* background-color: #ccc; */
}
#autorefresh {
    width: 100%;  
    margin-bottom:5px;
}
#delete {
    width: 100%;                
    margin-bottom:5px;
}
#refresh {
    width: 100%;   
    margin-bottom:5px;
}
#viewall {
    width: 100%;   
    margin-bottom:5px;
}
.deletediv {
    text-align: center;
}
.autorefreshdiv {
    text-align: center;
}
.refreshdiv {
    text-align: center;
}
.viewalldiv {
    text-align: center;
}
@media only screen and (min-width : 768px) {
    .container {
        margin-top: 25px;
    }

    .deletediv {
        text-align: left;
    }
    .autorefreshdiv {
        text-align: center;
    }

    .refreshdiv {
        text-align: center;
    }
    
    .viewalldiv {
        text-align: right;
    }  
   .ui-slider {
       width:60%; 
    }  
    .ui-slider-handle{
       width:1.2em;  height: 1.2em; outline: none;
    }  
}      
#map-canvas {
    border: 1px solid #E0DFDF;
    width: 100%;
    height: 460px;    
}
#mapdiv { 
    height: 475px;
}
#selectdiv {
       margin-bottom: 10px;
}
#halimage {
    vertical-align:middle;
    width: 37px;
    height: 37px;
    margin-bottom: 5px;
}
.table > thead > tr > th {
    font-weight: 600;
    text-transform: none;
    border-bottom-width: 1px;
    background-color:#F2F9F2;
}

.content {
    min-height: 100%;
    padding: 70px 20px 20px;
    background-color: #FDFDF7;
}

.list-group-item {
    
    background-color: #4E80B3;
    border: 1px solid #235586;
}
.list-group-text-color{
   color: #E5E5FD;
}
.label{
  font-weight:600;
  color:#061877;
}

/* jquery ui */
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 1px solid #BCE2CF;
    background: #E8F5EE 50% 50% repeat-x;
}

.ui-widget-header {
    border: 1px solid #FFFFFF;
    background: #B9D8D3  50% 50% repeat-x;
 }

.ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;
    _width: 160px;
    padding: 4px 0;
    margin: 2px 0 0 0;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;
}
.ui-state-hover, &.ui-state-active {
      color: #ffffff;
      text-decoration: none;
      background-color: #0088cc;
      border-radius: 0px;
      -webkit-border-radius: 0px;
      -moz-border-radius: 0px;
      background-image: none;
    }


/* jquery ui slider */
.flat-slider.ui-corner-all,
.flat-slider .ui-corner-all {
  border-radius: 0;
}

.flat-slider.ui-slider {
  border: 0;
  background: #ccd9f7;
  border-radius: 8%;
}

.flat-slider.ui-slider-horizontal {
  height: 7px;
}

.flat-slider.ui-slider-vertical {
  height: 15em;
  width: 7px;
}

.flat-slider .ui-slider-handle {
  width: 20px;
  height: 20px;
  background: #4C9AE2;
  border-radius: 46%;
  border: none;
  cursor: pointer;
}

.flat-slider.ui-slider-horizontal .ui-slider-handle {
  top: 50%;
  margin-top: -10px;background: #4C9AE2;
}

.flat-slider.ui-slider-vertical .ui-slider-handle {
  left: 50%;
  margin-left: -10px;background: #4C9AE2;
}

.flat-slider .ui-slider-handle:hover {
  opacity: .8;
}

.flat-slider .ui-slider-range {
  border: 0;
  border-radius: 8;
  background: #82AEEA;
}

.flat-slider.ui-slider-horizontal .ui-slider-range {
  top: 0;
  height: 7px;
}

.flat-slider.ui-slider-vertical .ui-slider-range {
  left: 0;
  width: 7px;
}

.sliderText{
   border:0; color:#4383F3; font-weight:bold; user-select: none;;
}

.gps-user-icon{
  color: #0D80BB;
  width:150px;
  background-color: #D3D6D8;
  opacity:0.9;
}
.gps-icon{
  color: #0D80BB;
  opacity:0.9;
  font-size:8px;
  background-color: #D3D6D8;
  font-weight:bold;
}
/* override application.css*/


fieldset {
    padding:10px;
    margin: 5px 5px 5px 15px;
    padding-top:10px;
    border:1px solid #DEF7ED;
    border-radius:8px;
     background-color: #FDFDFD;
        -webkit-box-shadow:  0px 0px 0px 0px #000;
            box-shadow:  0px 0px 0px 0px #000;
}
legend {
    border-style: none;
    float:left;
    margin-top:-23px;
    margin-bottom:5px;
}
legend + * {
    clear:both;
}

.form-group {
    margin-bottom: 5px;
}

.panel {
    border: 1px solid #ECECC5;
        margin-bottom: 5px;
  }
 .panel-body {
    padding: 5px 10px 5px 10px;
}
   
.login-page{
	color:black; 
	background:#748CA5;
}

.login-page .page-footer {
    color: #EFEEDF;
}


.widget-login-container {
    padding-top: 7%;
}

.list-group-text-color {
    color: #FDFBE5;
}


.panel-title {
    font-weight: 500;
}
.panel-title > a.collapsed {
    color: #ECECE1;
}
.panel-title > a.collapsed:hover {
    color: #E8E432;
}
.panel-heading > a{
	color: #C4E6D8;
}
a:hover, a:focus {
    color: #ECECEC;
    text-decoration: none;
}

h3, .h3 {
    font-size: 24px;
    font-weight: 500;
}
.list-group-item{
	font-weight: 500;
}

.panel-heading {
    padding-top: 5px; 
    padding-bottom: 7px;
}
.panelTitle{
	font-size:16px
}

.white, .white a {
  color: #fff;
}

h4.panel-title, .h4.panel-title {
    font-size: 16px;
}


.alert {
    margin-bottom: 5px; 
}

/* COLOR scheme */
h1,h3, h2,h4, .h4 {
    color: #14205D;
}

.panel {
    border: 1px solid #F7F7F2;
}

.sidebar{
	color:black; 
	background:#748CA5;
}

.table-bordered th {
    background-color: #F4F7F6;
}

.panel-footer {
   background-color:#fff;
}

.panel-primary > .panel-heading {
	color: #F0F7F0;
    background-color: #5C81A9;
    border-color: #5C81A9;
    font-weight: 500;
    padding: 6px;
    border-radius: 5px 5px 1px 1px;
}

.login-form .form-control {
    background-color: #FDFAE0;
}
.login-form .form-control:focus {
  background-color: #F9F3BD;
}

.list-group-item {
    background-color: #8999AB;
    border: 1px solid #727B9A;
}

.badge{
    background-color: #477D50;
}
.table {
    margin-bottom: 2px;
}

.table-striped > tbody > tr > th {
    background-color: #EAF1ED !important;
}

.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background-color: #F9FDF9;
}

.nav-tabs {
    background-color: #F7F6F6;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
    color: #52515F;
    background-color: #D2D4DC;
    font-weight: 600;
}

::-webkit-scrollbar {
       width: 5px; /* Width of the scrollbar */
     height: 5px; /* Height of the scrollbar */
}
::-webkit-scrollbar-track {
    background: #f1f1f1; /* Color of the track */
}
::-webkit-scrollbar-thumb {
    background: #888; /* Color of the handle */
    border-radius: 10px; /* Rounded corners of the handle */
}
::-webkit-scrollbar-thumb:hover {
    background: #555; /* Darker color when hovered */
}

/* ========================================
   Mobile Responsive Styles for Advert Edit Page
   ======================================== */

/* Mobile responsive form rows */
@media (max-width: 768px) {
    .mobile-responsive-row [class*="col-"] {
        width: 100%;
        float: none;
        margin-bottom: 15px;
    }
    
    .mobile-responsive-row .form-group {
        margin-bottom: 15px;
    }
    
    /* Make tables responsive with horizontal scroll */
    .table-responsive-mobile {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 15px;
    }
    
    .table-responsive-mobile table {
        min-width: 600px;
        margin-bottom: 0;
    }
    
    /* Better image thumbnails on mobile */
    .advert-thumbnail {
        max-width: 100%;
        height: auto;
        display: block;
    }
    
    .image-table-cell img {
        width: 80px;
        height: auto;
        object-fit: cover;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    /* Button alignment on mobile - stack vertically */
    .mobile-btn-container {
        display: flex !important;
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }
    
    .mobile-btn-container .btn-group,
    .mobile-btn-container .btn {
        width: 100%;
        margin: 0 !important;
        display: block;
    }
    
    /* Upload form on mobile */
    .upload-form-row [class*="col-"] {
        width: 100%;
        float: none;
        margin-bottom: 10px;
    }
}

/* Desktop image improvements */
.image-table-cell img {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px;
    background: #fff;
    display: block;
    margin: 0 auto;
}

.image-table-cell img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    cursor: pointer;
}

.image-table-cell {
    vertical-align: middle !important;
    text-align: center !important;
}

.image-table-cell a {
    display: inline-block;
    line-height: 0;
}

/* Better spacing for upload form */
.upload-form-row {
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #eee;
}

/* Center align buttons */
.action-btn-container {
    padding: 15px;
    margin-top: 20px;
    text-align: center;
}

.action-btn-container .btn-group {
    margin: 5px;
    display: inline-block;
}

/* ========================================
   Responsive YouTube Video / iframe Styles
   ======================================== */

/* Responsive video container for 16:9 aspect ratio */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    padding-top: 25px;
    height: 0;
    margin-bottom: 20px;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Map URL container for responsive display */
.map-url-container {
    margin: 15px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.map-url-container iframe {
    width: 100%;
    max-width: 100%;
    border-radius: 4px;
}

/* Mobile specific video adjustments */
@media (max-width: 768px) {
    .video-container {
        padding-bottom: 56.25%; /* Keep 16:9 ratio */
        margin-bottom: 15px;
    }
    
    .map-url-container {
        padding: 10px;
    }
    
    /* Ensure iframes in content are responsive */
    .panel-body iframe {
        max-width: 100%;
        width: 100%;
    }
}

/* 4:3 aspect ratio option (if needed) */
.video-container-4-3 {
    position: relative;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    padding-top: 25px;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
}

.video-container-4-3 iframe,
.video-container-4-3 object,
.video-container-4-3 embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   Premium Advert View Page Styles
   ======================================== */

/* Premium Design Variables */
:root {
    --primary-color: #1E3A8A;
    --primary-dark: #1E3A5F;
    --accent-color: #3B82F6;
    --text-dark: #1a1a2e;
    --text-muted: #666;
    --card-shadow: 0 10px 40px rgba(0,0,0,0.1);
    --card-shadow-hover: 0 20px 60px rgba(0,0,0,0.15);
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Premium Page Background */
.content {
    background: #f5f7fa;
    min-height: 100vh;
}

/* Spacing for info cards row */
.info-cards-row {
    margin-bottom: 20px;
}

.info-cards-row [class*="col-"] {
    margin-bottom: 15px;
}

/* Premium Panel Styling */
.panel-primary {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin: 20px;
}

.panel-primary > .panel-heading {
    background: #1E3A8A;
    border: none;
    padding: 20px 25px;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.panel-heading > a {
    color: #fff !important;
    font-size: 22px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.panel-body {
    padding: 30px;
    background: #fff;
}

/* Premium Info Cards */
.info-card {
    background: #f8f9fa;
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 0;
    border-left: 4px solid #1E3A8A;
    transition: var(--transition);
    height: 100%;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.info-card b {
    display: inline-block;
    color: #1E3A8A;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
    line-height: 1.4;
}

.info-card label,
.info-card span {
    display: block;
    color: var(--text-dark);
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
    word-break: break-word;
}

/* Premium Image Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: var(--border-radius-lg);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.image-gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.image-gallery-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.image-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.image-gallery-item:hover img {
    transform: scale(1.1);
}

.image-gallery-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 30px;
    opacity: 0;
    transition: var(--transition);
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Section Titles */
.section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #1E3A8A;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #3B82F6;
}

/* Content Boxes */
.content-box {
    background: #f8f9fa;
    border-radius: var(--border-radius-md);
    padding: 25px;
    margin: 15px 0;
    border: 1px solid #e9ecef;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 15px;
}

.content-box b {
    color: #1E3A8A;
    font-weight: 600;
    display: inline;
    margin-bottom: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Clean up br tags in content */
.content-box br {
    display: none;
}

.content-box h2,
.content-box h3 {
    color: #1E3A8A;
    margin: 20px 0 10px 0;
    font-weight: 700;
}

.content-box h2 {
    font-size: 22px;
}

.content-box h3 {
    font-size: 18px;
}

.content-box ul {
    margin: 10px 0;
    padding-left: 25px;
}

.content-box ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-box iframe {
    max-width: 100%;
    margin: 15px 0;
}

/* Document Links */
.document-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-radius: var(--border-radius-md);
    margin: 10px 0;
    text-decoration: none;
    color: var(--text-dark);
    border: 1px solid #e9ecef;
    transition: var(--transition);
}

.document-link:hover {
    transform: translateX(10px);
    border-color: #1E3A8A;
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.15);
}

.document-link .icon {
    font-size: 24px;
    margin-right: 15px;
    color: #dc3545;
}

.document-link span {
    font-weight: 500;
    word-break: break-all;
}

/* Video Container Premium */
.video-container-wrapper {
    margin: 25px 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Map Container Premium */
.map-container {
    margin: 25px 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

#map {
    width: 100%;
    height: 450px;
    border-radius: var(--border-radius-lg);
}

/* Category Badge */
.category-badge {
    display: inline-block;
    background: #667eea;
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price Badge */
.price-badge {
    display: inline-block;
    background: #F59E0B;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.3);
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .panel {
        margin: 10px;
    }
    
    .panel-body {
        padding: 15px 10px;
    }
    
    .panel-heading > a {
        font-size: 18px;
    }
    
    .info-cards-row {
        display: flex;
        flex-wrap: wrap;
        margin-left: 0;
        margin-right: 0;
    }
    
    .info-cards-row [class*="col-"] {
        width: 50%;
        margin-bottom: 10px;
        padding-left: 8px;
        padding-right: 8px;
        flex: 0 0 50%;
    }
    
    .info-card {
        padding: 15px 12px;
        min-height: 85px;
    }
    
    .info-card b {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .info-card label,
    .info-card span {
        font-size: 15px;
        font-weight: 600;
    }
    
    .image-gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
        padding: 15px;
    }
    
    .content-box {
        padding: 18px 15px;
        font-size: 16px;
        line-height: 1.7;
        padding-inline-start: 10px !important;
    }
    
    .content-box b {
        font-size: 13px;
    }
    
    #map {
        height: 300px;
    }
    
    .price-badge {
        font-size: 16px;
        padding: 8px 16px;
    }
    
    .category-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .section-title {
        font-size: 17px;
        margin: 25px 0 12px 0;
    }
    
    .document-link {
        padding: 12px 15px;
    }
    
    .document-link span {
        font-size: 14px;
    }
    
    /* Fix default browser padding */
    .panel-body [class*="col-"] {
        padding-inline-start: 10px !important;
        padding-inline-end: 10px !important;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.panel-body > .row {
    animation: fadeInUp 0.6s ease-out forwards;
}

.panel-body > .row:nth-child(2) { animation-delay: 0.1s; }
.panel-body > .row:nth-child(3) { animation-delay: 0.2s; }
.panel-body > .row:nth-child(4) { animation-delay: 0.3s; }
.panel-body > .row:nth-child(5) { animation-delay: 0.4s; }
.panel-body > .row:nth-child(6) { animation-delay: 0.5s; }

/* Empty state styling */
.empty-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-style: italic;
}

/* ========================================
   Premium Dashboard Styles
   ======================================== */

/* Dashboard Stats Cards */
.dashboard-stats-row {
    margin-top: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #1E3A8A;
    border-radius: var(--border-radius-lg);
    padding: 25px;
    color: #fff;
    box-shadow: 0 10px 40px rgba(30, 58, 138, 0.3);
    transition: var(--transition);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(30, 58, 138, 0.4);
}

.stat-card .stat-icon {
    font-size: 48px;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    right: 20px;
}

.stat-card .stat-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.stat-card .stat-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-card .stat-subtitle {
    font-size: 12px;
    opacity: 0.8;
}

/* Stat card variations */
.stat-card.stat-blue {
    background: #1E3A8A;
}

.stat-card.stat-green {
    background: #059669;
}

.stat-card.stat-purple {
    background: #7C3AED;
}

.stat-card.stat-orange {
    background: #EA580C;
}

/* Premium Panel */
.premium-panel {
    border: none;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 25px;
}

.premium-panel .panel-heading {
    background: #1E3A8A;
    border: none;
    padding: 18px 25px;
    color: #fff;
}

.premium-panel .panel-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.premium-panel .panel-body {
    padding: 25px;
    background: #fff;
}

/* Advert List Item */
.advert-list-item {
    background: #fff;
    border-radius: var(--border-radius-md);
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 20px;
}

.advert-list-item:hover {
    border-color: #1E3A8A;
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.15);
    transform: translateX(5px);
}

.advert-list-item img {
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.advert-list-item:hover img {
    transform: scale(1.05);
}

.advert-list-item .ad-title-info {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1E3A8A;
}

.advert-list-item .ad-title-info a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.advert-list-item .ad-title-info a:hover {
    color: #3B82F6;
}

.advert-list-item .advert-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.advert-list-item .badge-custom {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-category {
    background: #667eea;
    color: #fff;
}

.badge-status {
    background: #10B981;
    color: #fff;
}

.badge-status.inactive {
    background: #EF4444;
}

/* Search Form Premium */
.search-form-container {
    background: #f8f9fa;
    border-radius: var(--border-radius-lg);
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #dee2e6;
}

.search-form-container .form-control {
    border-radius: var(--border-radius-sm);
    border: 1px solid #ced4da;
    padding: 0;
}

.search-form-container .form-control:focus {
    border-color: #1E3A8A;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.search-form-container .btn-primary {
    background: #fff;
    color: #1E3A8A;
    border: 2px solid #1E3A8A;
    padding: 10px 25px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.search-form-container .btn-primary:hover {
    transform: translateY(-2px);
    background: #1E3A8A;
    color: #fff;
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.3);
}

/* Global Button Styles - White Text */
.btn-primary {
    color: #fff !important;
}

/* ========================================
   Sidebar & Navigation - Deep Blue Theme
   ======================================== */

.sidebar {
    background: linear-gradient(180deg, #1E3A8A 0%, #0F172A 100%);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.sidebar header {
    background: #1E3A8A;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar .list-group-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 0;
}

.sidebar .list-group-item a {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.85);
    transition: all 0.3s;
    text-decoration: none;
}

.sidebar .list-group-item a:hover,
.sidebar .list-group-item a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding-left: 25px;
}

.sidebar .list-group-item a .icon {
    margin-right: 10px;
    width: 20px;
    display: inline-block;
}

/* Sidebar sub-actions (Add/Search icons) */
.sidebar-action-icons {
    display: inline-flex;
    gap: 8px;
    margin-left: 5px;
    align-items: center;
}

.sidebar-action-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    transition: all 0.3s;
    padding: 0;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.sidebar-action-icons a:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
    color: #fff;
}

.sidebar-action-icons a i {
    font-size: 13px;
}

.sidebar-status {
    background: rgba(0,0,0,0.2);
    padding: 15px;
    color: #fff;
}

/* Navbar */
.page-controls {
    background: #1E3A8A;
    border: none;
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.3);
}

.page-controls .navbar-brand {
    color: #fff !important;
    font-weight: 600;
}

.page-controls .nav > li > a {
    color: rgba(255,255,255,0.85);
}

.page-controls .nav > li > a:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* Dropdown menu */
.page-controls .dropdown-menu {
    background: #fff;
    border: 1px solid rgba(30, 58, 138, 0.1);
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.2);
    border-radius: var(--border-radius-md);
}

.page-controls .dropdown-menu > li > a {
    color: #1E3A8A;
    padding: 10px 20px;
}

.page-controls .dropdown-menu > li > a:hover {
    background: #1E3A8A;
    color: #fff;
}

/* Mobile sidebar */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        z-index: 1000;
    }
}

/* Hide sidebar for customer pages only */
body.customer-page .sidebar,
body.customer-page #sidebar {
    display: none !important;
    width: 0 !important;
}

body.customer-page #content {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

body.customer-page .content-wrap {
    margin-left: 0 !important;
    width: 100% !important;
}

body.customer-page .page-controls {
    margin-left: 0 !important;
    width: 100% !important;
}