@-webkit-keyframes highlight {
  0% {
    background-color: transparent;
  }

  50% {
    background-color: #e3f2fd;
  }

  100% {
    background-color: transparent;
  }
}

@keyframes highlight {
  0% {
    background-color: transparent;
  }

  50% {
    background-color: #e3f2fd;
  }

  100% {
    background-color: transparent;
  }
}

.highlight-animation {
  -webkit-animation: highlight 1s ease;
  animation: highlight 1s ease;
}

html,
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f5f7fa;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;

}



h1 {
  font-size: 40px;
  font-weight: 500;
  color: #1E3A5F;
}

h2 {
  text-align: left;
  justify-content: left;
  font-size: 32px;
  font-weight: 500;
  color: #1E3A5F;
}

h3 {
  font-size: 24px;
  font-weight: 500;
  color: #1E3A5F;
}

h4 {
  font-size: 20px;
  font-weight: 400;
  color: #1E3A5F;
}

h5 {
  font-size: 16px;
  font-weight: 400;
  color: #4B5563;
}

.h-400 {
  height: 400px !important;
}

.h-500 {
  height: 500px;
}

.w-200 {
  width: 200px;
}

.max-w-450 {
  max-width: 450px;
}

.max-w-800 {
  max-width: 800px;
}

.max-w-1000 {
  max-width: 1000px;
}

.ta-left {
  text-align: left;
}

.ml-25 {
  margin-left: 25px;
}

.mx-w-500 {
  max-width: 500px;
}

.w-500 {
  width: 500px;
}

.f-36 {
  font-size: 36px;
}

p,
.body-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #4B5563;
}

ul.mb-0.pt-3 li p {
  margin: 0;
  padding: 0;
}

.no-padding-section {
  background-color: #EAF4FF;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
}

.img-84-67 {
  width: 84px;
  height: 67px;
}

.img-393-260 {
  width: 393px;
  height: 260px;
}

.img-348-241 {
  width: 241px;
  height: 348px;
}


.progress {
  height: 10px;
  margin-bottom: 20px;
}

.progress-bar {
  background-color: #007bff;
  transition: width 0.3s ease;
  position: relative;
}

.progress-text {
  position: absolute;
  width: 100%;
  text-align: center;
  top: -25px;
  font-size: 14px;
  color: #007bff;
}

.form-navigation {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

/* edit text box */
.edt-box-small {
  width: 240px;
  height: 40px;
}

.edt-box-large {
  width: 502px;
  padding: 12px;
}

@media (max-width: 576px) {
  .dashboard-container {
    padding: 15px;
  }
}

/* contact us */
.contactBackdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}

.contactPrompt {
  background: white;
  border-radius: 30px;
  width: 100%;
  max-width: 552px;
  padding: 30px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
}

.contactUsTrigger {
  cursor: pointer;
  color: white;
  display: inline-block;
  text-decoration: none; 
}

.contactUsTrigger:hover {
  text-decoration: underline;
}

.contactUsDetailSize {
  margin-top: 10px;
}

.contactUsLastNameMarginLeft {
  margin-left: 18px;
}

/* Header */
.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: 70px; /* allow it to expand instead of forcing fixed height */
  padding: 0 16px;
  background-color: #197461 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* subtle shadow */
  z-index: 1000; /* keep it above other elements */
  position: relative;
}


/* navigation bar */
.nav-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
  padding: 16px 12px;
  cursor: pointer;
  border-radius: 12px;
  color: #2C2C2C;
  user-select: none;
  gap: 8px;
}

.nav-item span {
  display: inline-block;
  font-size: 14px !important;
  font-weight: 600;
}

.navBarProfilePicture {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.nav-item,
.nav-item-profile {
  margin-bottom: 2px;
  padding: 5px 12px;
}

.nav-item-profile.active a {
  color: #962101 !important;
  font-weight: 600;
}

/* Only hover in collapsed mode */
.sidebar.collapsed .nav-item-profile:hover {
  background-color: #E3C9A5;
}

.nav-item:hover,
.nav-item.active {
  background-color: #E3C9A5;
}

.nav-list {
  list-style: none;
  padding-left: 0;
  padding-right: 2px;
  margin: 0;
}

.nav-list .nav-item a {
  font-size: 14px;
}

/* Navigation bar lines */
.section-divider {
  border: none;
  height: 1px;
  background-color: #B39D7E;
  margin: 10px auto;
  width: 80%;
}

.section-divider.full-width {
  width: 98%;
}

.section-divider-profile {
  height: 1px;
  background-color: #1E293B;
  margin: 10px 20px 10px 20px;
  width: 98%;
}

/* Navigation bar sections */
.section-header {
  margin: 16px 0 8px 8px;
  font-size: 15px;
  font-weight: 500;
  color: #673D00;
  position: relative;
}

.section-header[title]::after {
  content: attr(title);
  position: absolute;
  left: 100%;
  transform: translateY(-50%);
}

.vertical-line-platform-overview {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid #BAB9B9;
  flex: 1;
}

.vertical-line-platform-overview-10 {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid white;
  flex: 1;
}

.vertical-line-platform-overview-gray {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid #EAF4FF;
  flex: 1;
}

.profile-tree {
  position: relative;
  padding-left: 20px;
  /* space for the line */
  border-left: 2px solid #ccc;
  /* vertical line */
  margin: 0;
  list-style: none;
}

.profile-tree li {
  position: relative;
  padding-left: 10px;
  margin-bottom: 8px;
}

.profile-tree li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: -12px;
  width: 8px;
  height: 2px;
  background-color: #ccc;
  /* horizontal line to connect to vertical */
}

/* Sidebar */
.sidebar {
  width: 260px;
  background-color: #F5EADB;
  padding: 15px 0px;
  font-family: 'Roboto', sans-serif;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  flex-shrink: 0;
}

/* #sidebar::-webkit-scrollbar {
  display: none;
} */

.icon-16 {
  width: 16px;
  height: 16px;
}

.sidebar.collapsed {
  width: 80px;
}

.sidebar.collapsed .login-container {
  display: none !important;
}

.sidebar.collapsed .section-header {
  color: transparent;
  width: 30px;
}

.sidebar.collapsed .section-header::before {
  content: attr(data-short);
  color: #673D00;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 15px;
  font-weight: 500;
}

#sidebar.collapsed .sidebar-auth-buttons {
  display: none;
}

.sidebar.collapsed .nav-item i,
.sidebar.collapsed .nav-item img {
  margin: 0 auto;
  display: block;
  position: static;
  text-align: center;
  left: 0;
}

.sidebar.collapsed .nav-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 30px;
  display: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-size: 14px !important;
  font-weight: 600;
}

.sidebar .nav-list span {
  transition: opacity 0.2s ease;
  font-size: 14px !important;
  font-weight: 600;
}

/* USER section */
.profile-name {
  display: inline;
  margin-left: 10px;
  margin-right: 10px;
  align-items: center;
  padding: 12px 12px;
  cursor: pointer;
  border-radius: 12px;
  color: #2C2C2C;
  font-size: 14px;
  font-weight: 500;
  user-select: none;
  transition: background-color 0.3s ease;
  gap: 8px;
}

.sidebar.collapsed .profile-name span {
  display: none;
}

.sidebar.collapsed .profile-name-text,
.sidebar.collapsed .dropdown-icon {
  display: none !important;
}

#profileSublist {
  display: block;
}

.profileSublistSize {
  margin-left: 10px;
  display: block;
}

#sidebar.collapsed #profileSublist {
  display: none !important;
}

#sidebar.collapsed .dropdown-icon-wrapper {
  display: none;
}

.sublist {
  list-style: none;
  padding-left: 1.25rem;
  margin-top: 0;
  margin-bottom: 0;
}

.sublist li {
  margin-bottom: 0.4rem;
}

/* Main content area */
.main-content-wrapper {
  flex-grow: 1;
  min-height: 100vh;
  height: auto;
  overflow: visible;
  overflow-x: hidden !important;
  background-color: white;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw !important;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0 !important;
}

.main-content-box {
  width: 100%;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box;
}

/* Footer */
.footer-full-width {
  background-color:#197461 !important;
}

.footer-text {
  color: white;
  font-size: 14px;
  font-weight: 400;
  margin: 0 8px 0 0;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/* Platform overview page */
.platform-overview-custom-box {
  width: 316px;
  height: 138px;
  background-color: #126251;
  color: white !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 8px;
}

.platform-overview-bottom-vertical-line {
  width: 1px;
  height: 80px;
  background-color: #BAB9B9;
}

.highlighted {
  font-size: 3rem;
  font-weight: 700;
  display: block;
  text-align: center;
}

.home-section-content {
  margin-top: 1rem;
  max-width: 1056px;
  padding-left: 20px;
  padding-right: 20px;
}

.home-section-content-bottom {
  margin-bottom: 50px;
}


.login-container {
  width: 100%;
  border-radius: 10px;
  padding: 10px;
}

.dashboard-container {
  width: 100%;
  border-radius: 10px;
  padding: 10px;
}

/* secondary button*/
.secondary-btn {
  width: 350px;
  height: 46px;
  align-items: center;
  border: 1px solid #1E3A5F;
  background-color: #fff;
  color: #1E3A5F;
  font-weight: 500;
  border-radius: 23px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.secondary-btn:hover {
  background-color: #1E3A5F;
  color: #fff;
}

.secondary-btn img {
  height: 20px;
}

.disabled-btn {
  background-color: #f3f4f6;
  border-color: #d1d5db;
  cursor: not-allowed;
  color: #9ca3af;
}

.form-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Primary Buttons */
.btn-primary-platform {
  padding: 12px 24px;
  color: #FFFFFF;
  border: none;
  font-size: 14px !important;
  border-radius: 20px;
  font-weight: 400;
  text-decoration: none;
  display: inline-block;
  transition: none !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* disables gray flash */
  background-color: #1E3A5F !important;
}

.btn-primary-platform:hover {
  background-color: #2A527F !important;
  ;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  color: #FFFFFF;
  -webkit-tap-highlight-color: transparent;
  /* For Safari iOS */
}

.btn-primary-platform:active {
  background-color: #172B46 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #FFFFFF !important;
}

.btn-primary-platform:focus {
  outline: 2px solid #F59E0B;
  outline-offset: 2px;
  outline: none;
}

.btn-primary-platform:disabled,
.btn-primary-platform[disabled] {
  background-color: #CBD5E1;
  color: #9CA3AF;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Secondary Buttons */
.btn-secondary-platform {
  width: 350px;
  height: 46px;
  align-items: center;
  border: 1px solid #1E3A5F;
  background-color: #FFFFFF;
  color: #1E3A5F;
  font-weight: 500;
  border-radius: 23px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-secondary-platform:hover {
  background-color: #E6EBF2;
  border: 1px solid #1E3A5F !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  color: #1E3A5F;
}

.btn-secondary-platform:active {
  background-color: #D0DEE7 !important;
  border: 1px solid #1E3A5F !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #1E3A5F !important;
}

.btn-secondary-platform:focus {
  outline: 2px solid #F59E0B;
  outline-offset: 2px;
}

.btn-secondaryy-platform:disabled,
.btn-secondary-platform[disabled] {
  background-color: #F5F5F5;
  color: #9CA3AF;
  cursor: not-allowed;
  opacity: 0.7;
  border: #CCCCCC;
  color: #AAAAAA;
}

/* Primary Buttons community*/
.btn-primary-community {
  padding: 12px 24px;
  color: #FFFFFF;
  border: none;
  font-size: 14px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: none !important;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* disables gray flash */
  background-color: #0D5E4D !important;
}

.btn-primary-community:hover {
  background-color: #197461;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #3A8676;
  color: #FFFFFF;
  -webkit-tap-highlight-color: transparent;
  /* For Safari iOS */
}

.btn-primary-community:active {
  background-color: #014839 !important;
  border: 1px solid #3A8676 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #FFFFFF !important;
}

.btn-primary-community:focus {
  outline: 2px solid #F59E0B;
  outline-offset: 2px;
  outline: none;
  background-color: #0D5E4D;
}

.btn-primary-community:disabled,
.btn-primary-community[disabled] {
  background-color: #CBD5E1;
  color: #9CA3AF;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Secondary Buttons */
.btn-secondary-community {
  align-items: center;
  border: 1px solid #3A8676;
  background-color: #FFFFFF;
  color: #0D5B4A;
  font-weight: 500;
  border-radius: 23px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-secondary-community:hover {
  background-color: #E6F2EF;
  border: 1px solid #3A8676;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  color: #0D5B4A;
}

.btn-secondary-community:active {
  background-color: #D0E7E2 !important;
  border: 1px solid #3A8676 !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
  color: #0D5B4A !important;
}

.btn-secondary-community:focus {
  outline: 2px solid #F59E0B;
  outline-offset: 2px;
}

.btn-secondaryy-community:disabled,
.btn-secondary-community[disabled] {
  background-color: #F5F5F5;
  color: #AAAAAA;
  cursor: not-allowed;
  opacity: 0.7;
  border: #CCCCCC;
  color: #AAAAAA;
}

/* Header text */
.big-leap-header {
  font-size: 3rem;
  color: black;
  margin: 0;
}

.form-step {
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.home-id-display {
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 0.25rem;
  padding: 0.5rem;
}

.home-id-display h3 {
  margin: 0;
  font-weight: bold;
}

h1 {
  text-align: left;
  -webkit-box-pack: left;
  -ms-flex-pack: left;
  justify-content: left;
}

.container {
  max-width: 800px;
  margin: 50px auto;
  text-align: left;
}

.container h1 {
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
}

.container p {
  font-size: 18px;
  color: #666;
  margin-bottom: 20px;
}

.container .login-btn {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.container .login-btn:hover {
  background-color: #0056b3;
}

.container .logout-btn {
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.container .logout-btn:hover {
  background-color: #0056b3;
}

.input-group {
  max-width: 200px;
  margin: 20px auto;
}

.property-image {
  max-width: 200px;
  height: auto;
}

.btn-number {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
  cursor: pointer;
}

.btn-number i {
  color: black;
}

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

.btn {
  cursor: pointer;
}

/* Feeds Panel */

.liked-button {
  background-color: #E6F4F1 !important;
  border-color: #197461 !important;
  color: #197461 !important;
  font-weight: 500;
}

.unliked-button {
  background-color: white;
  border-color: #D9D9D9;
  color: black;
}

/* Login Buttons */
.property-management .btn-group .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.property-management .btn-group .btn i {
  font-size: 1rem;
}

.modal-lg {
  max-width: 800px;
}

.form-label {
  font-weight: 500;
}

.table th {
  white-space: nowrap;
}

.table td {
  vertical-align: middle;
}

.btn-group .btn {
  margin: 0 2px;
}

.status-history {
  max-height: 150px;
  overflow-y: auto;
}

.status-entry {
  margin-bottom: 5px;
}

.status-entry .badge {
  margin-right: 5px;
}

.modal .modal-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
}

.modal .modal-footer {
  background-color: #f8f9fa;
  border-top: 1px solid #dee2e6;
}

.modal .modal-body {
  padding: 1.5rem;
}

.profile-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #007bff;
}

#member-details {
  overflow: hidden;
  -webkit-transition: max-height 0.3s ease-in-out;
  transition: max-height 0.3s ease-in-out;
}

.header-panel {
  background-color: #2c3e50;
  color: white;
  padding: 15px;
  margin-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  border-radius: 8px;
}

.header-details {
  display: none;
  background-color: #34495e;
  color: white;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
}

.view-details {
  cursor: pointer;
  color: lightblue;
}

.property-image {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 8px;
}

.nav-button {
  margin-bottom: 15px;
}

/* .scrollable-panel {
  height: calc(100vh - 220px);
  overflow-y: auto;
  background-color: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  position: relative;
} */

.hamburger-menu {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid white;
}

.profile-details {
  display: none;
  background-color: #0a1f34;
  padding: 15px;
  border-radius: 8px;
  margin-top: 10px;
}

.community-header-box {
  width: 1120px;
  margin-left: 24px;
  background-color: #ffffff;
  border: 1px solid #D9D9D9;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 5;
}

.community-header-box.expanded {
  border-color: #BBBBBB;
}

#community-header-wrapper {
  border: 1px solid #D9D9D9;
  border-radius: 15px;
  margin-left: 16px;
  margin-right: 16px;
  margin-top: 24px;
}

.manage-feed-editor {
  height: 200px;
  background: #fff;
}

.manage-feed-editor-space {
  display: none;
}

.profile-img-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.expanded-profile-box {
  max-width: 330px;
}

.community-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
}

.profile-icon {
  font-size: 36px;
  color: #444;
}

.toggle-icon {
  font-size: 18px;
  color: #999;
}

a.btn-sm {
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
}

.category-btn {
  margin: 10px 0;
  width: 100%;
  text-align: left;
}

.add-property-form .page-wrapper {
  min-height: 100vh;
  padding: 2rem 4rem;
  max-width: 1600px;
  margin: 0 auto;
}

.add-property-form .form-container {
  max-width: 1200px;
  margin: 2rem auto;
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 90%;
}

.add-property-form .form-section-card {
  background: #f8f9fa;
  border-radius: 10px;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 20px;
  height: 100%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.add-property-form .form-section-card:hover {
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.add-property-form .form-section-card .section-header {
  color: #0d6efd;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0d6efd;
  font-size: 1.25rem;
}

.add-property-form .form-section-card .form-label {
  font-weight: 500;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

/* Input Field Styling */
.add-property-form .form-section-card .form-control,
.add-property-form .form-section-card .form-select {
  height: calc(2.5rem + 2px);
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.375rem;
  -webkit-transition: border-color 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
  transition: border-color 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, -webkit-box-shadow 0.2s ease-in-out;
}

.add-property-form .form-section-card .form-control:focus,
.add-property-form .form-section-card .form-select:focus {
  border-color: #0d6efd;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.add-property-form .form-section-card .form-control[readonly],
.add-property-form .form-section-card .form-select[readonly] {
  background-color: #f8f9fa;
  background-image: linear-gradient(45deg, #f1f3f5 25%, transparent 25%, transparent 50%, #f1f3f5 50%, #f1f3f5 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  border-color: #ced4da;
  color: #6c757d;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  opacity: 0.9;
}

.add-property-form .form-section-card .form-control[readonly]:hover,
.add-property-form .form-section-card .form-control[readonly]:focus,
.add-property-form .form-section-card .form-select[readonly]:hover,
.add-property-form .form-section-card .form-select[readonly]:focus {
  border-color: #ced4da;
  box-shadow: none;
  opacity: 1;
}

.add-property-form .form-section-card textarea.form-control {
  height: auto;
  min-height: 120px;
}

/* Input Group Styling */
.add-property-form .form-section-card .input-group .input-group-text {
  background-color: #f8f9fa;
  border-color: #ced4da;
  color: #6c757d;
  font-weight: 500;
}

.add-property-form .form-section-card .input-group .form-control.text-end {
  padding-right: 0.75rem;
}

/* Section Headers */
.add-property-form .form-section-card .section-header {
  color: #0d6efd;
  margin: 2rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #0d6efd;
  font-size: 1.25rem;
}

.add-property-form .form-section-card .section-header:first-child {
  margin-top: 0;
}

/* Description Container */
.add-property-form .form-section-card .description-container {
  position: relative;
}

.add-property-form .form-section-card .description-container textarea {
  padding-bottom: 2rem;
}

.add-property-form .form-section-card .description-container #description-counter {
  position: absolute;
  bottom: 0.5rem;
  right: 1rem;
}

/* Character count positioning for Quill editor */
.add-property-form .form-section-card #descriptionCharCount {
  margin-top: 0.5rem !important;
  text-align: right;
  font-size: 0.875rem;
  color: #6c757d;
}

/* Quill Editor Styling */
.add-property-form .form-section-card .description-container #editor {
  min-height: 220px;
  max-height: 300px;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  background-color: #fff;
  font-size: 1rem;
  line-height: 1.5;
  overflow-y: auto;
  word-wrap: break-word;
  word-break: break-word;
  resize: vertical;
}

.add-property-form .form-section-card .description-container #editor:focus-within {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.add-property-form .form-section-card .description-container .ql-toolbar {
  border: 1px solid #ced4da;
  border-bottom: none;
  border-radius: 0.375rem 0.375rem 0 0;
  background-color: #f8f9fa;
  padding: 0.5rem;
}

.add-property-form .form-section-card .description-container .ql-container {
  border: 1px solid #ced4da;
  border-top: none;
  border-radius: 0 0 0.375rem 0.375rem;
  font-size: 1rem;
  resize: vertical;
  overflow: hidden;
}

.add-property-form .form-section-card .description-container .ql-editor {
  min-height: 220px;
  max-height: 300px;
  overflow-y: auto;
  padding: 0.75rem;
  line-height: 1.5;
  word-wrap: break-word;
  word-break: break-word;
  resize: vertical;
}

/* Ensure Quill editor content doesn't overflow */
.add-property-form .form-section-card .description-container .ql-editor p,
.add-property-form .form-section-card .description-container .ql-editor ol,
.add-property-form .form-section-card .description-container .ql-editor ul {
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Fix for validation state */
.add-property-form .form-section-card .description-container #editor.is-invalid {
  border-color: #dc3545;
}

.add-property-form .form-section-card .description-container #editor.is-invalid:focus-within {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

/* Required Field Indicator */
.add-property-form .form-section-card .text-danger {
  font-weight: bold;
  margin-left: 0.25rem;
}

/* Form Check Alignment */
.add-property-form .form-section-card .form-check {
  padding-left: 1.75rem;
  margin-bottom: 0;
}

.add-property-form .form-section-card .form-check .form-check-input {
  margin-left: -1.75rem;
}

/* Progress Bar Enhanced Styling */
.add-property-form .progress {
  height: 1.5rem;
  background-color: #e9ecef;
  border-radius: 0.75rem;
}

.add-property-form .progress .progress-bar {
  background-color: #0d6efd;
  transition: width 0.3s ease;
}

.add-property-form .progress .progress-text {
  color: #fff;
  font-weight: 500;
  font-size: 0.875rem;
}

/* Preview Section Styles */
.add-property-form #step4 .form-section-card dl.row {
  margin-bottom: 1rem;
}

.add-property-form #step4 .form-section-card dl.row:last-child {
  margin-bottom: 0;
}

.add-property-form #step4 .form-section-card dt {
  color: #495057;
  font-weight: 500;
}

.add-property-form #step4 .form-section-card dd {
  color: #212529;
  margin-bottom: 0.5rem;
}

.add-property-form #step4 .form-section-card dd:last-child {
  margin-bottom: 0;
}

.add-property-form #step4 .preview_property-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #212529;
  white-space: pre-line;
}

.add-property-form #step4 .text-primary {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.add-property-form #step4 .text-primary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #0d6efd;
}

.add-property-form #step4 .card.bg-light {
  border: 1px solid rgba(0, 0, 0, 0.125);
}

.add-property-form #step4 .card.bg-light .card-body {
  padding: 1.25rem;
}

/* Form Step Transitions */
.add-property-form .form-step {
  transition: opacity 0.3s ease-in-out;
}

.add-property-form .form-step[style*="display: none"] {
  opacity: 0;
}

.add-property-form .form-step:not([style*="display: none"]) {
  opacity: 1;
}

/* Description Cell for Tables */
.description-cell {
  max-width: 300px;
  max-height: 6em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  white-space: normal;
}

/* Property Status Styling */
.property-item.saved-property-open {
  border: 2px dashed #ffc107 !important;
  position: relative;
}

.property-item.saved-property-open::before {
  content: "Saved - Open";
  position: absolute;
  top: 10px;
  right: 25px;
  background: #ffc107;
  color: #000;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.8em;
  font-weight: bold;
  z-index: 1;
}

.property-item.saved-property-closed {
  border: 2px dashed #dc3545 !important;
  position: relative;
}

.property-item.saved-property-closed::before {
  content: "Saved - Closed";
  position: absolute;
  top: 10px;
  right: 25px;
  background: #dc3545;
  color: #fff;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 0.8em;
  font-weight: bold;
  z-index: 1;
}

tr.saved-property-open {
  background-color: rgba(255, 193, 7, 0.1) !important;
}

tr.saved-property-open td:first-child {
  border-left: 4px solid #ffc107;
}

tr.saved-property-closed {
  background-color: rgba(220, 53, 69, 0.1) !important;
}

tr.saved-property-closed td:first-child {
  border-left: 4px solid #dc3545;
}

/* Communities Board Panel Layout */
.scrollable-panel {
  display: flex;
  flex-direction: column;
  height: auto; 
  overflow: visible;
  /* overflow: hidden;
  height: 100%; */
  border-radius: 16px;
}

.scrollable-panel .panel-body {
  /* overflow-y: auto; */
  flex-grow: 1;
  overflow: visible;
}

.panel-header {
  border-bottom: 1px solid #E5E7EB;
}

.panel-collapse-btn {
  cursor: pointer;
  font-size: 1.25rem;
  color: #666;
}

.panel-collapse-btn:hover {
  color: #0D9488;
}


/* ==========================================
   Communities Board Layout (Figma Spec Based)
   Full width: 1440px
========================================== */
/* Full Container Wrapper */
.container-fluid {
  max-width: 100vw !important;
  overflow-x: hidden !important;
  margin: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* ====================
	 Flex Layout for Panels
  ==================== */
.community-panels-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  padding: 0 24px;
  margin-bottom: 40px;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

/* =====================
	 Investments Panel
  ====================== */
.investment-card {
  border: 1px solid #D9D9D9;
  border-radius: 12px;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
  width: 100%;
}


.investment-card:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.08);
}

.investments-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#main-panels-wrapper {
  overflow-x: hidden;
  max-width: 100%;
}

/*.panel-body {
  overflow-y: auto;
  overflow-x: hidden;
}*/

/* Prevent card or button overflow */
.investment-card {
  width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

.investment-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.investment-card .btn {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 100%;
}

/* Dropdown toggle behavior */
.section-toggle {
  cursor: pointer;
  padding: 4px 0;
}

.dropdown-arrow {
  font-size: 18px;
  color: #333;
  transition: transform 0.3s ease;
}

/* Rotate arrow when section is open */
.section-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(90deg);
}

/* ================================
   Widgets → Non-Member View Styles
   ================================ */

.widget-non-member-card {
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.widget-non-member-card h6 {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.widget-non-member-card p {
  color: #6c757d;
  /* Bootstrap muted */
  margin-bottom: 1.5rem;
}

.widget-non-member-card .btn-primary {
  background-color: #197461;
  border: none;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  transition: background-color 0.3s ease;

  &:hover {
    background-color: #145f50;
  }
}




/* =====================
	 Arrows
  ====================== */

.section-toggle {
  cursor: pointer;
  padding: 4px 0;
}

.dropdown-arrow {
  font-size: 20px;
  color: #333;
  transition: transform 0.25s ease;
}

.section-toggle[aria-expanded="true"] .dropdown-arrow {
  transform: rotate(90deg);
}


/* =====================
	 My Investments Panel
  ====================== */
#myInvestmentsPanel {
  background: #ffffff;
  border: 1px solid #b8b8b8;
  border-radius: 15px;
  padding: 16px;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
  height: 1100px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

#myInvestmentsPanel.collapsed {
  width: 300px;
}

#myInvestmentsPanel.expanded {
  width: 450px;
}

/* =====================
	 Collapse/Expand Button
  ====================== */
.collapse-toggle-btn {
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 4px 6px;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.collapse-toggle-btn:hover {
  background-color: #f0f0f0;
}

.panel-collapse-btn {
  position: absolute;
  right: -14px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 24px;
  height: 30px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: white;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 100;
}

.panel-collapse-btn span {
  display: block;
  line-height: 1;
}

.panel-collapse-btn:hover {
  background-color: #f0f0f0;
}

/* Profile section */
.profile-item-centered {
  font-size: 13px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 10px;
  padding: 2px 10px;
}

.sidebar.collapsed .profile-item-centered {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 12px 0;
}

.sidebar.collapsed .profile-item-centered span,
.sidebar.collapsed .btn-login {
  display: none;
}

.profile-text {
  font-size: 14px;
  font-weight: bold;
}

/* Toggle button inside sidebar */
.sidebar .toggle-btn {
  position: absolute;
  top: 50%;
  right: -12px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 100;
  background-color: #6c757d;
  border: none;
  padding: 6px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
}

.toggle-btn:hover {
  background-color: #5a6268;
}

.triangle-right {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid white;
}

.triangle-left {
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 12px solid white;
}

.sidebar.collapsed~.main-content-wrapper {
  margin-left: 80px;
}


#main-panels-wrapper {
  background-color: transparent !important;
}

#content {
  background-color: #f8f9fa !important;
  padding-bottom: 40px;
}

#widget-canvas {
  background-color: #f8f9fa;
}

body {
  background-color: #f5f5f5;
}

#main-content,
.page-content {
  margin-left: 0 !important;
  padding-left: 0 !important;
}


/* Buttons */
.btn-primary {
  background-color: #1E3A5F;
  border-color: #1E3A5F;
  color: #fff;
}

.btn-login {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 20px;
  color: white;
  border: none;
  cursor: pointer;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
}

.btn-login:hover {
  background-color: #1E3A5F;
}

/* Utility / Misc */
.section-divider {
  border: none;
  height: 1px;
  background-color: #B39D7E;
  margin: 10px auto;
  width: 80%;
}

.nav-link {
  white-space: nowrap;
  padding: 10px 15px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

/* Logout Modal Styles */
.logout-modal {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  position: relative;
}

.warning-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logout-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0;
}

.logout-description p {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.logout-modal .btn {
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  min-width: 120px;
  transition: all 0.2s ease;
}

.logout-modal .btn-outline-secondary {
  border: 2px solid #e5e7eb;
  color: #374151;
  background: white;
}

.logout-modal .btn-outline-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

.logout-modal .btn-danger {
  background: #dc3545;
  border: 2px solid #dc3545;
  color: white;
}

.logout-modal .btn-danger:hover {
  background: #c82333;
  border-color: #c82333;
}

/* Phone number input with clear button */
.phone-input-group {
  position: relative;
}

#clearPhone {
  border-left: none;
  padding: 0.375rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

#clearPhone:hover {
  background-color: #f8f9fa;
  border-color: #dee2e6;
}

#clearPhone svg {
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

#clearPhone:hover svg {
  opacity: 1;
}


.category-block.selected {
  border: 2px solid #0F766E;
  background-color: #F0FDFE;
}



/* Responsive styles for Quill editor */
@media (max-width: 768px) {
  .add-property-form .form-section-card .description-container .ql-toolbar {
    padding: 0.25rem;
  }

  .add-property-form .form-section-card .description-container .ql-editor {
    min-height: 220px;
    padding: 0.5rem;
  }

  .add-property-form .form-section-card .description-container #editor {
    min-height: 120px;
  }

  .add-property-form .form-section-card .description-container .ql-editor.ql-blank::before {
    left: 0.5rem;
    right: 0.5rem;
  }
}

@media (max-width: 480px) {
  .add-property-form .form-section-card .description-container .ql-editor {
    min-height: 220px;
    padding: 0.375rem;
  }

  .add-property-form .form-section-card .description-container #editor {
    min-height: 220px;
  }
}

/* Profile picture hover effect */
.profile-picture-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.profile-picture-container:hover .profile-edit-overlay {
  opacity: 1;
}

.profile-edit-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin-bottom: 8px;
  /* Match the img margin-bottom */
}

.profile-edit-overlay svg {
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.profile-picture-preview {
  transition: filter 0.3s ease;
}

.profile-picture-container:hover .profile-picture-preview {
  filter: brightness(0.8);
}

/* Manage Properties – thumbnail sizing*/
.property-card .property-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* Smaller list-view thumbnail */
.property-thumb-table {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.25rem;
}

/* ---------------------------------------------------------- */
/* Get Started CTA on Asset Showcase page */
/* Base button */
.btn-sea-green {
  background: linear-gradient(135deg, #197461, #25a57a);
  color: white;
  border: none;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.btn-sea-green:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #25a57a, #33c48f);
  color: white;
}

.btn-outline-sea-green {
    border: 2px solid #197461;
    padding: 8px 14px;
    background-color: #ffffff;
    color: #197461 !important;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s ease-in-out;
}

.btn-outline-sea-green i {
    color: #197461;
    transition: all 0.25s ease-in-out;
}

.btn-outline-sea-green:hover {
    background-color: #197461;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(25, 116, 97, 0.35);
    transform: translateY(-1px);
}

.btn-outline-sea-green:hover i {
    color: #ffffff !important;
}


/* ---------------------------------------------- */
/* Radio buttons and checkbox inputs */
.form-check-input {
    border: 2px solid #197461 !important;
    box-shadow: none !important;
}

.form-check-input:checked {
    background-color: #197461 !important;
    border-color: #197461 !important;
}
/* ---------------------------------------------- */

/* Continuous glow animation */
.glow-btn {
  box-shadow: 0 0 15px rgba(25, 116, 97, 0.6), 0 0 30px rgba(25, 116, 97, 0.4);
  animation: glowPulse 2s infinite ease-in-out, glassShine 4s infinite linear;
}

/* Glass shine sweep */
.glow-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.2) 40%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shineMove 4s infinite linear;
}

/* Hover enhancement (extra brightness + zoom) */
.glow-btn:hover {
  transform: scale(1.07);
  box-shadow: 0 0 25px rgba(25, 116, 97, 0.8), 0 0 50px rgba(25, 116, 97, 0.6);
}

/* Keyframes: Glow pulsing */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 15px rgba(25, 116, 97, 0.6), 0 0 30px rgba(25, 116, 97, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(25, 116, 97, 0.9), 0 0 60px rgba(25, 116, 97, 0.7);
  }
}

/* Keyframes: Continuous glass sweep */
@keyframes shineMove {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}


/* ---------------------------------------------------------- */
/* ============================================
   RESPONSIVE SYSTEM (NAVBAR + BUTTONS + MOBILE)
   ============================================ */

/* Make all containers scale properly */
* { box-sizing: border-box; }

/* Prevent horizontal scrolling */
html, body { overflow-x: hidden !important; }

/* Global font adjustments for tablets */
@media (max-width: 991px) { body { font-size: 15px; } }
@media (max-width: 768px) { body { font-size: 14px; } }

/* Images auto-resize */
img { max-width: 100%; height: auto; }

/* Common wrapper responsiveness */
.full-page-wrapper,
.main-content-wrapper,
.container,
.login-container {
    width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

/* ======================================================
   NAVBAR (40% SMALLER THAN CURRENT HEIGHT)
   ====================================================== */

.navbar {
    display: flex !important;
    flex-wrap: nowrap !important;    
    align-items: center !important;
    justify-content: space-between !important;
    white-space: nowrap;
    overflow: visible !important;
    
    /* ↓ Reduce navbar height (40% smaller) */
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    min-height: 40px !important;
}

/* Logo resized 40% smaller (100px → 60px) */
.navbar img {
    height: 50px !important;
    width: auto !important;
}

/* Right-side icons remain inline */
.navbar .ms-auto {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px;
    white-space: nowrap;
}

/* Badge positioning (adjusted for new smaller navbar) */
.navbar .badge {
    padding: 2px 5px !important;
    font-size: 0.70rem !important;
    top: 6px !important;
}

/* Profile button adjusted to smaller navbar */
.navbar .dropdown-toggle {
    padding: 6px 16px !important;
    border-radius: 30px;
}

/* Profile text behavior */
.navbar .dropdown-toggle span {
    white-space: nowrap;
    font-size: 0.95rem;
}

/* Profile image */
.navbar .dropdown-toggle img {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
}

/* Dropdown menu visibility fix */
.navbar .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    z-index: 2000 !important;
}

/* ======================================================
   FIXED-WIDTH "GET STARTED"-type buttons
   ====================================================== */
.btn-get-started,
.btn-primary-platform,
.btn-secondary-platform {
    width: auto !important;
    max-width: 240px !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* ============================================
   iPHONE 14 BREAKPOINT (430px)
   ============================================ */
@media (max-width: 430px) {

    .navbar {
        padding: 4px 10px !important;
    }

    .navbar img {
        height: 52px !important;
    }

    .navbar .dropdown-toggle img {
        width: 32px !important;
        height: 32px !important;
    }

    .navbar .dropdown-toggle span {
        font-size: 0.88rem !important;
    }

    .navbar .ms-auto { gap: 6px !important; }

}

/* ============================================
   SMALL MOBILES (≤ 415px)
   ============================================ */
@media (max-width: 415px) {

    h1, h2, h3 { font-size: 22px !important; }
    p, label, input, button, span { font-size: 14px !important; }

    .navbar img {
        height: 48px !important;
    }

    .navbar .dropdown-toggle img {
        width: 30px !important;
        height: 30px !important;
    }

    .navbar .dropdown-toggle span {
        font-size: 0.80rem !important;
    }

    /* Ensure navbar content never wraps */
    .navbar {
        overflow: visible !important;
    }
}

/* ============================================
   SUPER-NARROW DEVICES (≤ 360px)
   ============================================ */
@media (max-width: 360px) {

    .navbar img {
        height: 42px !important;
    }

    .navbar .dropdown-toggle img {
        width: 28px !important;
        height: 28px !important;
    }

    /* Hide profile name if too narrow */
    .navbar .dropdown-toggle span {
        display: none !important;
    }

    .fa-envelope {
        font-size: 1.35rem !important;
    }
}
