
  
  h1 {
    text-align: center;
  }
  
  .input-section {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
  }
  
  .file-input,
  .text-input {
    margin-bottom: 15px;
  }
  
  textarea {
    width: 100%;
    height: 80px;
    resize: none;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
  }

  .tab-section{
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px; 
    border-radius: 8px; 
  }
.room-type{
  display: flex;
  flex-wrap: wrap; 
  gap: 15px; 
  
  justify-content: space-evenly;
}

.tab {
  display: flex;
  align-items: center;  
  padding: 0 10px 0 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  flex: 1 1 calc(33.33% - 30px); 
  max-width: calc(33.33% - 30px); 
  min-width: 200px; 
 /* box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);  */
  transition: transform 0.3s;
  cursor: pointer;
}

.tab:hover {
  transform: scale(1.05);
}
.room-type-img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  margin-right: 10px;
}

.separator {
  width: 1px;
  height: 40px;
  background-color: #ccc;
  margin: 0 10px;
}

.room-text {
  font-size: 14px;
  color: #333;
  font-weight: 400;
  padding: 10px 0 10px 0;
}

@media (max-width: 768px) {
  .tab {
    flex: 1 1 calc(50% - 30px); 
    max-width: calc(50% - 30px);
  }
}

@media (max-width: 480px) {
  .tab {
    flex: 1 1 100%; 
    max-width: 100%;
  }
}

  
  .tab.active {
    background-color: #BB9A65;
    color: white;
  }
  
  .dropdown-section {
    margin-bottom: 20px;
    margin-top: 30px;
    border: 1px solid #ddd;
    padding: 8px; 
    border-radius: 8px; 
  }
  
  select {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
  }
  
  .generate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #e9f5b9, #BB9A65);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
    transition: transform 0.2s;
  }

  .generate-btn:hover {
    transform: scale(1.01);
  }

  .generate-btn svg {
    margin-right: 8px;
    fill: #333;
  }
  
  .result-section {
    margin-top: 20px;
    text-align: center;
  }
 
.room-type-title {
  display: flex;
  flex-direction: row; 
  align-items: center; 
  justify-content: center; 
  height: 50px; 
  width: 100px;
  gap: 10px; 

}

.room-type-title-img {
  width: 20px;
  height: 20px;
  object-fit: contain; 
}

.room-type-title-text {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.block{
  width: 134.5px;
  height: 134.5px;
}

.responsive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(115px, 1fr));
  gap: 10px;
}

.block {
  position: relative;
}

.style-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.peer:checked + .style-label {
  border-color: teal;
}

.style-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.style-name {
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  font-weight: 500;
  padding: 5px 0;
}

.selected-style-text {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 768px) {
  .responsive-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 480px) {
  .responsive-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}




/*  tab section */


.tab-container {
  
}

.tab-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.tab-button {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 14px;
  transition: background-color 0.3s;
}

.tab-button svg path {
  fill: #333; 
}


.tab-button.active svg path {
  fill: #fff; 
}

.tab-button.active {
  background-color: #BB9A65;
  color: #fff;
}

.tab-content {
  padding: 20px;
  text-align: center;
  background-color: #fff;
}

.upload-section,
.text-prompt-section {
  display: none;
}

.upload-section.active,
.text-prompt-section.active {
  display: block;
}

.upload-box {
  border: 2px dashed #82e3c1;
  padding: 20px;
  border-radius: 8px;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 250px;


  display: flex;
  justify-content: center;
  align-items: center;

}

.upload-box img {
  width: 100%; 
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}



.replace-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.7);
  color: #f3f3f3;
  font-size: 14px;
  opacity: 0;
  border-radius: 8px;
  transition: opacity 0.3s;
}

.upload-box.uploaded:hover .replace-text {
  opacity: 1;
}

.text-area {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  color: #000000;
  border: 1px solid #BB9A65;
  border-radius: 8px;
  resize: none;
  height: 150px;
}

.negative-prompt {
  margin-top: 10px;
  font-size: 12px;
  text-align: left;
}

.file-input {
  display: none;
}

#processing-message {
  font-size: 1.5em;
  color: #333;
  margin-top: 20px;
  text-align: center;
}

.generated-img{
  width: 40%;
  height: 400px;
  display: flex;
}