/* Breadcrumb Section */
.breadcrumb-section {
  position: relative;
  height: 281px;
  background-image: url("../assets/breadcrumb.png");
  background-color: #f2f8f5;
  background-size: auto 450px;
  background-position: 5% bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.breadcrumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

.breadcrumb-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb-title {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 600;
  font-size: 34px;
  color: #0c121d;
  margin-bottom: 15px;
  text-transform: capitalize;
  line-height: 1.2;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 11px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "DM Sans", sans-serif !important;
  font-size: 16px;
}

.breadcrumb-nav li {
  color: #797979;
}

.breadcrumb-nav li a {
  color: #797979;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-nav li a:hover {
  color: #2dc457;
}

.breadcrumb-nav li.active {
  color: #797979;
}

.breadcrumb-nav .separator img {
  width: 6px;
  height: 9px;
}

/* Game Container */
.game-container {
  background-color: #ffffff;
  padding: 60px 0 80px;
}

.game-step {
  display: none;
}

.game-step.active {
  display: block;
}

/* Welcome Page */
.welcome-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 10px 30px 10px;
  position: relative;
  background-image: url("../assets/tuketim-oyunu/stepbg.png");
}

/* Logo Badge */
.logo-badge-container {
  position: relative;
  margin: 0 auto 40px;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.green-blur {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
}

.blur-1 {
  background: rgba(58, 174, 42, 0.36);
  width: 305px;
  height: 298px;
  filter: blur(38px);
  top: -50px;
  left: -50px;
}

.blur-2 {
  background: rgba(58, 174, 42, 0.4);
  width: 223px;
  height: 204px;
  filter: blur(47.5px);
  top: -20px;
  right: -20px;
}

.logo-badge {
  position: relative;
  z-index: 2;
  width: 186px;
  height: 186px;
  background: linear-gradient(135deg,
      rgba(58, 174, 42, 0.13),
      rgba(58, 174, 42, 0.49));
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
}

.badge-circle {
  width: 118px;
  height: 118px;
  background: rgba(58, 174, 42, 0.49);
  backdrop-filter: blur(6.4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: #ffffff;
  text-align: center;
  line-height: 1.3;
}

/* Appliances Image */
.appliances-image {
  margin: 20px auto;
  max-width: 544px;
}

.appliances-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Description */
.welcome-description {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #405263;
  line-height: 1.3;
  max-width: 558px;
  margin: 24px auto 32px;
}

/* Start Button */
.btn-start {
  border-radius: 12px;
background: radial-gradient(85.54% 60.77% at 50% 56.5%, rgba(145, 183, 144, 0.62) 5%, #8CB18C 61.06%);
  color: #ffffff;
  border: none;
  padding: 16px 24px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 311px;
  justify-content: center;
  margin-bottom: 10px;
}

.btn-start svg {
  transition: transform 0.3s ease;
}

/* Savings Tips Section */
.savings-tips-section {
  margin-top: 80px;
  margin-bottom: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #253342;
  margin: 0;
}

.btn-list {
  background: #f2f2f2;
  border: none;
  border-radius: 17px;
  padding: 8px 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #000000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-list:hover {
  background: #e5e5e5;
}

/* Tip Cards with Bootstrap Grid */
.tip-card {
  background: #fafbfd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tip-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.tip-card img {
  width: 100%;
  height: 202px;
  object-fit: cover;
}

.tip-card .card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.tip-card .card-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #405263;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.tip-card .btn-detail {
  background: transparent;
  border: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #000000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0;
  transition: color 0.3s ease;
  width: fit-content;
}

.tip-card .btn-detail:hover {
  color: #2dc457;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .savings-tips-section {
    margin-top: 60px;
    margin-bottom: 60px;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .section-title {
    font-size: 22px;
  }

  .tip-card img {
    height: 180px;
  }

  .tip-card .card-content {
    padding: 18px;
  }

  .tip-card .card-text {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .savings-tips-section {
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0 16px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
  }

  .section-title {
    font-size: 20px;
  }

  .btn-list {
    font-size: 12px;
    padding: 6px 16px;
  }

  .tip-card img {
    height: 160px;
  }

  .tip-card .card-content {
    padding: 16px;
    gap: 12px;
  }

  .tip-card .card-text {
    font-size: 14px;
  }

  .tip-card .btn-detail {
    font-size: 11px;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 18px;
  }

  .tip-card img {
    height: 140px;
  }

  .tip-card .card-content {
    padding: 14px;
  }

  .tip-card .card-text {
    font-size: 13px;
  }
}


/* Step 2: My Rooms */
.progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 40px auto 60px;
  padding: 8px 20px;
  background: rgba(145, 183, 144, 0.19);
  backdrop-filter: blur(10.567px);
  border-radius: 217.883px;
  max-width: 702px;
}

.progress-step {
  position: relative;
  padding: 12px 20px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #375f3a;
  text-align: center;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.progress-step.active {
  background: white;
  border-radius: 100px;
  padding: 12px 24px;
}

.progress-step.completed {
  opacity: 0.7;
}

.rooms-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.room-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.room-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.room-image {
  width: 279px;
  height: 156px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.room-info {
  flex: 1;
}

.room-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #405263;
}

.room-status {
  margin-bottom: 8px;
}

.status-badge {
  display: inline-block;
  padding: 6px 16px;
  background: #f6f7fa;
  border-radius: 12.642px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 15.171px;
  color: #91b790;
}

.room-devices {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16.435px;
  color: #375f3a;
  margin: 0;
}

.btn-edit {
  position: absolute;
  top: 20px;
  right: 80px;
  padding: 4px 16px;
  background: #f5f9fd;
  border: none;
  border-radius: 42.17px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 9px;
  color: #697686;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-edit:hover {
  background: #e8f2f9;
}

.room-actions {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
}

.btn-icon {
  width: 26px;
  height: 26px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-icon svg {
  width: 100%;
  height: 100%;
}

.btn-add-room {
  width: 100%;
  max-width: 643px;
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #91b790 0%, #375f3a 100%);
  border: none;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.3s ease;
}

.btn-add-room:hover {
  box-shadow: 0 8px 20px rgba(145, 183, 144, 0.4);
}

.step2-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 60px;
}

.btn-save-continue {
  min-width: 343px;
  padding: 16px 32px;
  background: #91b790;
  border: none;
  border-radius: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: white;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.btn-save-continue:hover {
  background: #7da47c;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .carousel-track {
    padding: 0 40px;
  }
}

@media (max-width: 992px) {
  .breadcrumb-title {
    font-size: 28px;
  }

  .appliances-image {
    max-width: 400px;
  }

  .welcome-description {
    font-size: 15px;
  }

  .btn-start {
    min-width: 280px;
  }

  .tip-card {
    flex: 0 0 320px;
  }

  /* Room Card Responsive - Tablet */
  .room-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
  }

  .room-image {
    width: 100%;
    height: 180px;
  }

  .btn-edit {
    position: static;
    margin-top: 12px;
  }

  .room-actions {
    top: 16px;
    right: 16px;
  }

  .btn-add-room {
    max-width: 100%;
  }

  .btn-save-continue {
    min-width: 280px;
  }

  /* Progress Indicator - Tablet */
  .progress-indicator {
    gap: 6px;
    padding: 6px 16px;
    margin: 30px auto 50px;
  }

  .progress-step {
    padding: 10px 16px;
    font-size: 13px;
  }

  .progress-step.active {
    padding: 10px 20px;
  }
}

@media (max-width: 768px) {
  .breadcrumb-section {
    height: 220px;
    background-size: auto 280px;
    background-position: center bottom;
  }

  .breadcrumb-title {
    font-size: 24px;
  }

  .logo-badge-container {
    width: 150px;
    height: 150px;
  }

  .logo-badge {
    width: 140px;
    height: 140px;
  }

  .badge-circle {
    width: 90px;
    height: 90px;
  }

  .badge-text {
    font-size: 14px;
  }

  .appliances-image {
    max-width: 320px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .carousel-track {
    padding: 0 20px;
  }

  .tip-card {
    flex: 0 0 280px;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  /* Room Card Responsive - Mobile */
  .room-card {
    padding: 12px;
    gap: 12px;
  }

  .room-image {
    height: 160px;
  }

  .room-name {
    font-size: 18px;
  }

  .room-devices {
    font-size: 14px;
  }

  .btn-add-room {
    height: 56px;
    font-size: 14px;
  }

  .btn-save-continue {
    min-width: 100%;
    font-size: 14px;
  }

  /* Progress Indicator - Mobile */
  .progress-indicator {
    gap: 4px;
    padding: 4px 12px;
    margin: 20px auto 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .progress-indicator::-webkit-scrollbar {
    display: none;
  }

  .progress-step {
    padding: 8px 12px;
    font-size: 11px;
    min-width: 90px;
  }

  .progress-step.active {
    padding: 8px 16px;
  }
}

@media (max-width: 576px) {
  .breadcrumb-section {
    min-height: 120px;
    padding: 20px 0;
    background-size: auto 100%;
  }

  .breadcrumb-title {
    font-size: 20px;
  }

  .breadcrumb-item {
    font-size: 14px;
  }

  .game-container {
    padding: 40px 0 60px;
  }

  .logo-badge-container {
    width: 120px;
    height: 120px;
  }

  .logo-badge {
    width: 110px;
    height: 110px;
  }

  .badge-circle {
    width: 70px;
    height: 70px;
  }

  .badge-text {
    font-size: 12px;
  }

  .appliances-image {
    max-width: 280px;
    margin: 30px auto;
  }

  .welcome-description {
    font-size: 14px;
    line-height: 1.5;
  }

  .btn-start {
    min-width: 240px;
    padding: 14px 20px;
    font-size: 15px;
  }

  .section-title {
    font-size: 20px;
  }

  .tip-card {
    flex: 0 0 260px;
  }

  /* Room Card Responsive - Small Mobile */
  .rooms-content {
    padding: 0 12px;
  }

  .room-card {
    padding: 10px;
    margin-bottom: 16px;
  }

  .room-image {
    height: 140px;
  }

  .room-name {
    font-size: 16px;
  }

  .status-badge {
    font-size: 13px;
    padding: 4px 12px;
  }

  .room-devices {
    font-size: 12px;
  }

  .btn-edit {
    font-size: 8px;
    padding: 3px 12px;
  }

  .btn-icon {
    width: 22px;
    height: 22px;
  }

  .btn-add-room {
    height: 52px;
    font-size: 13px;
  }

  .step2-actions {
    margin-top: 30px;
    margin-bottom: 40px;
  }

  /* Progress Indicator - Small Mobile */
  .progress-indicator {
    gap: 3px;
    padding: 3px 8px;
    margin: 16px auto 30px;
  }

  .progress-step {
    padding: 6px 10px;
    font-size: 10px;
    min-width: 80px;
  }

  .progress-step.active {
    padding: 6px 12px;
  }
}

.card-text {
  font-size: 14px;
  min-height: auto;
}


/* ===================================
   Step 1: Add Subscription
   =================================== */

.subscription-form-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
  background: rgba(235, 247, 233, 0.41);
  border-radius: 8px;
}

.step-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #253342;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.47px;
  font-style: normal;
  line-height: 38.635px;
  /* 160.981% */
}

.form-group {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: start;
}

.formsubgroup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 425px;
}

.form-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #253342;
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.47px;
}

.form-input {
  width: 100%;
  padding: 16px;
  border: 2px solid #91b790;
  border-radius: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #405263;
  background: white;
  transition: border-color 0.3s ease;
  max-width: 421px;
}

.form-input:focus {
  outline: none;
  border-color: #375f3a;
}

.form-input::placeholder {
  color: #405263;
  opacity: 0.7;
}

.form-hint {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #405263;
  margin-top: 8px;
  margin-bottom: 0;
}

/* Photo Carousel */
.photo-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.photo-nav-btn {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.photo-nav-btn:hover {
  background: #f5f5f5;
  border-color: #91b790;
}

.photo-nav-btn.prev {
  transform: scaleY(-1);
}

.photo-carousel-track {
  display: flex;
  gap: 24px;
  overflow: hidden;
  flex: 1;
  justify-content: center;
}

.photo-option {
  position: relative;
  width: 240px;
  height: 140px;
  border: 6px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.photo-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.photo-option:hover {
  border-color: #91b790;
}

.photo-option.selected {
  border-color: #91b790;
}

.photo-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.photo-option.selected .photo-check {
  opacity: 1;
}

/* Form Actions */
.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.btn-continue {
  background: #375f3a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 16px 24px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 311px;
  justify-content: center;
}

.btn-continue:hover {
  background: #2d4d30;
  box-shadow: 0 8px 16px rgba(55, 95, 58, 0.3);
}

.btn-continue svg {
  transition: transform 0.3s ease;
}

.btn-cancel {
  background: transparent;
  color: #555555;
  border: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.btn-cancel:hover {
  color: #375f3a;
}

/* Responsive - Step 1 */
@media (max-width: 992px) {
  .subscription-form-container {
    padding: 40px 30px;
  }

  .formsubgroup {
    width: 100%;
  }

  .photo-option {
    width: 200px;
    height: 120px;
  }

  .photo-nav-btn {
    width: 56px;
    height: 56px;
  }

  .photo-carousel-track {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .subscription-form-container {
    padding: 30px 20px;
  }

  .formsubgroup {
    width: 100%;
    max-width: 100%;
  }

  .step-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 30px;
  }

  .form-group {
    margin-bottom: 24px;
  }

  .photo-carousel {
    j
    flex-direction: column;
    gap: 12px;
    max-width: 90%;
  }

  .photo-carousel-track {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 8px 0;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
  }

  .photo-option {
    width: 200px;
    height: 115px;
    border-width: 4px;
  }

  .photo-nav-btn {
    display: none;
  }

  .btn-continue {
    min-width: 280px;
  }

  .btn-cancel {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .subscription-form-container {
    padding: 24px 16px;
  }

  .step-title {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 24px;
  }

  .form-label {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .form-input {
    font-size: 15px;
    padding: 14px;
  }

  .form-hint {
    font-size: 12px;
    margin-top: 6px;
  }

  .photo-option {
    width: 160px;
    height: 95px;
  }

  .photo-check svg {
    width: 28px;
    height: 28px;
  }

  .btn-continue {
    min-width: 100%;
    padding: 14px 20px;
    font-size: 15px;
  }

  .btn-cancel {
    font-size: 14px;
  }

  .form-actions {
    gap: 12px;
    margin-top: 32px;
  }
  }

  .photo-option {
    width: 160px;
    height: 95px;
  }

  .progress-step {
    font-size: 9px;
    padding: 6px 8px;
  }

  .progress-step.active {
    padding: 6px 12px;
  }
}

/* ===================================
   Step 3: My Devices
   =================================== */

.device-selection-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.device-selection-content .section-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #253342;
  text-align: center;
  margin-bottom: 32px;
}

/* Room Filter Section */
.room-filter-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.room-scroll-btn {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.room-scroll-btn:hover {
  background: #f5f5f5;
  border-color: #91b790;
}

.room-tabs-wrapper {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.room-tabs-wrapper::-webkit-scrollbar {
  display: none;
}

/* Room Tabs */
.room-tabs {
  display: flex;
  gap: 12px;
  padding: 4px 0;
}

.room-tab {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  padding: 12px 24px;
  background: #f0f0f0;
  border: none;
  border-radius: 100px;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: fit-content;
}

.room-tab-name {
  font-weight: 600;
  font-size: 14px;
  color: #405263;
}

.room-tab-count {
  font-weight: 500;
  font-size: 12px;
  color: #697686;
}

.room-tab:hover {
  background: #e5e5e5;
}

.room-tab.active {
  background: #c8e6f5;
}

.room-tab.active .room-tab-name {
  color: #253342;
}

.room-tab.active .room-tab-count {
  color: #405263;
}

/* Add Room Inline Button */
.btn-add-room-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #375f3a;
  border: none;
  border-radius: 100px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-add-room-inline:hover {
  background: #2d4d30;
}

/* Devices Grid */
.devices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.device-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: #f5f9fd;
  border-radius: 12px;
  transition: all 0.3s ease;
}


/* Device Checkbox */
.device-checkbox {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 24px;
  height: 24px;
  border: 2px solid #91b790;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.device-checkbox.checked {
  background: #91b790;
  border-color: #91b790;
}

.device-checkbox.checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
}

/* Device Image */
.device-image {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Device Name Button */
.btn-device-name {
  width: 100%;
  padding: 8px 16px;
  background: #91b790;
  border: none;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-device-name:hover {
  background: #7da47c;
}

/* Step 3 Actions */
.step3-actions {
  display: flex;
  justify-content: center;
  margin-bottom: 60px;
}

/* Responsive - Step 3 */
@media (max-width: 992px) {
  .room-filter-section {
    gap: 12px;
  }

  .room-scroll-btn {
    width: 36px;
    height: 36px;
  }

  .room-tab {
    padding: 10px 20px;
  }

  .room-tab-name {
    font-size: 13px;
  }

  .room-tab-count {
    font-size: 11px;
  }

  .btn-add-room-inline {
    padding: 10px 20px;
    font-size: 13px;
  }

  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .device-image {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 768px) {
  .room-filter-section {
    gap: 8px;
  }

  .room-scroll-btn {
    width: 32px;
    height: 32px;
  }

  .room-tab {
    padding: 8px 16px;
  }

  .room-tab-name {
    font-size: 12px;
  }

  .room-tab-count {
    font-size: 10px;
  }

  .btn-add-room-inline {
    padding: 8px 16px;
    font-size: 12px;
  }

  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .device-card {
    padding: 16px 12px;
  }

  .device-image {
    width: 80px;
    height: 80px;
  }

  .btn-device-name {
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 576px) {
  .device-selection-content .section-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .room-filter-section {
    gap: 8px;
  }

  .room-scroll-btn {
    width: 28px;
    height: 28px;
  }

  .room-scroll-btn svg {
    width: 12px;
    height: 12px;
  }

  .room-tab {
    padding: 8px 16px;
  }

  .room-tab-name {
    font-size: 11px;
  }

  .room-tab-count {
    font-size: 9px;
  }

  .btn-add-room-inline {
    padding: 8px 16px;
    font-size: 11px;
  }

  .devices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .device-card {
    padding: 12px 8px;
  }

  .device-checkbox {
    width: 20px;
    height: 20px;
    top: 8px;
    right: 8px;
  }

  .device-checkbox.checked::after {
    width: 10px;
    height: 10px;
  }

  .device-image {
    width: 70px;
    height: 70px;
    margin-bottom: 12px;
  }

  .btn-device-name {
    font-size: 11px;
    padding: 6px 10px;
  }
}

/* Room Modal */
.room-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  max-width: 1157px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  background: #f7f9fd;
  border-radius: 8px;
  padding: 60px 40px;
  z-index: 10000;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  font-size: 32px;
  color: #405263;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #d32f2f;
}

.modal-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #253342;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 0.47px;
}

.modal-form .form-group {
  margin-bottom: 32px;
}

.modal-form .form-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #253342;
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.47px;
}

.modal-form .form-input {
  width: 100%;
  padding: 16px;
  border: 2px solid #bbd2ba;
  border-radius: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #405263;
  background: white;
  transition: border-color 0.3s ease;
}

.modal-form .form-input:focus {
  outline: none;
  border-color: #91b790;
}

.modal-form .form-hint {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: #405263;
  margin-top: 8px;
}

/* Room Photo Carousel */
.room-photo-carousel {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.room-photo-nav-btn {
  width: 64px;
  height: 64px;
  background: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.room-photo-nav-btn:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.room-photo-track {
  display: flex;
  gap: 16px;
  overflow: hidden;
  flex: 1;
  transition: transform 0.5s ease;
}

.room-photo-option {
  position: relative;
  width: 256px;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.room-photo-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.room-photo-option.selected {
  border-color: #91b790;
}

.room-photo-check {
  position: absolute;
  top: 8px;
  right: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.room-photo-option.selected .room-photo-check {
  opacity: 1;
}

/* Modal Actions */
.modal-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.btn-modal-save {
  min-width: 311px;
  padding: 16px 24px;
  background: #91b790;
  border: none;
  border-radius: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-modal-save:hover {
  background: #7da47c;
}

.btn-modal-cancel {
  background: transparent;
  border: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #555555;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.3s ease;
}

.btn-modal-cancel:hover {
  color: #d32f2f;
}

/* Responsive - Room Modal */
@media (max-width: 992px) {
  .modal-content {
    padding: 40px 24px;
    max-width: 600px;
  }

  .modal-title {
    font-size: 22px;
    margin-bottom: 32px;
  }

  .modal-form .form-group {
    margin-bottom: 28px;
  }

  .room-photo-nav-btn {
    width: 56px;
    height: 56px;
  }

  .room-photo-option {
    width: 200px;
    height: 120px;
  }

  .btn-modal-save {
    min-width: 280px;
    padding: 14px 20px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    padding: 32px 20px;
    max-height: 95vh;
  }

  .modal-title {
    font-size: 20px;
    margin-bottom: 28px;
  }

  .modal-form .form-group {
    margin-bottom: 24px;
  }

  .modal-form .form-label {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .modal-form .form-input {
    padding: 14px;
    font-size: 15px;
  }

  .modal-form .form-hint {
    font-size: 12px;
    margin-top: 6px;
  }

  .room-photo-carousel {
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
  }

  .room-photo-track {
    width: 100%;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: thin;
    scrollbar-color: #91b790 #e8edf8;
  }

  .room-photo-track::-webkit-scrollbar {
    height: 6px;
  }

  .room-photo-track::-webkit-scrollbar-track {
    background: #e8edf8;
    border-radius: 3px;
  }

  .room-photo-track::-webkit-scrollbar-thumb {
    background: #91b790;
    border-radius: 3px;
  }

  .room-photo-nav-btn {
    display: none;
  }

  .room-photo-option {
    width: 200px;
    height: 120px;
  }

  .modal-actions {
    margin-top: 32px;
    gap: 14px;
  }

  .btn-modal-save {
    width: 100%;
    min-width: unset;
    padding: 14px 20px;
    font-size: 15px;
  }

  .btn-modal-cancel {
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  .modal-content {
    width: 100%;
    padding: 24px 16px;
    border-radius: 0;
    max-height: 100vh;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    font-size: 24px;
  }

  .modal-title {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .modal-form .form-group {
    margin-bottom: 20px;
  }

  .modal-form .form-label {
    font-size: 12px;
  }

  .modal-form .form-input {
    padding: 12px;
    font-size: 14px;
    border-radius: 10px;
  }

  .modal-form .form-hint {
    font-size: 11px;
  }

  .room-photo-option {
    width: 160px;
    height: 100px;
  }

  .room-photo-check svg {
    width: 28px;
    height: 28px;
  }

  .modal-actions {
    margin-top: 24px;
    gap: 12px;
  }

  .btn-modal-save {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 10px;
  }

  .btn-modal-cancel {
    font-size: 14px;
  }
}

/* Room Tabs */
.room-tabs-container {
  display: flex;
  align-items: center;
  background-color: #e8edf8;
  border-radius: 100px;
  padding: 5px;
  width: fit-content;
  margin-bottom: 24px;
}

.room-tab {
  height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: 100px;
  background-color: rgba(255, 255, 255, 0.5);
  color: #375f3a;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.room-tab:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.room-tab.active {
  background-color: #375f3a;
  color: white;
  min-width: 165px;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.room-tab.active .tab-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.room-tab.active span {
  position: relative;
  z-index: 1;
}

.room-tab.active .room-name {
  font-size: 14px;
  font-weight: 700;
}

.room-tab.active .room-count {
  font-size: 12px;
  font-weight: 500;
  margin-left: 8px;
}

.room-add-btn {
  height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: 100px;
  background-color: #375f3a;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.room-add-btn:hover {
  background-color: #2d4d30;
}

/* Step 4: Device Details */
.device-details-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.room-device-section {
  margin-bottom: 40px;
}

.room-device-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.room-device-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #375f3a;
  margin: 0;
}

.room-device-count {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #375f3a;
}

.btn-edit-room {
  background: white;
  border: none;
  border-radius: 10px;
  padding: 6px 16px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #375f3a;
  cursor: pointer;
  margin-left: auto;
  transition: background 0.3s ease;
}

.btn-edit-room:hover {
  background: #f5f5f5;
}

.device-detail-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  background: white;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.device-detail-image {
  width: 134px;
  height: 134px;
  background: #e4ece8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.device-detail-image img {
  max-width: 126px;
  max-height: 126px;
  object-fit: contain;
}

.device-detail-info {
  flex: 0 0 150px;
}

.device-detail-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #405263;
  margin: 0 0 8px;
}

.device-detail-consumption {
  display: inline-block;
  padding: 6px 12px;
  background: #f6f7fa;
  border-radius: 10px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #375f3a;
}

.device-detail-controls {
  display: flex;
  gap: 20px;
  flex: 1;
}

.device-control-group {
  flex: 1;
}

.control-label {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 10px;
  color: rgba(64, 82, 99, 0.8);
  margin-bottom: 6px;
  text-align: center;
}

.control-input {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.679px solid #dbe1e9;
  border-radius: 12px;
  overflow: hidden;
  height: 43px;
  width: 100%;
  max-width: 135px;
  padding: 0px !important;
}

.control-input input {
  max-width: 50px;
}

.control-btn {
  background: transparent;
  border: none;
  width: 36px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #697686;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: "Poppins", sans-serif;
  font-weight: 300;
}

.control-btn:hover {
  background: #f5f5f5;
}

.control-value {
  flex: 1;
  border: none;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #002255;
  height: 100%;
  outline: none;
  -moz-appearance: textfield;
}

.control-value::-webkit-outer-spin-button,
.control-value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.btn-delete-device {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.btn-delete-device:hover {
  opacity: 1;
}

.step4-actions {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

/* Step 4 Responsive Styles */
@media (max-width: 991.98px) {
  .device-detail-card {
    padding: 16px;
  }

  .device-detail-image {
    width: 100px;
    height: 100px;
    margin: 0 auto;
  }

  .device-detail-image img {
    max-width: 90px;
    max-height: 90px;
  }

  .device-detail-info {
    text-align: center;
    flex: none;
  }

  .device-detail-controls {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .device-control-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .control-input {
    max-width: 100%;
  }

  .btn-delete-device {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 12px;
  }
}

@media (max-width: 767.98px) {
  .device-details-content {
    padding: 0 16px;
  }

  .room-device-header {
    flex-wrap: wrap;
    gap: 12px;
  }

  .room-device-title {
    font-size: 18px;
  }

  .btn-edit-room {
    width: 100%;
    margin-left: 0;
  }

  .device-detail-card {
    padding: 12px;
  }

  .device-detail-image {
    width: 80px;
    height: 80px;
  }

  .device-detail-image img {
    max-width: 70px;
    max-height: 70px;
  }

  .device-detail-name {
    font-size: 14px;
  }

  .device-detail-consumption {
    font-size: 11px;
    padding: 4px 10px;
  }

  .control-label {
    font-size: 11px;
  }

  .control-input {
    height: 38px;
    max-width: 114px;
  }

  .control-btn {
    width: 32px;
    font-size: 22px;
  }

  .control-value {
    font-size: 16px;
  }
}

@media (max-width: 575.98px) {
  .device-detail-card {
    padding: 10px;
  }

  .device-detail-controls {
    gap: 10px;
  }

  .step4-actions .btn-save-continue {
    width: 100%;
    font-size: 14px;
    padding: 12px 20px;
  }
}

/* Room tabs responsive */
@media (max-width: 767.98px) {
  .room-tabs-container {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  .room-tabs-container::-webkit-scrollbar {
    height: 4px;
  }

  .room-tabs-container::-webkit-scrollbar-thumb {
    background: #375f3a;
    border-radius: 2px;
  }

  .room-tab {
    white-space: nowrap;
    min-width: fit-content;
  }

  .room-add-btn {
    min-width: fit-content;
  }
}

/* Progress indicator responsive */
@media (max-width: 767.98px) {
  .progress-indicator {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
    justify-content: flex-start;
  }

  .progress-step {
    min-width: 80px;
  }

  .progress-step span {
    font-size: 10px;
  }
}

/* Step 5: Analysis Page Styles */
.analysis-content {
  padding: 40px 0;
}

.max-w-900 {
  max-width: 900px;
  margin: 0 auto;
}

/* Summary Cards */
.summary-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  max-width: 224px;
  width: 224px;
}

.summary-label {
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  color: #336039;
}

.summary-value {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.summary-sublabel {
  font-family: "Montserrat", sans-serif;
  color: rgba(0, 0, 0, 0.8);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 17.365px;
  /* 173.647% */
  letter-spacing: -0.188px;
  margin: 0px !important;
}

.summary-sublabel-blue {
  color: #007aff;
  font-family: Montserrat;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 17.365px;
  letter-spacing: -0.188px;
}

.summary-sublabel-green {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #375f3a;
  line-height: 1.6;
  margin-bottom: 8px;
}

.summary-detail {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 10px;
  color: #697686;
}

.summary-percentage {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 56px;
  color: #375f3a;
  margin-bottom: 8px;
}

.card-percentage {
  background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f4 100%);
}

/* Analysis Section */
.analysis-section {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

.section-header-analysis {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.section-title-analysis {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #375f3a;
  margin: 0;
}

.section-actions {
  display: flex;
  gap: 16px;
}

.view-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #697686;
  cursor: pointer;
  transition: color 0.3s ease;
}

.view-label:hover {
  color: #375f3a;
}

/* Consumption Table */
.consumption-table {
  width: 100%;
  border-collapse: collapse;
}

.consumption-table tbody tr {
  border-bottom: 1px solid #e8edf8;
}

.consumption-table tbody tr:last-child {
  border-bottom: none;
}

.consumption-table td {
  padding: 16px 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #405263;
}

.consumption-table td:first-child {
  font-weight: 700;
  color: #375f3a;
  width: 40px;
}

.consumption-table td:nth-child(4) {
  font-weight: 700;
  color: #002255;
}

/* Chart Section */
.chart-section {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.donut-chart-container {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

.donut-chart {
  position: relative;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: conic-gradient(#4a90e2 0deg 126deg,
      #7ed321 126deg 252deg,
      #f5a623 252deg 324deg,
      #d0021b 324deg 360deg);
}

.chart-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chart-value {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #002255;
}

.chart-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #697686;
}

/* Chart Legend */
.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  background: #f6f7fa;
  border-radius: 8px;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

.legend-label {
  flex: 1;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #405263;
}

.legend-value {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #002255;
  margin-right: 8px;
}

.legend-percentage {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #697686;
}

/* Suggestions Section */
.suggestions-section {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.suggestion-card {
  background: #f6f7fa;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}

.suggestion-card:last-child {
  margin-bottom: 0;
}

.suggestion-card h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #375f3a;
  margin: 0 0 8px;
}

.suggestion-card p {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #405263;
  line-height: 1.5;
  margin: 0 0 12px;
}

.suggestion-savings {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #e8edf8;
}

.savings-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: #697686;
}

.savings-value {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #375f3a;
}

/* Analysis Actions */
.analysis-actions {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.btn-tekrarhesapla {
  display: flex;
  width: 343px;
  height: 50px;
  padding: 16px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  background: radial-gradient(85.54% 60.77% at 50% 56.5%, #91b790 5%);
  font-family: "Montserrat", sans-serif;
  border-width: 0px;
  color: var(--Button-White, #FFF);
}

/* Responsive Styles for Step 5 */
@media (max-width: 991.98px) {
  .summary-value {
    font-size: 28px;
  }

  .summary-percentage {
    font-size: 48px;
  }

  .donut-chart {
    width: 200px;
    height: 200px;
  }

  .chart-center {
    width: 130px;
    height: 130px;
  }

  .chart-value {
    font-size: 28px;
  }
}

@media (max-width: 767.98px) {
  .analysis-content {
    padding: 24px 0;
  }

  .summary-card {
    padding: 20px;
    max-width: 100%;
    width: 100%;
  }

  .summary-value {
    font-size: 24px;
  }

  .summary-percentage {
    font-size: 40px;
  }

  .section-header-analysis {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .consumption-table td {
    padding: 12px 8px;
    font-size: 12px;
  }

  .donut-chart {
    width: 180px;
    height: 180px;
  }

  .chart-center {
    width: 120px;
    height: 120px;
  }

  .chart-value {
    font-size: 24px;
  }

  .btn-tekrarhesapla {
    width: 100%;
    font-size: 14px;
    padding: 14px 24px;
  }
}

@media (max-width: 575.98px) {
  .analysis-section {
    padding: 16px;
  }

  .chart-section,
  .suggestions-section {
    padding: 16px;
  }

  .consumption-table td {
    padding: 10px 6px;
    font-size: 11px;
  }
}

/* Update Devices Button */
.btn-update-devices {
  color: #858a93;
  font-family: Montserrat;
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
  line-height: 14.586px;
  /* 145.864% */
  letter-spacing: -0.128px;
  border: none;
  background: transparent;
  margin: 0px !important;
  padding: 0px !important;
}

.summary-sublabel-blue {
  color: #4a90e2;
  font-weight: 700;
}

/* Analysis Content Wrapper */
.analysis-content-wrapper {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Energy Bar Chart Widget */
.energy-bar-widget {
  background: white;
  border-radius: 14.842px;
  padding: 22px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.widget-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: #365f3b;
  margin: 0;
  line-height: normal;
}

.widget-toggle {
  display: flex;
  gap: 0;
  background: #e4f5fc;
  border-radius: 7.421px;
  padding: 2px;
}

.toggle-btn {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 11px;
  padding: 6px 16px;
  border: none;
  background: transparent;
  color: #454545;
  border-radius: 7.421px;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: -0.1909px;
  line-height: 15.77px;
}

.toggle-btn.active {
  background: white;
  color: #365f3c;
}

.toggle-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
}

.energy-bars-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.energy-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 28px;
}

.bar-fill {
  width: var(--bar-width, 100%);
  height: 100%;
  background: linear-gradient(90deg,
      rgba(255, 153, 113, 0.66) 2.574%,
      rgba(255, 153, 113, 0) 112.5%);
  border-radius: 3.711px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7.421px;
}

.bar-label {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 10px;
  color: #131313;
  text-transform: capitalize;
  line-height: normal;
}

.bar-value {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 9px;
  color: #131313;
  line-height: normal;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
  .energy-bar-widget {
    padding: 16px;
  }

  .widget-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .widget-title {
    font-size: 11px;
  }

  .toggle-btn {
    font-size: 10px;
    padding: 5px 12px;
  }

  .bar-fill {
    max-width: 100%;
  }

  .energy-bar {
    gap: 4px;
  }
}

@media (max-width: 575.98px) {
  .widget-title {
    font-size: 10px;
  }

  .toggle-btn {
    font-size: 9px;
    padding: 4px 10px;
  }

  .bar-label {
    font-size: 9px;
  }

  .bar-value {
    font-size: 8px;
  }
}

/* Category Data Card */
.category-data-card {
  background: #91b790;
  border-radius: 10.967px;
  padding: 14.62px;
  margin-bottom: 32px;
  box-shadow: 1.828px 3.656px 10.967px 0px rgba(0, 0, 0, 0.05);
}

.category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 0.91px solid rgba(255, 255, 255, 0.3);
}

.category-row:last-child {
  border-bottom: none;
}

.category-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: white;
  line-height: 14.623px;
  flex: 1;
  min-width: 120px;
}

.category-consumption {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: white;
  line-height: 14.623px;
  text-align: center;
  min-width: 80px;
}

.category-cost {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: white;
  line-height: 14.623px;
  text-align: center;
  min-width: 80px;
}

.category-percentage {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 10px;
  color: white;
  line-height: 14.623px;
  text-align: right;
  min-width: 50px;
}

/* Responsive */
@media (max-width: 767.98px) {
  .category-data-card {
    padding: 12px;
  }

  .category-row {
    padding: 10px 8px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .category-name {
    min-width: 100%;
    margin-bottom: 4px;
  }

  .category-consumption,
  .category-cost,
  .category-percentage {
    flex: 1;
    min-width: auto;
    font-size: 9px;
  }
}

@media (max-width: 575.98px) {
  .category-data-card {
    padding: 10px;
  }

  .category-name,
  .category-consumption,
  .category-cost,
  .category-percentage {
    font-size: 9px;
  }
}

/* Room Consumption Widget */
.room-consumption-widget {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Period Tabs */
.period-tabs {
  display: flex;
  gap: 4px;
  background: #e4f5fc;
  border-radius: 7.311px;
  padding: 4px;
  margin-bottom: 20px;
}

.period-tab {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: none;
  border-radius: 5px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
}

.period-tab.active {
  background: white;
  color: #333;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.period-tab:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
}

/* Chart Widget Title */
.chart-widget-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #5ba4e5;
  text-align: center;
  margin-bottom: 24px;
}

/* Donut Chart Widget */
.donut-chart-widget {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto 32px;
}

.donut-svg {
  width: 100%;
  height: 100%;
}

.donut-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.donut-value {
  font-family: "Montserrat", sans-serif;
  color: var(--Text-Color, #454459);
  text-align: center;
  font-size: 18.279px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.donut-label {
  font-family: "Montserrat", sans-serif;
  color: var(--Text-Color, #454459);
  text-align: center;
  font-size: 10.967px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

/* Room Consumption List */
.room-consumption-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.room-consumption-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #e4f5fc;
  border-radius: 8px;
}

.room-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.room-percentage {
  font-family: "Montserrat", sans-serif;
  color: #3ba3f4;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 14.623px;
  /* 146.229% */
}

.room-name {
  font-family: "Montserrat", sans-serif;
  color: #000;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 14.623px;
  /* 146.229% */
}

.room-consumption-value {
  font-family: "Montserrat", sans-serif;
  color: #0a142b;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  line-height: 14.623px;
  /* 146.229% */
}

/* Responsive */
@media (max-width: 991.98px) {
  .room-consumption-widget {
    margin-top: 24px;
  }
}

@media (max-width: 767.98px) {
  .room-consumption-widget {
    padding: 16px;
  }

  .period-tab {
    font-size: 12px;
    padding: 6px 10px;
  }

  .chart-widget-title {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .donut-chart-widget {
    width: 180px;
    height: 180px;
  }

  .donut-value {
    font-size: 28px;
  }

  .donut-label {
    font-size: 11px;
  }

  .room-consumption-item {
    padding: 10px 12px;
  }

  .room-percentage,
  .room-name,
  .room-consumption-value {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .donut-chart-widget {
    width: 160px;
    height: 160px;
  }

  .donut-value {
    font-size: 24px;
  }

  .room-percentage,
  .room-name,
  .room-consumption-value {
    font-size: 12px;
  }
}


/* Semi-circle Progress */
.semi-circle-progress {
  position: relative;
  width: 100%;
  max-width: 120px;
  height: 60px;
  margin: 16px auto 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.semi-circle-img {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: auto;
  display: block;
}