
.login-body {
  background-image: url('../assets/img/backgrounds/login-bg.jpg') !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.register-body {
  background-image: url('../assets/img/backgrounds/register-bg.jpg') !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.forgot-body {
  background-image: url('../assets/img/backgrounds/forgot-bg.jpg') !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.card-link.btn {
  padding: 0; !important;
}
.card-link.btn:hover {
  transform: scale(1.05); /* Increase the size on hover */
  transition: transform 0.3s ease; /* Add smooth transition */
}

/* Style for the image gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px; /* Gap between images */
}

.image {
    text-align: center;
}

.image img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
}

.image-modal img {
    max-width: 100%;
    height: 150px;
    object-fit: cover;
}

/* The Modal (background) */
#myModal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  /*z-index: 1;  Sit on top */
  padding-top: 85px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
#myModal .modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1100px;
}

/* Caption of Modal Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation */
.modal-content, #caption {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}

.center-video {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.powered-by-logo {
    width: 150px;
    height: auto;
}

/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #4154f1;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: #012970;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.dashboard .orders-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .users-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

.dashboard .floorplans-card .card-icon {
  color: #4154f1;
  background: #f6f6fe;
}

.dashboard .listings-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .communities-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

.card-title span {
  color: #899bbd;
  font-size: 14px;
  font-weight: 400;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 3px solid #F4EBEB;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -3px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #DC3D43;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #fff;
  color: #DC3D43;
  font-weight: 600;
  border-bottom: 3px solid #DC3D43;
}

.nav-tabs-bordered .nav-link.active i {
  background-color: #fff;
  color: #DC3D43;
  font-weight: 600;
}

/* Search Box */
.card-search-form {
  width: 100%;
}

.card-search-form input {
  border: 0;
  font-size: 14px;
  color: #012970;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

.card-search-form input:focus,
.card-search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

.card-search-form button {
  border: 0;
  padding: 0;
  margin-left: -25px;
  margin-top: 8px;
  background: none;
}

.card-search-form button i {
  color: #012970;
}

/* Table rows and columns */
.td-center, .th-center{
  text-align: center;
  vertical-align: middle;
}

.td-v-center, .th-v-center{
  vertical-align: middle;
}

.Edited, .Active, .ON {
  color: #fff;
  background-color: #33C62C;
  padding: 5px;
  border-radius: 5px;
}

@media (max-width: 820px) and (max-height: 1180px), (max-width: 1024px) and (max-height: 1366px) {
  .run-filter-text {
    display: none !important;
  }
}

/* Filter dropdown */
.orders .filter {
  position: absolute;
  right: 0px;
  top: 10px;
}

.orders .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.orders .filter .icon:hover,
.orders .filter .icon:focus {
  color: #DC3D43;
}

.orders .filter .dropdown-header {
  padding: 8px 15px;
}

.orders .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.orders .filter .dropdown-item {
  padding: 8px 15px;
}

.disabled {
  background-color: #E0E5EC;
  opacity: 1;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #012970;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #012970;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}


.logo-img {
    width: 100%; /* Make the image take up the full width of the div */
    height: auto; /* Maintain aspect ratio */
    /*max-width: 200px;  Optional: Limit the maximum width */
    object-fit: contain; /* Ensure the image scales properly without distortion */
    display: block; /* Ensures no extra space around the image */
}
