/*
  Theme Name: EstateAgency
  Theme URL: https://bootstrapmade.com/real-estate-agency-bootstrap-template/
  Author: BootstrapMade.com
  License: https://bootstrapmade.com/license/
*/

/*======================================
//--//-->   STYLES GENERALES
======================================*/

@font-face {
    font-family: Gellix;
    src: url("../assets/fonts/gellix/GellixRegular.otf") format("opentype");
}

@font-face {
    font-family: Gellix;
    font-weight: bold;
    src: url("../assets/fonts/gellix/GellixBold.otf") format("opentype");
}


body {
  font-family: 'Gellix', Arial;
  color: #555555;
}

.site-name {
  max-width: 120px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000000;
}

a {
  color: #000000;
  transition: all .5s ease;
}

a:hover {
  color: #0091FF;
  text-decoration: none;
}

.link-two {
  color: #000000;
  transition: all .5s ease;
}

.link-two:hover {
  text-decoration: underline;
  color: #000000;
}

.link-one {
  color: #000000;
  transition: all .5s ease;
}

.link-one:hover {
  color: #000000;
  text-decoration: none;
}

.link-icon {
  color: #000000;
  font-weight: 500;
}

.link-icon span {
  font-size: 14px;
  padding-left: 4px;
  vertical-align: middle;
}

.link-a {
  color: #ffffff;
  text-decoration: none;
}

.link-a:hover {
  color: #ffffff;
  text-decoration: none;
}

.link-a span {
  font-size: 18px;
  vertical-align: middle;
  margin-left: 5px;
}

.text-brand {
  color: #0091FF;
  font-family: "Josefin Sans";
  font-size: 2rem;
  font-weight: 600;
}

.color-a {
  color: #0091FF;
}

.color-b {
  color: #8F8F8F;
}

.color-d {
  color: #adadad;
}

.color-text-a {
  color: #555555;
}

.no-margin {
  margin: 0;
}

/*------/ Nav Pills  /------*/

.nav-pills-a.nav-pills .nav-link {
  color: #000000;
  position: relative;
  font-weight: 600;
}

.nav-pills-a.nav-pills .nav-link.active {
  background-color: transparent;
}

.nav-pills-a.nav-pills .nav-link.active:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background-color: #0091FF;
  z-index: 2;
}

/*------/ Bg Image /------*/

.bg-image {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
}

/*------/ List a /------*/

.list-a {
  display: inline-block;
  line-height: 2;
  padding: 0;
  list-style: none;
}

.list-a li {
  position: relative;
  width: 50%;
  float: left;
  padding-left: 25px;
  padding-right: 5px;
}

.list-a li:before {
  content: '';
  width: 10px;
  height: 2px;
  position: absolute;
  background-color: #313131;
  top: 15px;
  left: 0;
}

/*------/ Pagination-a /------*/

.pagination-a .pagination .page-link {
  margin: 0 .2rem;
  border-color: transparent;
  padding: .5rem .8rem;
  color: #000000;
}

.pagination-a .pagination .page-link:hover,
.pagination-a .pagination .page-link:active,
.pagination-a .pagination .page-link:focus {
  background-color: #0091FF;
}

.pagination-a .pagination .page-link span {
  font-size: 1.2rem;
}

.pagination-a .pagination .next .page-link {
  padding: .4rem .9rem;
}

.pagination-a .pagination .page-item:last-child .page-link {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.pagination-a .pagination .page-item:first-child .page-link {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.pagination-a .pagination .page-item.disabled .page-link {
  padding: .4rem .9rem;
  color: #555555;
}

.pagination-a .pagination .page-item.active .page-link {
  background-color: #0091FF;
}

.a {
  color: #0091FF;
  font-size: 1.3rem;
}

/*------/ Icon Box /------*/

.icon-box .icon-box-icon {
  display: table-cell;
  vertical-align: top;
  font-size: 36px;
  color: #000000;
  width: 50px;
  padding-top: 8px;
}

.icon-box .icon-box-content {
  padding-top: 18px;
}

/*------/ Space Padding /------*/

.section-t8 {
  padding-top: 8rem;
}

.section-t4 {
  padding-top: 4rem;
}

.section-t3 {
  padding-top: 3rem;
}

.section-b2 {
  padding-bottom: 2rem;
}

.section-tb85 {
  padding: 8rem 0 5rem 0;
}

/*------/ Title /------*/

.title-wrap {
  padding-bottom: 4rem;
}

.title-a {
  font-size: 2.6rem;
  font-weight: 600;
}

.title-link {
  font-size: 1.2rem;
  font-weight: 300;
  padding-top: 1.2rem;
}

.title-link a {
  color: #313131;
}

.title-link span {
  font-size: 20px;
  padding-left: 4px;
  vertical-align: middle;
}

.title-box-d {
  padding-bottom: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
}

.title-box-d .title-d {
  font-weight: 600;
  font-size: 2rem;
}

.title-box-d .title-d:after {
  content: '';
  position: absolute;
  width: 70px;
  height: 4px;
  background-color: #0091FF;
  bottom: 20px;
  left: 0;
}

/*------/ Display Table & Table Cell /------*/

.display-table {
  width: 100%;
  height: 100%;
  display: table;
}

.table-cell {
  display: table-cell;
  vertical-align: middle;
}

/*------/ Ul Resect /------*/

.ul-resect ul,
.list-a ul,
.box-comments ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

/*------/ Overlay /------*/

.overlay-a {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 27%, rgba(0, 0, 0, 0.65) 90%);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0px;
  padding: 0;
  height: 100%;
  width: 100%;
}

/*------/ Owl carousel /------*/

.owl-theme .owl-dots {
  text-align: center;
  margin-top: 18px;
}

.owl-theme .owl-dots .owl-dot {
  display: inline-block;
}

.owl-theme .owl-dots .owl-dot span {
  width: 16px;
  height: 9px;
  margin: 5px 5px;
  background: #000000;
  border: 0px solid #000000;
  display: block;
  transition: all 0.6s ease-in-out;
  cursor: pointer;
  border-radius: 0px;
}

.owl-theme .owl-dots .owl-dot:hover span {
  background-color: #0091FF;
}

.owl-theme .owl-dots .owl-dot.active span {
  background-color: #0091FF;
  width: 35px;
}

.owl-arrow .owl-nav {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.8rem;
}

.owl-arrow .owl-nav .owl-prev,
.owl-arrow .owl-nav .owl-next {
  display: inline-block;
  transition: all 0.6s ease-in-out;
  color: #000000;
}

.owl-arrow .owl-nav .owl-prev.disabled,
.owl-arrow .owl-nav .owl-next.disabled {
  transition: all 0.6s ease-in-out;
  color: #adadad;
}

.owl-arrow .owl-nav .owl-next {
  margin-left: 15px;
}

.nav-arrow-a .owl-arrow .owl-nav {
  font-size: 1.8rem;
  margin-top: -110px;
}

.nav-arrow-a .owl-arrow .owl-nav .owl-next {
  margin-left: 15px;
}

.nav-arrow-b .owl-arrow .owl-nav {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.2rem;
}

.nav-arrow-b .owl-arrow .owl-nav .owl-prev,
.nav-arrow-b .owl-arrow .owl-nav .owl-next {
  padding: .7rem 1.5rem !important;
  display: inline-block;
  transition: all 0.6s ease-in-out;
  color: #ffffff;
  background-color: #0091FF;
  opacity: .9;
}

.nav-arrow-b .owl-arrow .owl-nav .owl-prev.disabled,
.nav-arrow-b .owl-arrow .owl-nav .owl-next.disabled {
  transition: all 0.6s ease-in-out;
  color: #ffffff;
}

.nav-arrow-b .owl-arrow .owl-nav .owl-prev:hover,
.nav-arrow-b .owl-arrow .owl-nav .owl-next:hover {
  background-color: #26a356;
}

.nav-arrow-b .owl-arrow .owl-nav .owl-next {
  margin-left: 0px;
}

/*------/ Socials /------*/

.socials-a .list-inline-item:not(:last-child) {
  margin-right: 25px;
}

/* Back to top button */

.back-to-top {
  position: fixed;
  display: none;
  background: #0091FF;
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  padding-top: 12px;
  color: #fff;
}

/* Prelaoder */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #0091FF;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/*======================================
//--//-->   NAVBAR
======================================*/

.navbar-default {
  transition: all .5s ease-in-out;
  background-color: #ffffff;
  padding-top: 28px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.navbar-default .nav-search {
  color: #000000;
  font-size: 1.5rem;
}

.navbar-default.navbar-reduce {
}

.navbar-default.navbar-trans,
.navbar-default.navbar-reduce {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.navbar-default.navbar-trans .nav-item,
.navbar-default.navbar-reduce .nav-item {
  position: relative;
  padding-right: 10px;
  padding-bottom: 8px;
  margin-left: 0;
}

.navbar-default.navbar-trans .nav-link,
.navbar-default.navbar-reduce .nav-link {
  font-size: 0.9rem;
  color: #000000;
  font-weight: 600;
  letter-spacing: 0.030em;
  transition: all 0.1s ease-in-out;
  position: relative;
  padding-left: 0;
  padding-right: 0;
}

.navbar-default.navbar-trans .nav-link:before,
.navbar-default.navbar-reduce .nav-link:before {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 0;
  background-color: #0091FF;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: right;
  transform-origin: right;
  transition: opacity .2s ease-out 0.3s, -webkit-transform .2s ease-out;
  transition: transform .2s ease-out, opacity .2s ease-out 0.3s;
  transition: transform .2s ease-out, opacity .2s ease-out 0.3s, -webkit-transform .2s ease-out;
}

.navbar-default.navbar-trans .nav-link:hover,
.navbar-default.navbar-reduce .nav-link:hover {
  color: #000000;
}

.navbar-default.navbar-trans .nav-link:hover:before,
.navbar-default.navbar-reduce .nav-link:hover:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  -webkit-transform-origin: left;
  transform-origin: left;
}

.navbar-default.navbar-trans .show > .nav-link:before,
.navbar-default.navbar-trans .active > .nav-link:before,
.navbar-default.navbar-trans .nav-link.show:before,
.navbar-default.navbar-trans .nav-link.active:before,
.navbar-default.navbar-reduce .show > .nav-link:before,
.navbar-default.navbar-reduce .active > .nav-link:before,
.navbar-default.navbar-reduce .nav-link.show:before,
.navbar-default.navbar-reduce .nav-link.active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}

.navbar-default.navbar-trans .nav-link:before {
  background-color: #0091FF;
}

.navbar-default.navbar-trans .nav-link:hover {
  color: #000000;
}

.navbar-default.navbar-trans .show > .nav-link,
.navbar-default.navbar-trans .active > .nav-link,
.navbar-default.navbar-trans .nav-link.show,
.navbar-default.navbar-trans .nav-link.active {
  color: #000000;
}

.navbar-default.navbar-reduce {
  transition: all .5s ease-in-out;
  padding-top: 19px;
  padding-bottom: 19px;
}

.navbar-default.navbar-reduce .nav-link {
  color: #000000;
}

.navbar-default.navbar-reduce .nav-link:before {
  background-color: #0091FF;
}

.navbar-default.navbar-reduce .nav-link:hover {
  color: #000000;
}

.navbar-default.navbar-reduce .show > .nav-link,
.navbar-default.navbar-reduce .active > .nav-link,
.navbar-default.navbar-reduce .nav-link.show,
.navbar-default.navbar-reduce .nav-link.active {
  color: #000000;
}

.navbar-default.navbar-reduce .navbar-brand {
  color: #000000;
}

.navbar-default .dropdown .dropdown-menu {
  border-top: 0;
  border-left: 4px solid #0091FF;
  border-right: 0;
  border-bottom: 0;
  -webkit-transform: translate3d(0px, -40px, 0px);
  transform: translate3d(0px, -40px, 0px);
  opacity: 0;
  filter: alpha(opacity=0);
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.3, 0.65, 0.355, 1) 0s, opacity 0.31s ease 0s, height 0s linear 0.36s;
  margin: 0;
  border-radius: 0;
  padding: 12px 0;
}

.navbar-default .dropdown .dropdown-menu .dropdown-item {
  padding: 12px 18px;
  transition: all 500ms ease;
  font-weight: 600;
  min-width: 220px;
}

.navbar-default .dropdown .dropdown-menu .dropdown-item:hover {
  background-color: #ffffff;
  color: #0091FF;
  transition: all 500ms ease;
}

.navbar-default .dropdown .dropdown-menu .dropdown-item.active {
  background-color: #ffffff;
  color: #0091FF;
}

.navbar-default .dropdown:hover .dropdown-menu {
  -webkit-transform: translate3d(0px, 0px, 0px);
  transform: translate3d(0px, 0px, 0px);
  visibility: visible;
  opacity: 1;
  filter: alpha(opacity=1);
}

/*------/ Hamburger Navbar /------*/

.navbar-toggler {
  position: relative;
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: 0;
}

.navbar-toggler span {
  display: block;
  background-color: #000000;
  height: 3px;
  width: 25px;
  margin-top: 4px;
  margin-bottom: 4px;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  left: 0;
  opacity: 1;
}

.navbar-toggler span:nth-child(1),
.navbar-toggler span:nth-child(3) {
  transition: -webkit-transform .35s ease-in-out;
  transition: transform .35s ease-in-out;
  transition: transform .35s ease-in-out, -webkit-transform .35s ease-in-out;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
  position: absolute;
  left: 12px;
  top: 10px;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
  opacity: 0.9;
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
  height: 12px;
  visibility: hidden;
  background-color: transparent;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
  position: absolute;
  left: 12px;
  top: 10px;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
  opacity: 0.9;
}

/*======================================
//--//-->   BOX COLAPSE
======================================*/

.box-collapse {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  z-index: 1040;
  background-color: #ffffff;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  transition: all 0.6s ease;
}

.box-collapse .title-box-d {
  top: 30px;
  left: 60px;
  opacity: 0;
  transition: all 1s ease;
  transition-delay: .3s;
}

.box-collapse-wrap {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 6.5rem;
  bottom: 5rem;
  padding-left: 10%;
  padding-right: 10%;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  -webkit-transform: translateY(3rem);
  transform: translateY(3rem);
  transition: opacity 0.5s 0.5s ease, -webkit-transform 0.5s 0.5s ease;
  transition: transform 0.5s 0.5s ease, opacity 0.5s 0.5s ease;
  transition: transform 0.5s 0.5s ease, opacity 0.5s 0.5s ease, -webkit-transform 0.5s 0.5s ease;
}

.box-collapse-open .click-closed {
  visibility: visible;
}

.box-collapse-open .box-collapse {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
}

.box-collapse-open .box-collapse .title-box-d {
  -webkit-transform: translate(0);
  transform: translate(0);
  opacity: 1;
}

.box-collapse-open .box-collapse-wrap {
  -webkit-transform: translate(0);
  transform: translate(0);
  opacity: 1;
}

.box-collapse-closed .box-collapse {
  opacity: .7;
  transition-delay: 0s;
}

.box-collapse-closed .box-collapse .title-box-d {
  opacity: 0;
  transition-delay: 0s;
}

.box-collapse-closed .box-collapse .form-a {
  opacity: 0;
  transition-delay: 0s;
}

.click-closed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  z-index: 1035;
  background-color: #000000;
  opacity: .4;
}

.close-box-collapse {
  position: absolute;
  z-index: 1050;
  top: 2rem;
  font-size: 3.5rem;
  line-height: 1;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.right-boxed {
  right: 4.2857rem;
}

/*======================================
//--//-->   INTRO
======================================*/

.intro {
  height: 100vh;
  position: relative;
  color: #ffffff;
}

.intro .owl-theme .owl-dots {
  position: absolute;
  bottom: 70px;
  right: 50px;
}

.intro .owl-theme .owl-dots .owl-dot span {
  background: #ffffff;
  border: 0px solid #ffffff;
}

.intro .owl-theme .owl-dots .owl-dot:hover span {
  background-color: #0091FF;
}

.intro .owl-theme .owl-dots .owl-dot.active span {
  background-color: #0091FF;
}

.intro .intro-item {
  padding-top: 2rem;
}

.intro .carousel-item-a {
  position: relative;
  height: 100vh;
}

.intro .carousel-item-a.bg-image {
  background-attachment: scroll;
}

.intro .intro-content {
  position: absolute;
}

.intro .intro-body {
  padding-left: 1rem;
}

.intro .intro-body .price-a {
  color: #ffffff;
  padding: 1rem 1.5rem;
  border: 2px solid #0091FF;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.030em;
}

.intro .spacial {
  -webkit-animation-delay: .2s;
  animation-delay: .2s;
  color: #ffffff;
}

.intro .intro-title-top {
  -webkit-animation-delay: .6s;
  animation-delay: .6s;
  margin-bottom: 1rem;
  font-size: .9rem;
  color: #ffffff;
  letter-spacing: .05em;
}

.intro .intro-title {
  transition-duration: 9s !important;
  color: #ffffff;
  font-weight: 700;
  font-size: 2.8rem;
  text-transform: uppercase;
}

.intro .intro-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
}

.intro .intro-subtitle.intro-price {
  padding-top: 1rem;
  font-size: 1.2rem;
}

/*------/ Intro Single /------*/

.intro-single {
  padding: 6rem 0 1rem 0;
}

.intro-single .title-single-box {
  padding: 0rem 0 0rem 1rem;
}

.intro-single .title-single-box {
  border-left: 3px solid #0091FF;
}

.intro-single .title-single-box .title-single {
  font-weight: 600;
  font-size: 2.2rem;
}

.intro-single .breadcrumb-box {
  padding: 1rem 0 0 .5rem;
}

.intro-single .breadcrumb {
  background-color: transparent;
  padding-right: 0;
  padding-left: 0;
}

/*======================================
//--//-->   CARD GENERAL
======================================*/

.card-box-a,
.card-box-b,
.card-box-d {
  position: relative;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card-box-a .img-a,
.card-box-a .img-b,
.card-box-b .img-a,
.card-box-b .img-b {
  transition: .8s all ease-in-out;
}

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

.card-shadow {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card-shadow:before {
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 27%, rgba(0, 0, 0, 0.65) 90%);
}

/*======================================
//--//-->   PROPERTY - CARD-A
======================================*/

.card-overlay-a-content {
  transition: all .5s ease-in;
  position: absolute;
  width: 100%;
  bottom: 0px;
  z-index: 2;
}

.card-header-a {
  padding: 0 1rem;
}

.card-header-a .card-title-a {
  color: #ffffff;
  margin-bottom: 0;
  padding-bottom: .7rem;
}

.card-header-a .card-title-a a {
  color: #ffffff;
  text-decoration: none;
}

.card-body-a {
  z-index: 2;
  transition: all .5s ease-in;
  padding: 0rem 1rem 2rem 1rem;
}

.card-body-a .price-box {
  padding-bottom: .5rem;
}

.price-a {
  color: #ffffff;
  padding: .6rem .8rem;
  border: 2px solid #0091FF;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.030em;
}

.card-footer-a {
  width: 100%;
  position: absolute;
  z-index: 2;
  background-color: #0091FF;
}

.card-info {
  list-style: none;
  margin-bottom: 0;
  padding: .5rem 0;
}

.card-info .card-info-title {
  font-size: 1rem;
  color: #313131;
}

.card-info li span {
  color: #ffffff;
  font-size: .9rem;
}

/*------/ Property Grid /-----*/

.property-grid .grid-option {
  text-align: right;
  margin-bottom: 2rem;
}

.property-grid .grid-option .custom-select {
  border-radius: 0;
  width: 200px;
  border-color: #313131;
}

.property-grid .grid-option .custom-select:hover,
.property-grid .grid-option .custom-select:active,
.property-grid .grid-option .custom-select:focus {
  border-color: #313131;
}

.property-grid .grid-option .custom-select option {
  border-color: #313131;
}

/*------/ Property Single /-----*/

.gallery-property {
  margin-bottom: 3rem;
}

.property-price {
  margin: 0 auto;
}

.property-price .card-header-c {
  padding: 0;
}

.summary-list {
  padding-right: 1rem;
  color: #000000;
}

.summary-list .list {
  padding: 0;
  line-height: 2;
}

.summary-list .list span {
  color: #555555;
}

.property-agent .title-agent {
  font-weight: 600;
}

.property-agent ul {
  line-height: 2;
  color: #000000;
}

.property-agent .socials-a {
  text-align: center;
}

/*======================================
//--//-->   NEWS - CARD-B
======================================*/

.card-header-b {
  padding: 1rem;
  color: #ffffff;
  position: absolute;
  bottom: 20px;
  z-index: 2;
}

.card-header-b .category-b {
  font-size: .9rem;
  background-color: #0091FF;
  padding: .3rem .7rem;
  color: #313131;
  letter-spacing: 0.030em;
  border-radius: 50px;
  text-decoration: none;
}

.card-header-b .title-2 {
  margin-bottom: 0;
  padding: .6rem 0;
  font-size: 1.5rem;
}

.card-header-b .title-2 a {
  color: #ffffff;
  text-decoration: none;
}

.card-header-b .date-b {
  color: #d8d8d8;
  font-size: 1rem;
}

/*------/ News Single /------*/

.post-information {
  padding: 3rem 0;
}

.post-content {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
}

.post-content .post-intro {
  font-size: 1.7rem;
  font-weight: 300;
  margin-bottom: 4rem;
  line-height: 1.6;
  color: #000000;
  font-weight: 400;
}

.post-content p {
  margin-bottom: 1.7rem;
}

.post-content .blockquote {
  padding: 1rem 3rem 1.7rem 3rem;
  border-left: 3px solid #0091FF;
  color: #000000;
}

.post-content .blockquote footer {
  text-align: left;
  padding: 0;
}

.post-footer {
  padding: 3rem 0 4rem;
}

.post-share .socials {
  display: inline-block;
}

.post-share .socials li {
  margin-left: .6rem;
}

/*------/ Comments /------*/

.box-comments .list-comments li {
  padding-bottom: 3.5rem;
}

.box-comments .list-comments .comment-avatar {
  display: table-cell;
  vertical-align: top;
}

.box-comments .list-comments .comment-avatar img {
  width: 80px;
  height: 80px;
}

.box-comments .list-comments .comment-author {
  font-size: 1.3rem;
}

.box-comments .list-comments .comment-details {
  display: table-cell;
  vertical-align: top;
  padding-left: 25px;
}

.box-comments .list-comments .comment-description {
  padding: .8rem 0 .5rem 0;
}

.box-comments .list-comments a {
  color: #000000;
}

.box-comments .list-comments span {
  display: block;
  color: #2B2A2A;
  font-style: italic;
}

.box-comments .comment-children {
  margin-left: 40px;
}

/*======================================
//--//-->   SERVICES - CARD-C
======================================*/

.card-box-c {
  position: relative;
}

.card-header-c {
  padding: 0 1rem 1rem 1rem;
}

.card-body-c {
  padding: .5rem .5rem 0 .5rem;
}

.card-footer-c {
  padding-left: .5rem;
}

.card-box-ico {
  padding: 1rem 3rem 1rem 2.5rem;
  border: 5px solid #0091FF;
}

.card-box-ico span {
  font-size: 4rem;
  color: #000000;
}

.title-c {
  font-size: 2.5rem;
  font-weight: 600;
  margin-left: -40px;
}

/*======================================
//--//-->   AGENTS - CARD-D
======================================*/

.card-box-d .card-overlay-hover {
  transition: all .2s ease-in-out;
  padding: 15px 40px 15px 35px;
}

.card-box-d .title-d {
  transition: .3s ease-in-out;
  font-size: 2rem;
  font-weight: 600;
  margin: 1rem 0;
  -webkit-transform: translateY(-20px);
  transform: translateY(-20px);
  opacity: 0;
}

.card-box-d .content-d {
  opacity: 0;
  transition: .5s ease-in-out;
  -webkit-transform: translateY(-40px);
  transform: translateY(-40px);
}

.card-box-d .info-agents {
  opacity: 0;
  transition: .5s ease-in-out;
}

.card-box-d .card-footer-d {
  transition: .5s ease-in-out;
  -webkit-transform: translateY(40px);
  transform: translateY(40px);
  opacity: 0;
  position: absolute;
  width: 100%;
  bottom: 10px;
  left: 0;
}

.card-box-d .list-inline-item:not(:last-child) {
  margin-right: 25px;
}

.card-box-d:hover .card-overlay-hover {
  background-color: #0091FF;
  opacity: .9;
}

.card-box-d:hover .title-d,
.card-box-d:hover .content-d,
.card-box-d:hover .info-agents,
.card-box-d:hover .card-footer-d {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

/*------/ Agent Single /------*/

.agent-info-box .socials-footer {
  margin-top: 2rem;
}

.agent-info-box .socials-footer li {
  margin-right: 1.5rem;
}

/*======================================
//--//-->   ABOUT
======================================*/

.section-about .title-vertical {
  position: absolute;
  letter-spacing: 0;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  top: 50px;
  text-align: left;
  font-size: 1.8rem;
  width: 300px;
  font-weight: 700;
  text-align: right;
}

.about-img-box {
  padding-left: 1rem;
  position: relative;
}

.sinse-box {
  background-color: #0091FF;
  padding: 1rem 2rem;
  position: absolute;
  left: 15px;
  bottom: 10px;
}

.sinse-box .sinse-title {
  font-weight: 700;
  letter-spacing: 0.043em;
  font-size: 1rem;
}

.sinse-box .sinse-title span {
  position: absolute;
}

.sinse-box .sinse-title span:after {
  content: ' ';
  width: 35px;
  height: 2px;
  background-color: #000000;
  position: absolute;
  bottom: -15px;
}

.sinse-box p {
  margin-bottom: 0;
  font-size: .7rem;
}

/*======================================
//--//-->   TESTIMONIALS
======================================*/

.testimonials-box {
  padding: 1rem 0;
}

.testimonials-box .testimonial-avatar {
  width: 80px !important;
  display: -webkit-inline-box !important;
  display: -webkit-inline-flex !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  border-radius: 50%;
}

.testimonial-ico {
  text-align: center;
}

.testimonial-ico span {
  font-size: 1.8rem;
  background-color: #0091FF;
  color: #ffffff;
  padding: .4rem 1rem;
  border-radius: 50px;
}

.testimonial-text {
  font-style: italic;
  margin-top: 25px;
  padding: 1.5rem 1.5rem;
  background-color: #f3f3f3;
  position: relative;
}

.testimonial-text:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 25px;
  width: 0px;
  height: 0px;
  border-top: 15px solid #f3f3f3;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
}

.testimonial-author-box {
  margin-top: 2rem;
}

.testimonial-author {
  margin-left: 1rem;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 1.2rem;
  color: #000000;
}

/*======================================
//--//-->   FOOTER
======================================*/

.section-footer {
  padding-top: 60px;
  margin-top: 60px;
  background: #f3f3f3;
}

.section-footer ul {
  line-height: 2;
}

.section-footer .item-list-a i {
  font-size: 18px;
  padding-right: 4px;
  color: #0091FF;
}

.section-footer .widget-a .w-title-a {
  margin-bottom: 1rem;
}

footer {
  background: #f3f3f3;
  text-align: center;
  padding: 30px 0;
}

footer .copyright-footer {
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

footer .credits {
  font-size: 14px;
}

/*======================================
//--//-->   FORM INPUT
======================================*/

.form-a #sendmessage {
  color: #0091FF;
  border: 1px solid #26a356;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

.form-a #errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

.form-a #sendmessage.show,
.form-a #errormessage.show,
.form-a .show {
  display: block;
}

.form-a .validation {
  color: red;
  display: none;
  margin: 4px 0 20px 0;
  font-weight: 400;
  font-size: 13px;
}

.form-a label {
  color: #000000;
  position: relative;
}

.form-a select.form-control-lg:not([size]):not([multiple]) {
  height: 3.5rem;
}

.form-a .form-control {
  border-radius: 0;
  font-size: 1.1rem;
  font-weight: 300;
}

.form-a .form-control.form-control-a {
  height: 3.5rem;
}

.form-a .form-control:focus {
  box-shadow: none;
  border-color: #0091FF;
}

/*======================================
//--//-->   BUTTON
======================================*/

.btn {
  transition: .5s ease;
}

.btn.btn-a,
.btn.btn-b {
  border-radius: 0;
  padding: 1rem 3rem;
  letter-spacing: .05rem;
}

.btn.btn-a {
  background-color: #000000;
  color: #ffffff;
}

.btn.btn-a:hover {
  background-color: #0091FF;
  color: #000000;
}

.btn.btn-b {
  background-color: #0091FF;
  color: #000000;
}

.btn.btn-b:hover {
  background-color: #000000;
  color: #ffffff;
}

.btn.btn-b-n {
  background-color: #0091FF;
  color: #ffffff;
  border-radius: 0;
}

.btn.btn-b-n:hover {
  background-color: #26a356;
  color: #ffffff;
}

@media (min-width: 576px) {
  .intro .intro-title {
    font-size: 3.5rem;
  }

  .intro .intro-subtitle.intro-price {
    font-size: 1.3rem;
  }

  .about-img-box {
    padding-left: 4rem;
  }

  .sinse-box {
    padding: 1.5rem 2.5rem;
    bottom: 20px;
  }

  .sinse-box .sinse-title {
    font-size: 1.3rem;
  }

  .sinse-box p {
    font-size: .8rem;
  }

  .sinse-box p {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .link-a {
    font-size: .9rem;
  }

  .link-a span {
    font-size: 1.5rem;
  }

  .navbar-default.navbar-trans .nav-item,
  .navbar-default.navbar-reduce .nav-item {
    margin-left: 15px;
  }

  .navbar-default .dropdown .dropdown-menu {
    border-top: 4px solid #0091FF;
    border-left: 0;
    display: block;
    position: absolute;
  }

  .box-collapse {
    width: 50%;
  }

  .intro .owl-theme .owl-dots {
    right: 200px;
  }

  .intro .intro-body {
    padding-left: 2rem;
  }

  .intro .intro-title-top {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .intro .intro-title {
    font-size: 4rem;
  }

  .intro .intro-subtitle {
    font-size: 2.5rem;
  }

  .intro .intro-subtitle.intro-price {
    padding-top: 2rem;
    font-size: 1.5rem;
  }

  .intro-single .title-single-box .title-single {
    font-size: 2.1rem;
  }

  .grid .card-box-a,
  .grid .card-box-b,
  .grid .card-box-c,
  .grid .card-box-d {
    margin-bottom: 2.5rem;
  }

  .card-box-a:hover .img-a,
  .card-box-a:hover .img-b,
  .card-box-b:hover .img-a,
  .card-box-b:hover .img-b {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }

  .card-box-a .price-a,
  .card-box-b .price-a {
    font-size: .9rem;
  }

  .card-box-a:hover .card-overlay-a-content {
    bottom: 60px;
  }

  .card-box-a:hover .card-body-a {
    padding-bottom: 1rem;
  }

  .card-overlay-a-content {
    bottom: -20px;
  }

  .card-header-a .card-title-a {
    font-size: 1.3rem;
  }

  .card-info .card-info-title {
    font-size: .9rem;
  }

  .card-info li span {
    font-size: .8rem;
  }

  .card-header-b {
    bottom: 0px;
  }

  .card-header-b .title-2 {
    font-size: 1rem;
  }

  .card-header-b .date-b {
    font-size: .9rem;
  }

  .box-comments .list-comments .comment-author {
    font-size: 1.5rem;
  }

  .title-c {
    font-size: 1.8rem;
  }

  .card-box-d .card-overlay-hover {
    padding: 5px 15px 5px 10px;
  }

  .card-box-d .title-d {
    font-size: 1.1rem;
    margin: .5rem 0;
  }

  .card-box-d .content-d {
    font-size: .8rem;
    margin: .5rem 0;
  }

  .card-box-d .card-body-d p {
    margin-bottom: 8px;
    font-size: .8rem;
  }

  .about-img-box {
    padding-left: 5rem;
  }

  .sinse-box {
    padding: 1.5rem 3rem;
  }

  .sinse-box .sinse-title {
    font-size: 1.8rem;
  }
}

@media (min-width: 768px) and (min-width: 768px) {
  .card-box-a:hover .card-overlay-a-content {
    bottom: 60px;
  }
}

@media (min-width: 768px) and (min-width: 992px) {
  .card-box-a:hover .card-overlay-a-content {
    bottom: 64px;
  }
}

@media (min-width: 992px) {
  .link-a {
    font-size: 1rem;
  }

  .link-a span {
    font-size: 18px;
  }

  .list-a li {
    width: 33.333%;
  }

  .intro .intro-title-top {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .intro .intro-title {
    font-size: 4.5rem;
  }

  .intro .intro-subtitle.intro-price {
    padding-top: 3rem;
  }

  .intro-single .title-single-box .title-single {
    font-size: 2.5rem;
  }

  .card-box-a .price-a,
  .card-box-b .price-a {
    font-size: 1rem;
  }

  .card-overlay-a-content {
    bottom: 0px;
  }

  .card-header-a .card-title-a {
    font-size: 2rem;
  }

  .card-info .card-info-title {
    font-size: 1rem;
  }

  .card-info li span {
    font-size: 1rem;
  }

  .card-header-b {
    bottom: 20px;
  }

  .card-header-b .title-2 {
    font-size: 1.6rem;
  }

  .card-header-b .date-b {
    font-size: 1rem;
  }

  .title-c {
    font-size: 2.5rem;
  }

  .card-box-d .card-overlay-hover {
    padding: 5px 40px 5px 35px;
  }

  .card-box-d .title-d {
    font-size: 1.5rem;
    margin: 1rem 0;
  }

  .card-box-d .card-body-d p {
    margin-bottom: 12px;
    font-size: 1rem;
  }

  .sinse-box {
    padding: 3rem 4.5rem;
  }

  .sinse-box .sinse-title {
    font-size: 2.2rem;
  }
}

@media (min-width: 1200px) {
  .card-box-d .card-overlay-hover {
    padding: 15px 40px 5px 35px;
  }

  .card-box-d .title-d {
    font-size: 2rem;
    margin: 1rem 0;
  }
}

@media (max-width: 991px) {
  .property-contact {
    margin-top: 2.5rem;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
}

@media (max-width: 767px) {
  .text-brand {
    font-size: 1.8rem;
  }

  .section-t8 {
    padding-top: 4rem;
  }

  .section-t4 {
    padding-top: 2rem;
  }

  .section-md-t3 {
    padding-top: 3rem;
  }

  .section-tb85 {
    padding: 4rem 0 2.5rem 0;
  }

  .intro-single {
    padding-top: 9rem;
  }

  .card-box-a,
  .card-box-b,
  .card-box-c,
  .card-box-d {
    margin-bottom: 2.5rem;
  }

  .card-box-a .card-overlay-a-content {
    bottom: 65px;
  }

  .card-box-a .card-body-a {
    padding-bottom: 1rem;
  }

  .property-agent {
    margin-top: 2.5rem;
  }

  .card-box-c {
    margin-bottom: 2rem;
  }

  .card-body-c {
    padding: 0;
  }
}

@media (max-width: 575px) {
  .box-collapse .title-box-d {
    left: 35px;
  }

  .box-collapse .title-box-d .title-d {
    font-size: 1.3rem;
  }
}

.report-container {
    border: 5px solid #efefef;
    padding: 20px;
    padding-top:30px;
    border-radius: 15px;
}

.tables{
  font-size:12px;
}


/*working on tags*/
.tag-success{
  border: 2px solid limegreen;
  color : limegreen;
  padding: 2px 6px;
  border-radius: 3px;
}

.tag-pending{
  border: 2px solid dodgerblue;
  color : dodgerblue;
  padding: 2px 6px;
  border-radius: 3px;
}

.tag-error{
    border: 2px solid red;
    color : red;
    padding: 2px 6px;
    border-radius: 3px;
}
/*end working tags*/

p,div{
  font-size : 12px;
}

.btn-sm{
  font-size:12px;
}


.slot_sep {
    border-left: 3px solid lightgrey;
    padding-left: 5px;
}

.sub_button {
    border: 2px solid lightgrey;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    color: #ababab;
}
.sub_button_danger {
    border: 2px solid lightcoral;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    color: lightcoral;
}

.sub_button_messages {
    border:none ;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    color: #007bff;
    background-color: #82bfff;
}


.sub_button:hover {
    border: 2px solid #121212;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    color: #121212;
}

.sub_button_danger:hover {
    border: 2px solid darkred;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
    color: darkred;
}



.smalled {
    font-size: 10px;
    display: block;
    color: lightgrey;
    padding-top: 5px;
}
.lightgreyish {
    color: #cecece;
}
.limit {
    margin-top: -3px;
    margin-bottom: 2px;
    font-size: 14px;
}

html{
    font-family: "Muli";
}

#logo{
    text-align: center;
}

@font-face {
    font-family: Muli;
    src: url("../static/fonts/Muli/static/Muli-Regular.ttf") format("truetype");
}



@font-face {
    font-family: Muli;
    font-weight: bold;
    src: url("../static/fonts/Muli/static/Muli-Bold.ttf") format("truetype");
}
.slot_sep{
    border-left: 3px solid lightgrey;
    padding-left: 5px;
}
.sub_button{
    border:2px solid #121212;
    padding: 2px 8px;
    border-radius:4px;
    font-weight: 800;
    color:#121212;
}
.sub_button_danger{
    border:2px solid lightcoral;
    padding: 2px 8px;
    border-radius:4px;
    font-weight: 800;
    color:lightcoral;
}

.sub_button_primary{
    border:2px solid dodgerblue;
    padding: 2px 8px;
    border-radius:4px;
    font-weight: 800;
    color:dodgerblue;

}

.sub_button_success{
    border:2px solid green;
    padding: 2px 8px;
    border-radius:4px;
    font-weight: 800;
    color:green;
    cursor: pointer;
}

.sub_button:hover{
    border:2px solid darkgray;
    padding: 2px 8px;
    border-radius:4px;
    font-weight: 800;
    color:#121212;
}
.sub_button_primary:hover{
    border:2px solid darkblue;
    padding: 2px 8px;
    border-radius:4px;
    font-weight: 800;
    color:darkblue;

}
.sub_button_success:hover{
    border:2px solid darkgreen;
    padding: 2px 8px;
    border-radius:4px;
    font-weight: 800;
    color:darkgreen;
    cursor: pointer;
}
.sub_button_danger:hover{
    border:2px solid darkred;
    padding: 2px 8px;
    border-radius:4px;
    font-weight: 800;
    color:darkred;
}
.smalled{
    font-size: 10px;
    display: block;
    color: lightgrey;
    padding-top:5px;
}
.lightgreyish{
    color:#cecece;
}
.limit{
    margin-top:-3px;
    margin-bottom:2px;
    font-size:14px;
}
/* ======================================
   Simpower UI Enhancements
   ====================================== */

/* Status badges */
.badge-success  { background-color: #28a745; color: #fff; }
.badge-danger   { background-color: #dc3545; color: #fff; }
.badge-warning  { background-color: #ffc107; color: #212529; }
.badge-info     { background-color: #17a2b8; color: #fff; }
.badge-primary  { background-color: #0091FF; color: #fff; }
.badge-secondary{ background-color: #6c757d; color: #fff; }
.badge-dark     { background-color: #343a40; color: #fff; }

/* Make badges slightly larger for readability in tables */
.badge {
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

/* Table header clean look */
.thead-light th {
  background-color: #f8f9fa;
  color: #495057;
  font-weight: 600;
  border-color: #dee2e6;
  white-space: nowrap;
}

/* Consistent action buttons in tables */
.btn-sm {
  padding: 2px 8px;
  font-size: 12px;
}

/* Empty state in tables */
table td.text-center.py-4 i.fa-2x {
  opacity: 0.3;
}

/* Stat card icon spacing */
.card .fa-2x {
  opacity: 0.85;
}

/* Nav active indicator */
.navbar-nav .nav-item.active .nav-link {
  color: #0091FF !important;
  font-weight: 600;
}

/* Dropdown active item */
.dropdown-item.active {
  background-color: #e8f4ff;
  color: #0091FF;
  font-weight: 600;
}

/* Section intro bar */
.intro-single {
  padding: 12px 0 8px;
  background: #fff;
  border-bottom: 1px solid #e9ecef;
  margin-bottom: 0;
}

.title-single-box h5 {
  margin: 0;
  font-size: 15px;
}

/* Password mask toggle */
.pw-mask {
  font-family: monospace;
  letter-spacing: 2px;
  font-size: 13px;
}

/* Navbar brand logo alignment */
.navbar-brand img {
  vertical-align: middle;
}

/* ============================================================
   SIMPOWER SLEEK 2.0 — Complete Visual Overhaul
   ============================================================ */

/* --- Base --- */
body {
  background-color: #f0f4f8;
  color: #2d3748;
}

/* --- Navbar --- */
.navbar-trans {
  background: #ffffff !important;
}
.navbar-brand img {
}
.navbar-nav .nav-link {
  color: #4a5568 !important;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link:hover {
  color: #0091FF !important;
  background: rgba(0,145,255,0.08);
}
.navbar-nav .nav-link.text-danger {
  color: #e53e3e !important;
}
.navbar-nav .nav-link.text-danger:hover {
  background: rgba(229,62,62,0.08);
}

/* --- Dropdown --- */
.dropdown-menu {
  min-width: 200px;
}
.dropdown-item {
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 0.85rem;
  color: #4a5568;
  transition: background 0.12s;
}
.dropdown-item:hover,
.dropdown-item:focus {
  color: #0091FF;
}
.dropdown-item.active,
.dropdown-item:active {
  color: #0091FF !important;
  font-weight: 600;
}

/* --- Page header bar --- */
.intro-single {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
.title-single-box h5 {
  margin: 0;
  color: #718096;
}
.title-single-box h5 i {
  color: #0091FF;
}

/* --- Cards --- */
.card {
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  transform: translateY(-1px);
}

/* --- Stat Cards --- */
.stat-card {
  border-left: 3px solid #e2e8f0 !important;
}
.stat-card.sc-primary { border-left-color: #0091FF !important; }
.stat-card.sc-success  { border-left-color: #28a745 !important; }
.stat-card.sc-info     { border-left-color: #17a2b8 !important; }
.stat-card.sc-warning  { border-left-color: #ffc107 !important; }
.stat-card.sc-danger   { border-left-color: #dc3545 !important; }

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.bg-primary-soft { background: rgba(0,145,255,0.10); }
.bg-success-soft { background: rgba(40,167,69,0.10); }
.bg-info-soft    { background: rgba(23,162,184,0.10); }
.bg-warning-soft { background: rgba(255,193,7,0.12); }
.bg-danger-soft  { background: rgba(220,53,69,0.10); }

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: #2d3748;
}
.stat-label {
  font-size: 0.72rem;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* --- Table card wrapper --- */
.sp-table-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.sp-table-card .table {
  margin-bottom: 0;
}

/* --- Tables --- */
.table {
  background: #ffffff;
}
.table thead th {
  background: #0091FF !important;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}
/* Override thead-light when inside sp-table-card */
.sp-table-card .thead-light th {
  background: #0091FF !important;
  color: #ffffff !important;
}
.table tbody tr {
  transition: background 0.12s;
}
.table tbody tr:hover {
  background-color: #f7fbff !important;
}
.table tbody td {
  border-top: 1px solid #f0f4f8 !important;
  font-size: 0.83rem;
  color: #2d3748;
}
.table-bordered {
}
.table-bordered td,
.table-bordered th {
  border-bottom: 1px solid #f0f4f8 !important;
}

/* --- Nav Tabs (underline style) --- */
.nav-tabs {
  border-bottom: 2px solid #e2e8f0 !important;
  background: transparent;
}
.nav-tabs .nav-link {
  color: #718096;
  font-size: 0.83rem;
  font-weight: 500;
  padding: 8px 16px;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}
.nav-tabs .nav-link:hover {
  color: #0091FF;
}
.nav-tabs .nav-link.active {
  color: #0091FF !important;
  font-weight: 600;
  border-bottom: 2px solid #0091FF !important;
}

/* --- Badges (soft-color style) --- */
.badge {
  letter-spacing: 0.2px;
}

/* --- Buttons --- */
.btn {
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.15s;
}
.btn-sm {
}
.btn-primary {
  background-color: #0091FF !important;
  border-color: #0091FF !important;
}
.btn-primary:hover {
  background-color: #0077d6 !important;
  border-color: #0077d6 !important;
}
.btn-block {
}

/* --- Alerts --- */
.alert {
  font-size: 0.875rem;
}
.alert-success { border-left-color: #28a745 !important; background: rgba(40,167,69,0.07)  !important; color: #155724; }
.alert-danger  { border-left-color: #dc3545 !important; background: rgba(220,53,69,0.07)  !important; color: #721c24; }
.alert-warning { border-left-color: #ffc107 !important; background: rgba(255,193,7,0.08)  !important; color: #856404; }
.alert-info    { border-left-color: #17a2b8 !important; background: rgba(23,162,184,0.07) !important; color: #0c5460; }

/* --- Pagination --- */
.pagination .page-item .page-link {
  background: transparent;
  color: #4a5568;
  margin: 0 2px;
  padding: 6px 12px;
  font-size: 0.83rem;
  transition: background 0.12s, color 0.12s;
}
.pagination .page-item.active .page-link {
  background: #0091FF !important;
  color: #fff !important;
}
.pagination .page-item.disabled .page-link {
  color: #cbd5e0 !important;
}
.pagination .page-item .page-link:hover {
  color: #0091FF !important;
}

/* --- Form inputs --- */
.form-control {
  border: 1.5px solid #e2e8f0 !important;
  font-size: 0.875rem;
  padding: 0.45rem 0.75rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-control:focus {
  border-color: #0091FF !important;
}

/* --- Login page --- */
.login-wrapper {
  display: flex;
  min-height: 100vh;
}
.login-brand {
  width: 42%;
  background: linear-gradient(145deg, #0091FF 0%, #005cb2 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.login-brand::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.login-brand::before {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.login-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: #f8fafc;
}
@media (max-width: 767px) {
  .login-form-panel { padding: 32px 20px; }
}

/* Borrow & status pages */
.borrow-wrapper {
  min-height: 100vh;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.borrow-card {
  width: 100%;
  max-width: 460px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 36px;
}

/* --- Scrollbar (webkit) --- */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: #f0f4f8; }
::-webkit-scrollbar-thumb { background: #cbd5e0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #0091FF; }

/* --- Empty state --- */
table td.text-center.py-4 i.fa-2x {
  color: #0091FF;
}


/* ============================================================
   SIMPOWER — SIDEBAR LAYOUT + FIGMA TABLES
   ============================================================ */

/* ── Layout ── */
.sp-app {
  display: flex;
  min-height: 100vh;
  background: #f0f4f8;
}

/* ── Sidebar ── */
.sp-sidebar {
  width: 240px;
  background: #16192a;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1040;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform 0.25s ease;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.sp-sidebar::-webkit-scrollbar { width: 4px; }
.sp-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }

.sp-sidebar-logo {
  padding: 18px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.sp-sidebar-logo a { text-decoration: none; }
.sp-brand-name {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.2px;
}

.sp-sidebar-nav {
  flex: 1;
  padding: 10px 0 16px;
  overflow-y: auto;
  overflow-x: hidden;
}

.sp-nav-group { }

.sp-nav-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px 5px;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.28);
  font-weight: 700;
  user-select: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.15s;
}
.sp-nav-section:hover { color: rgba(255,255,255,0.5); }

.sp-nav-chevron {
  font-size: 0.55rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.sp-nav-group-body {
  overflow: hidden;
  max-height: 600px;
  transition: max-height 0.25s ease;
}
.sp-nav-no-transition .sp-nav-group-body {
  transition: none !important;
}

.sp-nav-group--collapsed .sp-nav-group-body {
  max-height: 0;
}
.sp-nav-group--collapsed .sp-nav-chevron {
  transform: rotate(-90deg);
}

.sp-nav-list {
  list-style: none;
  margin: 0;
  padding: 0 8px;
}
.sp-nav-item a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.55);
  text-decoration: none !important;
  font-size: 0.84rem;
  font-weight: 500;
  transition: color 0.15s, background 0.15s;
  gap: 11px;
  margin-bottom: 2px;
}
.sp-nav-item a i {
  width: 16px;
  text-align: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}
.sp-nav-item a span { white-space: nowrap; }
.sp-nav-item a:hover {
  color: #fff;
  background: rgba(255,255,255,0.07);
}
.sp-nav-item.active a {
  color: #fff !important;
  background: rgba(0,145,255,0.22) !important;
}
.sp-nav-item.active a i {
  color: #0091FF;
}

/* Sidebar footer */
.sp-sidebar-footer {
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}
.sp-user-info {
  display: flex;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  min-width: 0;
}
.sp-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(0,145,255,0.25);
  color: #5bb8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.sp-user-details { overflow: hidden; }
.sp-user-name {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sp-user-role {
  color: rgba(255,255,255,0.32);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sp-logout-btn {
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
  padding: 6px 7px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
  line-height: 1;
}
.sp-logout-btn:hover {
  color: #ff6b6b;
  background: rgba(255,107,107,0.12);
  text-decoration: none;
}

/* ── Main area ── */
.sp-main {
  margin-left: 240px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-width: 0;
}

/* Mobile topbar — hidden on desktop */
.sp-topbar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 18px;
  display: none;
  align-items: center;
  gap: 14px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.sp-menu-btn {
  background: none;
  border: none;
  color: #4a5568;
  font-size: 1rem;
  padding: 4px 6px;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.15s;
}
.sp-menu-btn:hover { background: #f0f4f8; }

.sp-flash { padding: 16px 24px 0; }
.sp-flash .alert { margin-bottom: 8px; }

.sp-content {
  padding: 24px;
  flex: 1;
}

/* Overlay (mobile) */
.sp-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1039;
  backdrop-filter: blur(2px);
}
.sp-overlay.sp-overlay-show { display: block; }

/* Tabs in status block */
.sp-tabs-bar {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 24px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible !important;
}
.sp-tabs-bar .nav-tabs {
  border-bottom: none !important;
  flex-shrink: 0;
}
.sp-tabs-bar .nav-tabs .nav-link {
  padding: 12px 14px;
  line-height: 1;
}
/* Select / input controls inside the tabs bar */
.sp-tabs-bar .form-control,
.sp-tabs-bar select.form-control {
  height: 32px;
  padding: 3px 10px;
  font-size: 0.825rem;
  border-radius: 6px;
  border: 1px solid #d0d7e2;
  background-color: #f8fafc;
  color: #2d3748;
  min-width: 170px;
  max-width: 220px;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .15s;
}
.sp-tabs-bar .form-control:focus,
.sp-tabs-bar select.form-control:focus {
  border-color: #0091FF;
  box-shadow: 0 0 0 2px rgba(0,145,255,0.15);
  outline: none;
  background-color: #fff;
}
/* General form-control polish across the app */
.form-control,
select.form-control,
textarea.form-control {
  border-radius: 6px !important;
  border-color: #d0d7e2 !important;
}
.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
  border-color: #0091FF !important;
  box-shadow: 0 0 0 3px rgba(0,145,255,0.12) !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
  .sp-sidebar {
    transform: translateX(-100%);
  }
  .sp-sidebar.sp-sidebar-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(0,0,0,0.25);
  }
  .sp-main {
    margin-left: 0;
  }
  .sp-topbar {
    display: flex;
  }
  .sp-content {
    padding: 16px;
  }
}

/* ── Figma-style Tables ── */

/* Override the previous blue header with clean grey */
.table thead th,
.sp-table-card thead th,
.sp-table-card .thead-light th {
  background: #f8f9fc !important;
  color: #64748b !important;
  font-weight: 700 !important;
  font-size: 0.68rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  border: none !important;
  border-bottom: 1px solid #e8edf2 !important;
  padding: 11px 16px !important;
  white-space: nowrap;
}

.table tbody td {
  border-top: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  border-left: none !important;
  border-right: none !important;
  padding: 12px 16px !important;
  font-size: 0.84rem !important;
  color: #334155;
  vertical-align: middle !important;
}
.table tbody tr:last-child td {
  border-bottom: none !important;
}
.table tbody tr:hover td {
  background: #f7fbff;
}
.table-bordered {
  border: none !important;
}
.table-bordered td,
.table-bordered th {
  border: none !important;
}

.sp-table-card {
  border-radius: 12px !important;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04) !important;
}
.sp-table-card .table {
  margin-bottom: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* ── Button Polish ── */
.btn {
  border-radius: 8px !important;
  font-weight: 500 !important;
  letter-spacing: 0.1px;
  transition: all 0.15s !important;
}
.btn-sm {
  padding: 5px 12px !important;
  font-size: 0.78rem !important;
  border-radius: 6px !important;
}
.btn-xs {
  padding: 3px 8px !important;
  font-size: 0.72rem !important;
  border-radius: 5px !important;
}
.btn-primary {
  background: #0091FF !important;
  border-color: #0091FF !important;
  box-shadow: 0 2px 8px rgba(0,145,255,0.25) !important;
}
.btn-primary:hover {
  background: #007fe0 !important;
  border-color: #007fe0 !important;
  box-shadow: 0 4px 12px rgba(0,145,255,0.35) !important;
  transform: translateY(-1px);
}
.btn-danger {
  box-shadow: 0 2px 8px rgba(220,53,69,0.2) !important;
}
.btn-danger:hover { transform: translateY(-1px); }
.btn-warning:hover { transform: translateY(-1px); }
.btn-info:hover { transform: translateY(-1px); }
.btn-secondary:hover { transform: translateY(-1px); }

/* Outline buttons — cleaner */
.btn-outline-primary { color: #0091FF !important; border-color: #0091FF !important; }
.btn-outline-primary:hover { background: #0091FF !important; color: #fff !important; }
.btn-outline-secondary { border-color: #d0d5dd !important; color: #4a5568 !important; }
.btn-outline-secondary:hover { background: #f8f9fa !important; border-color: #adb5bd !important; }

/* ── Nav Tabs refinement ── */
.nav-tabs { border-bottom: 2px solid #e2e8f0 !important; }
.nav-tabs .nav-link {
  border: none !important;
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px 16px;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -2px;
  border-radius: 0 !important;
  transition: color 0.15s, border-color 0.15s;
}
.nav-tabs .nav-link:hover { color: #0091FF; border-bottom-color: rgba(0,145,255,0.3) !important; }
.nav-tabs .nav-link.active {
  color: #0091FF !important;
  font-weight: 600;
  border-bottom: 2px solid #0091FF !important;
  background: transparent !important;
}

/* Pagination */
.pagination .page-item .page-link {
  border: none !important;
  background: transparent;
  color: #64748b;
  border-radius: 6px !important;
  margin: 0 2px;
  padding: 6px 12px;
  font-size: 0.82rem;
  transition: background 0.12s, color 0.12s;
}
.pagination .page-item.active .page-link {
  background: #0091FF !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(0,145,255,0.3);
}
.pagination .page-item.disabled .page-link { color: #cbd5e0 !important; }
.pagination .page-item .page-link:hover { background: rgba(0,145,255,0.08) !important; color: #0091FF !important; }

/* ============================================================
   TABLE — Responsive + Compact
   ============================================================ */

/* Responsive scroll without breaking card border-radius */
.sp-table-card .table-responsive {
  border-radius: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Compact header cells */
.table thead th,
.sp-table-card thead th,
.sp-table-card .thead-light th {
  padding: 9px 14px !important;
  font-size: 0.67rem !important;
}

/* Compact body cells */
.table tbody td {
  padding: 8px 14px !important;
  font-size: 0.81rem !important;
}

/* Keep table-sm even tighter on small screens */
@media (max-width: 767px) {
  .table thead th,
  .sp-table-card thead th {
    padding: 8px 10px !important;
    font-size: 0.65rem !important;
  }
  .table tbody td {
    padding: 7px 10px !important;
    font-size: 0.79rem !important;
  }
  .btn-sm {
    padding: 3px 8px !important;
    font-size: 0.72rem !important;
  }
}

/* Prevent table-responsive from clipping sp-table-card shadow */
.sp-table-card {
  overflow: visible !important;
}
.sp-table-card .table-responsive {
  border-radius: 12px;
  overflow: hidden;
}

/* ============================================================
   OUTLINED BADGE STYLE (screenshot reference)
   + TABLE SCROLL FIX + CELL NOWRAP
   ============================================================ */

/* Outlined badges — transparent bg, coloured border + text */
.badge {
  background: transparent !important;
  border: 1.5px solid currentColor !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  line-height: 1.4;
  display: inline-block;
}
.badge-success   { color: #1a9e3f  !important; }
.badge-danger    { color: #e53935  !important; }
.badge-warning   { color: #c97a00  !important; }
.badge-primary   { color: #0091FF  !important; }
.badge-info      { color: #0097a7  !important; }
.badge-secondary { color: #546e7a  !important; }
.badge-dark      { color: #263238  !important; }

/* Fix table scroll: sp-table-card clips corners, table-responsive scrolls */
.sp-table-card {
  overflow: hidden !important;   /* clips table to rounded corners */
  border-radius: 12px !important;
}
.sp-table-card .table-responsive {
  overflow-x: auto !important;   /* always scrollable */
  overflow-y: visible;
  border-radius: 0 !important;
  -webkit-overflow-scrolling: touch;
}

/* Prevent cell content from wrapping — keeps rows single-line */
.table tbody td {
  white-space: nowrap;
}
/* Allow a few columns to wrap naturally */
.table td.sp-wrap {
  white-space: normal !important;
  min-width: 140px;
}

/* ============================================================
   MOBILE-ONLY IMPROVEMENTS  (≤ 767px)
   – Scrollable tabs bar + stacked controls
   – Table scroll gradient hint
   – Pinch-to-zoom via CSS custom property
   Does NOT affect desktop / tablet (≥ 768px)
   ============================================================ */
@media (max-width: 767px) {

  /* ── 1. Tabs bar: column layout so controls stack below tabs ── */
  .sp-tabs-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  /* Horizontal-scroll tabs row */
  .sp-tabs-bar .nav-tabs {
    overflow-x: auto !important;
    overflow-y: visible !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;            /* Firefox */
    padding: 0 16px;
    width: 100%;
    min-height: 44px;
    align-items: flex-end;
    border-bottom: 1px solid #e2e8f0 !important;
  }
  .sp-tabs-bar .nav-tabs::-webkit-scrollbar { display: none; }
  .sp-tabs-bar .nav-tabs .nav-item  { flex-shrink: 0; }
  .sp-tabs-bar .nav-tabs .nav-link  { white-space: nowrap; padding: 10px 14px; }

  /* Filter forms inside tabs bar → full-width row below tabs */
  .sp-tabs-bar > form {
    padding: 8px 16px;
    border-top: 1px solid #f0f4f8;
    width: 100%;
  }
  /* Action link-buttons inside tabs bar → left-aligned below tabs */
  .sp-tabs-bar > a.btn {
    margin: 8px 16px;
    align-self: flex-start;
  }
  /* Full-width selects / inputs inside tabs bar */
  .sp-tabs-bar .form-control,
  .sp-tabs-bar select.form-control {
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
  }

  /* ── 2. Tables scroll horizontally on mobile ── */
  .sp-table-card .table-responsive {
    overflow-x: auto !important;
    overflow-y: visible;
  }
}
