/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}


.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: lowercase;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 74px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}


/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    position: relative;
  }

  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}

.hidden-div {
  opacity: 0;
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  display: none;
}

.show-div {
  opacity: 1;
  transform: translateX(0);
  display: flex;
}

html, body {
  overflow-x: hidden;
}

#search-container {
  max-width: 100%;
  white-space: nowrap;
}

.select2-container {
  width: 100% !important;
}

.modern-slider-container {
  --primary-color: #4361ee;
  --secondary-color: #3a0ca3;
  --text-color: #2b2d42;
  --bg-color: #f8f9fa;
  --card-bg: #ffffff;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
  position: relative;
  max-width: 100%;
  /* margin: 2rem auto; */
  /* padding: 0 50px; */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0 10px;
}

.slider-title {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.slider-nav {
  display: flex;
  gap: 12px;
}

.slider-wrapper {
  overflow: hidden;
  border-radius: var(--border-radius);
}

.slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 5px;
}

.slider-slide {
  min-width: 280px;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  padding: 15px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.slider-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.slide-icon {
  width: 48px;
  height: 48px;
  background: rgba(67, 97, 238, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slide-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.slide-row span {
  color: #64748b;
  font-weight: 500;
}

.slide-row span:after {
  content: ":";
}

.slider-arrow {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(67, 97, 238, 0.3);
}

.slider-arrow:hover {
  background: var(--secondary-color);
  transform: scale(1.05);
}

.slider-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

.slider-progress {
  width: 100%;
  height: 4px;
  background: rgba(67, 97, 238, 0.1);
  border-radius: 2px;
  margin-top: 24px;
}

.progress-bar {
  height: 100%;
  background: var(--primary-color);
  border-radius: 2px;
  width: 33.33%;
  transition: width 0.3s ease;
}

@media (max-width: 768px) {
  .modern-slider-container {
    padding: 0 20px;
  }

  .slider-title {
    font-size: 1.25rem;
  }

  .slider-slide {
    min-width: 260px;
    padding: 20px;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
  }
}

.clickable {
  cursor: pointer;
}


.stamp {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 0;
}

.stamp span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 10px 0;
  color: #fff;
  text-align: center;
  font-size: larger;
  font-weight: bold;
  transform: rotate(45deg);
  top: 30px;
  right: -55px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.unpaid {
  background: #da0606;
}

.paid {
  background: green;
}

.card-datatable {
  overflow-x: hidden !important;
}

table.datatables-basic {
  width: 100% !important;
  table-layout: auto !important;
}

.datatables-basic th {
  color: #000000 !important;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
}

.datatables-basic tbody {
  background-color: white;
}

.datatables-basic td {
  color: #333333;
  font-size: 14px;

}

.d-flex.justify-content-center.mb-5.gap-2>div {
  flex: 1 1 0;
  min-width: 350px;
}

#billingSummaryCard {
  height: 100%;
}

.card-footer {
  margin-top: auto;
}

@media (min-width: 992px) {

  .d-flex.justify-content-center.mb-5.gap-2>div {
    display: flex;
    flex-direction: column;
  }
}

/* gradient */
.apartment-card {
  background: #686DFA;
  background: linear-gradient(180deg, rgba(104, 109, 250, 1) 18%, rgba(79, 165, 216, 1) 33%, rgba(255, 255, 255, 1) 100%);
  overflow: hidden;
}

.apartname {
  font-size: 30px;
}

.apartment-body {
  background: #fff;
  border-top-left-radius: 50px;
  margin: 16px;
  margin-top: -15px;
  border: none;
}

.apartmentIcon {
  position: absolute;
  right: 15px;
}

.apartbadge {
  font-size: 12px;
  font-weight: bold;
  margin-top: -20px;
}

.apartId {
  font-size: 12px;
  font-weight: lighter;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
  color: #0077cc;
}

.label1 {
  font-size: 10px;
  text-align: center;
}

.label {
  flex: 1;
  text-align: center;
  font-weight: bold;
}

.colon {
  width: 10px;
  text-align: center;
}

.device-status {
  margin-top: -130px;
}

.semi-top-shadow {
  margin-top: -70px;
}

.usage-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.labels {
  color: #0071BC;
  font-weight: 600;
  font-size: 14px;
  margin-right: 8px;
}

.labelsR {
  color: #0071BC;
  font-weight: 600;
  font-size: 14px;
  margin-right: 15px;

}

.unit {
  color: #0071BC;
  font-weight: 600;
  font-size: 14px;
  margin-left: 8px;
}

.unitR {
  color: #0071BC;
  font-weight: 600;
  font-size: 14px;
  margin-left: -10px;
}


.digit-box {
  width: 20px;
  height: 30px;
  background: linear-gradient(to bottom, #001f3f, #003f7f);
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  line-height: 30px;
  border-radius: 3px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
  border: 2px solid #005caa;
}

.digit-container {
  display: flex;
  gap: 4px;
}

.digit-containerr {
  display: inline-flex;
  gap: 4px;
  /* margin-right: 30px; */
}

.value-box {
  /* flex: 1; */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2px 10px;
  border: 1px solid #0077cc;
  border-radius: 20px;
  background-color: #eaf7ff;
  font-weight: bold;
  color: #0077cc;
  width: 80px;
}

.value-box-green {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2px 10px;
  border: 1px solid green;
  border-radius: 20px;
  background-color: rgb(221, 243, 221);
  font-weight: bold;
  color: green;
  width: 80px;
}

.value-box-yellow {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2px 10px;
  border: 1px solid cyan;
  border-radius: 20px;
  background-color: rgb(209, 242, 242);
  font-weight: bold;
  color: rgb(10, 150, 150);
  width: 80px;
}

.value-box-red {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2px 10px;
  border: 1px solid red;
  border-radius: 20px;
  background-color: rgb(241, 218, 218);
  font-weight: bold;
  color: red;
  width: 80px;
}

.plan-card {
  border-radius: 20px;
  padding: 20px;
  background-color: #3b78b9;
}

.plan-orange {
  background: linear-gradient(135deg, #fff, #ffecdb);
  color: #f57c00;
}

.plan-danger {
  background: linear-gradient(135deg,#e66465, #eec3e1);
  color: #a1190d;
}

.plan-purple {
  background: linear-gradient(135deg, #f3e5f5, #ce93d8);
  color: #6a1b9a;
}

.plan-card .card-price {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.plan-card ul li {
  font-size: 1rem;
  text-align: left;
  padding-left: 20px;
  margin: 0.4rem 0;
}

.plan-card .btn {
  padding: 10px 30px;
  border-radius: 30px;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.plan-card .btn:hover {
  background-color: #f0f0f0;
}