body {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
  flex-direction: column;
  font-family: "verdana";
}

/* Cada columna ocupa 1/3 automáticamente, ajustable */
.image-container,
.palette-container,
.complementary-container {
  flex: 1 1 0;
  min-width: 280px;
  max-width: 33%;
  box-sizing: border-box;
}
h1 {
  font-weight: bold;
  font-size: 3rem;
  letter-spacing: -2.5px;
}
.section-title {
  display: none;
  color: #5E5E5E;
  text-align: left;
  font-weight: bold;
  font-size: 1.5rem;
  letter-spacing: -2.5px;
  margin-bottom: 10px;
}

form {
/*  margin: 20px; */
}
/* Canvas ajustado al ancho disponible */
#canvas {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.content-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  flex-wrap: wrap;
  padding: 20px;
  box-sizing: border-box;
}
.palette-container {
  margin-left: 5px; /* Add some space between the image and the palette */
}

#palette,
#complementary {
  display: flex;
  justify-content: left;
  align-items: left;
  flex-wrap: wrap;
  width: 80%;
}

#palette div,
#complementary div {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25px 25px 25px 25px;
  padding: 15px 20px;
  margin: 5px;

  /* create a little bit of contrast for the text */
  mix-blend-mode: difference;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 1px 1px #333;
  cursor: pointer;
}
.tooltiptext {
  margin-left: 5px;
  font-size: 12px;
  color: #FFFFFF;
}

.btn-primary {
    color: #FFF;
    border-radius: 5px;
    padding: 14px;
    background-color: rgb(206, 161, 119, 1);
    border-color: rgb(206, 161, 119, 1);
}
.imageURL1 {
    color: #9b9b9b;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.getimgUrlBtn {
  background-color: #1D95AE;
  border: none;
  color: white;
  margin-left: 20px;
  padding: 12px 35px 12px 35px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 0px;
  cursor: pointer;
  border-radius: 0px;
}

.imageFileInput {
  background-color: #1D95AE;
  border: none;
  color: white;
  margin-left: 20px;
  padding: 11px 25px 11px 25px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin-top: 0px;
  cursor: pointer;
  border-radius: 0px;
}
#getimgUrlBtn:hover {
  background-color: #cea177; /* Darker green color on hover */
}
#loadLocalImageBtn:hover {
  background-color: #cea177; /* Darker green color on hover */
}

#clearUrlBtn {
  background-color: #1D95AE; /* Green background color */
  border: none; /* Remove borders */
  color: white; /* White text color */
  margin-left: 20px;
  padding: 12px 35px 12px 35px; /* Padding for better visual appearance */
  text-align: center; /* Center text horizontally */
  text-decoration: none; /* Remove underlines from links */
  display: inline-block; /* Make the button a block element to control width and height */
  font-size: 16px; /* Set the font size */
  margin-top: 0px; /* Add some space at the top */
  cursor: pointer; /* Add a pointer cursor on hover */
  border-radius: 0px; /* Add a slight border-radius for rounded corners */
}

#clearUrlBtn:hover {
  background-color: #cea177; /* Darker green color on hover */
}

/* NUEVO: estructura de columnas */
.input-section {
    display: flex;
/*  flex-wrap: wrap; */
    width: 100%;
    justify-content: space-between;
    margin-bottom: 5px;
}

.input-column {
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    padding: 3vh 5vh 3vh 5vh;
    gap: 10px;
}

.input-column label.title {
    font-weight: bold;
    margin-bottom: 5px;
    color: #212121;
}

.input-row {
    display: flex;
    align-items: center;
    gap: 10px;
/*  flex-wrap: wrap; */
}

#getimgUrlBtn:disabled,
#loadLocalImageBtn:disabled {
    background-color: #7A7A7A;
    color: #fff;
    cursor: not-allowed;
}

