body {
  font-size: .875rem;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  /* Behind the navbar */
  padding: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 48px;
  /* Height of navbar */
  height: calc(100vh - 48px);
  padding-top: .5rem;
  overflow-x: hidden;
  overflow-y: auto;
  /* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
}

.sidebar .nav-link .feather {
  margin-right: 4px;
  color: #999;
}

.sidebar .nav-link.active {
  color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
  color: inherit;
}

.sidebar-heading {
  font-size: .75rem;
  text-transform: uppercase;
}

/*
 * Navbar
 */

.navbar-brand {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: 1rem;
  background-color: rgba(0, 0, 0, .25);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
  padding: .75rem 1rem;
  border-width: 0;
  border-radius: 0;
}

.form-control-dark {
  color: #fff;
  background-color: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}

/*
 * Utilities
 */

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

/*
 * Fixed Header
 */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 80px;
}

/*
 * Fixed Sidebar
 */

.property_dashboard_navbar {
  position: fixed;
  top: 80px;
  left: 0;
  height: calc(100vh - 80px);
  width: 16.666667%;
  background-color: #2c3e50;
  color: white;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.property_dashboard_navbar .dash_user_menues ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.property_dashboard_navbar .dash_user_menues li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.property_dashboard_navbar .dash_user_menues a {
  display: block;
  padding: 15px 20px;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s;
}

.property_dashboard_navbar .dash_user_menues a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.property_dashboard_navbar .dash_user_menues a.active {
  background-color: #3498db;
}

.property_dashboard_navbar .dash_user_menues i {
  margin-right: 10px;
  width: 20px;
}

/*
 * Main Content Layout
 */

.col-lg-10.col-md-8.col-sm-12,
.col-lg-9.col-md-8.col-sm-12 {
  margin-left: 16.666667%;
  margin-top: 80px;
  width: 83.333333%;
  min-height: calc(100vh - 80px);
  padding: 0;
}

.dashboard-body {
  padding: 20px;
  background-color: #f8f9fa;
  min-height: calc(100vh - 80px);
}

/*
 * Dashboard Wrapper
 */

.dashboard-wraper {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/*
 * Submit Page Styling
 */

.submit-page {
  padding: 10px;
}

.frm_submit_block {
  background: white;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

.frm_submit_block h3 {
  color: #2c3e50;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
  font-size: 18px;
}

.frm_submit_wrap {
  margin-bottom: 20px;
}

/*
 * Form Styling
 */

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  font-weight: 600;
  color: #495057;
  display: block;
  font-size: 14px;
}

.form-control {
  border: 1px solid #e9ecef;
  border-radius: 6px;
  padding: 12px 15px;
  font-size: 14px;
  transition: all 0.3s;
  background-color: #fff;
}

.form-control:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

/*
 * Select Box Styling
 */

.select--box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background-color: #f8f9fa !important;
}

.select--box select {
  border: none;
  background: transparent;
  width: 100%;
  padding: 12px 15px;
  font-size: 14px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.select--box i {
  position: absolute;
  right: 15px;
  color: #6c757d;
  pointer-events: none;
}

/*
 * Checkbox Styling
 */

.o-features {
  margin-top: 15px;
}

.no-ul-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.no-ul-list li {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  background: #f8f9fa;
  transition: all 0.3s;
}

.no-ul-list li:hover {
  background: #e9ecef;
  border-color: #007bff;
}

.checkbox-custom {
  display: none;
}

.checkbox-custom-label {
  cursor: pointer;
  margin: 0;
  font-size: 14px;
  color: #495057;
  display: flex;
  align-items: center;
  width: 100%;
}

.checkbox-custom-label::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #e9ecef;
  border-radius: 3px;
  margin-right: 10px;
  background: white;
  transition: all 0.3s;
}

.checkbox-custom:checked+.checkbox-custom-label::before {
  background: #007bff;
  border-color: #007bff;
  content: '✓';
  color: white;
  text-align: center;
  line-height: 14px;
  font-size: 12px;
  font-weight: bold;
}

/*
 * Button Styling
 */

.btn-theme.bg-2 {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.btn-theme.bg-2:hover {
  background: linear-gradient(135deg, #218838, #1ea085);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(40, 167, 69, 0.4);
  color: white;
  text-decoration: none;
}

/*
 * Dashboard Stats
 */

.dashboard_stats_wrap {
  background: white;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
}

.dashboard_stats_wrap:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.dashboard_stats_wrap_content h4 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: #2c3e50;
}

.dashboard_stats_wrap_content span {
  color: #6c757d;
  font-size: 14px;
  font-weight: 500;
}

.dashboard_stats_wrap-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

.widget-1 .dashboard_stats_wrap-icon {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

.widget-2 .dashboard_stats_wrap-icon {
  background: linear-gradient(135deg, #28a745, #20c997);
}

.widget-4 .dashboard_stats_wrap-icon {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
}

/*
 * Card Styling
 */

.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  border: none;
}

.card-header {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding: 20px 25px;
  border-radius: 8px 8px 0 0;
}

.card-header h4 {
  margin: 0;
  color: #2c3e50;
  font-weight: 600;
}

.card-body {
  padding: 25px;
}

/*
 * Textarea Styling
 */

.h-120 {
  min-height: 120px;
  resize: vertical;
}

/*
 * Responsive Adjustments
 */

@media (max-width: 768px) {

  .col-lg-10.col-md-8.col-sm-12,
  .col-lg-9.col-md-8.col-sm-12 {
    margin-left: 0;
    width: 100%;
  }

  .submit-page {
    padding: 15px;
  }

  .frm_submit_block {
    padding: 20px;
  }

  .no-ul-list {
    grid-template-columns: 1fr;
  }

  .dashboard_stats_wrap {
    flex-direction: column;
    text-align: center;
  }

  .dashboard_stats_wrap-icon {
    margin-top: 15px;
  }
}

/*
 * Properties List Page Specific Styles
 */

.frm_submit_block {
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.frm_submit_block h4 {
  margin: 0;
  color: #2c3e50;
  font-weight: 600;
}

.btn-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filterspace__controls .nav-pills {
  border: 1px solid #e9ecef;
  border-radius: 6px;
  overflow: hidden;
}

.filterspace__controls .nav-link {
  border: none;
  border-radius: 0;
  padding: 8px 16px;
  color: #6c757d;
  background: transparent;
  transition: all 0.3s;
}

.filterspace__controls .nav-link:hover,
.filterspace__controls .nav-link.active {
  background-color: #007bff;
  color: white;
}

.btn-theme.bg-2 {
  background-color: #28a745;
  border-color: #28a745;
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-theme.bg-2:hover {
  background-color: #218838;
  border-color: #1e7e34;
  color: white;
}

.filt_link {
  color: #6c757d;
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  transition: all 0.3s;
}

.filt_link:hover {
  background-color: #f8f9fa;
  color: #495057;
  text-decoration: none;
}

/*
 * Search Bar Styling
 */

.search {
  position: relative;
  max-width: 500px;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 12px 50px 12px 16px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.search-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-icon {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background: #007bff;
  border: none;
  border-radius: 0 8px 8px 0;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-icon:hover {
  background: #0056b3;
}

/*
 * Table Styling
 */

.table-responsive {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.table {
  margin-bottom: 0;
}

.table thead th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
  color: #495057;
  font-weight: 600;
  padding: 15px 12px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.table tbody td {
  padding: 15px 12px;
  vertical-align: middle;
  border-bottom: 1px solid #e9ecef;
}

.table tbody tr:hover {
  background-color: #f8f9fa;
}

.table tbody a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.table tbody a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/*
 * Pagination Styling
 */

.pagination {
  margin: 20px 0 0 0;
  justify-content: flex-start;
}

.pagination .page-link {
  color: #007bff;
  border: 1px solid #e9ecef;
  padding: 8px 12px;
  margin: 0 2px;
  border-radius: 4px;
  transition: all 0.3s;
}

.pagination .page-link:hover {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

.pagination .page-item.active .page-link {
  background-color: #007bff;
  border-color: #007bff;
  color: white;
}

/*
 * Responsive Adjustments
 */

@media (max-width: 768px) {
  .property_dashboard_navbar {
    width: 100%;
    height: auto;
    position: relative;
    top: 0;
  }

  .col-lg-10.col-md-8.col-sm-12 {
    margin-left: 0;
    width: 100%;
  }

  .btn-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .filterspace__controls {
    order: 1;
  }

  .search {
    max-width: 100%;
  }
}