html,
body {
  height: 100%;
  margin: 0;
}

body {  
  font: 400 16px / 24px Google Sans,Noto Sans,Noto Sans JP,Noto Sans KR,Noto Naskh Arabic,Noto Sans Thai,Noto Sans Hebrew,Noto Sans Bengali,sans-serif; 
}

h1 {
  font-size: 1rem;
}

input[type="text"],
input[type="number"],
select {
  border: 1px solid #ccc;
  padding: 10px 8px;
  border-radius: 5px;
  width: 98%;
}

input[type="text"] {
  width: 93%;
}

label {
  display: block;
  color: #4a5568;
  font-size: 0.8rem;
  margin: 8px 0 3px 0;
}

button {
  color: #fff;
  background-color: #1a73e8;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
}

p.note {
  color: #4a5568;
  font-size: 0.8rem;
  line-height: 0.8rem;
  margin: 0;
}

hr {
  border: 1px solid #eee;
  border-radius: 50%;
}

a.reset, span {
  color: #4a5568;
  font-size: 0.7rem;
}

span.steps {
  display: inline-block;
  padding: 0 10px;
  background-color: #4a5568;
  color: #fff;
  border-radius: 50%;
  margin-right: 10px;
  line-height: 1.5rem;
}

.inline-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: sub;
}

.left-indent {
  padding-left: 40px;
}

#container {
  display: flex;
  width: 100%;
  height: 1500px;
  align-items: flex-start;
  flex-direction: column;
  border: 1px solid #dadce0;
  border-radius: 12px;
  overflow: scroll;
  box-sizing: border-box;
}

#content-selector {
  width: 100%;
}

.row {
  display: flex;
  gap: 40px;
}

.row > div {
  width: 50%;
}

.row.fullwidth > div {
  width: 100%;
}

.row.middle-align {
  align-items: center;
} 

.controls {
  padding: 30px;
  overflow: scroll;
  border-radius: 30px;
  box-sizing: border-box;
}

section {
  margin: 10px 0px;
  padding: 0 0 5px 0;
}

.layout-row {
  display: flex;
}

.layout-row label {
  margin: 0 5px 0 0;
}

.layout-grid {
  display: grid;
  grid-template-columns: auto auto;
}

.grid-gap {
  gap: 20px;
}

.input-group {
  padding: 0 10px 10px 0;
}

gmp-place-autocomplete {
  display: inline-block;
  width: 97%;
  height: 38px;
  border: 1px solid #ccc;
  border-radius: 5px;
  color-scheme: only light;
}
.content-element-container {
  padding-left: 20px;
  display: none;
  grid-template-columns: auto auto;
}

.content-element-container div {
  display: grid;
  grid-template-columns: auto auto;
}

.content-element-container label {
  margin: 0;
}

.extra-content {
  display: none;
}

.style-config {
  row-gap: 10px;
}

.content-elements,
.style-config section {
  display: grid;
  grid-template-columns: auto auto;
}
.style-config label {
  display: block;
  line-height: 15px;
  margin-right: 15px;
}

.style-config .color-wrapper {
  display: inline-block;
  /* height: 27px; */
  overflow: hidden;
  vertical-align: middle;
}

.style-config input[type="color"] {
  display: block;
  margin-top: 2px;
}

.style-config .reset {
  display: inline-block;
  vertical-align: middle;
}

.style-config input[type="text"],
.style-config input[type="number"] {
  display: inline-block;
  padding: 5px 3px;
  margin-top: 4px;
  width: 75%;
}

.style-config input[type="number"] {
  width: 30%;
}

.widget-container {
  margin: 20px 0;
  width: 100%;
}

.contents {
  width: 50%;
}

gmp-place-details-compact,
gmp-place-details {
  width: 450px;
  margin: 0 auto 10px auto;
}

gmp-place-details {
  max-height: 820px;
  overflow: scroll;
}

.top-controls {
  background-color: #f8f8f8;
  border-radius: 30px;
  padding: 30px;
  margin: 30px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.top-controls > div {
  width: 30%;
}

#loading-icon {
  display: none;
}

/* #btn-generate {
  display: block;
  margin: 20px auto 0 auto;
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease-in-out;
} */

/* #btn-generate:hover {
  transform: rotate(90deg);
  cursor: pointer;
} */

/* #btn-generate.loading {
  animation: spin 1.5s infinite;
} */

/* @keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
} */

input[type="color" i] {
  /* border-radius: 50%;
  inline-size: 25px;
  block-size: 25px;
  padding: 3px; */
  border: 1px solid #ccc;
}

/* input[type="color" i]::-webkit-color-swatch-wrapper {
  padding: 1px;
}

input[type="color" i]::-webkit-color-swatch {
  border-radius: 50%;
}

input[type="color" i]::-moz-color-swatch {
  border-radius: 50%;
} */

input[type="range"] {
  accent-color: #1a73e8;
}

textarea {
  min-height: 180px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: #4a5568;
  font-size: 0.8rem;
  font-family: 'Courier New';
}

#img-canvas {
  display: none;
  max-width: 800px;
  max-height: 800px;
}

/* section#image-controls {
  display: flex;
  justify-content: center;
} */

#style-description {
  background: linear-gradient(45deg, #4769b7, #cd194d);
  background-clip: text;
  -webkit-background-clip: text;
  line-height: 1rem;
  font-size: 0.8rem;
  color: transparent;
  margin: 10px 0;
}

ul.tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: space-evenly;
  border-bottom: 1px solid #ccc;
}

ul.tabs li {
  color: #ccc;
  font-size: 0.88rem;
  line-height: 48px;
  padding: 0 10px;
  cursor: pointer;
  border-bottom: 2px solid #fff;
  
}

ul.tabs li:hover,
ul.tabs li.active
{
  color: #1a73e8;
  border-bottom: 2px solid #1a73e8;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.accordion {
  background-color: #e8f0fe;
  color: #444;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  text-align: left;
  border: none;
  border-bottom: 1px solid #fff;
  outline: none;
  transition: 0.4s;
}

.accordion:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  margin-left: 5px;
}

.accordion.active:after {
  content: '\002D';
}

.accordion.active, .accordion:hover {
  background-color: #ccc;
}

.style-config section.panel {
  padding: 0 18px 18px 18px;
  margin-top: 0px;
  max-height: 300px;
  background-color: white;
  display: none;
  overflow: auto;
  transition: 0.2s ease-out;
  border: 1px solid #ccc;
  border-top: none;
}