*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-size: 16px;
  background: #dddeee;
  max-width: 100vw;
  height: 100vh;
}

.container {
  width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 0.25rem;
  background: #fff;
  box-sizing: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
}

/* section */
.section {
  margin-bottom: 2rem;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-header-action {
  display: inline-block;
  border: none;
  border-radius: 0.15rem;
  background: transparent;
  color: #ff6733;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}
.section-header-action-group {
  display: flex;
  gap: 1rem;
}
.section-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}
.divider {
  width: 100%;
  height: 1px;
  margin-top: 0.3rem;
  background: #dddeee;
}

/* color display  */
.color-display {
  width: 100%;
  height: 8rem;
  margin-top: 1rem;
  border: 1px solid #dddeee;
  border-radius: 0.15rem;
  background: #dddeee;
}

/* select copy mode section  */
.select-copy-mode {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
}

.mode-radio-group {
  display: flex;
  gap: 1rem;
}

/* selected color code  */
.selected-color-code {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

/* color sliders  */
.color-sliders {
  margin-top: 2rem;
}

.hex-input-group {
  position: relative;
}

.hex-icon {
  position: absolute;
  top: 47%;
  left: 1px;
  background: #dddeee;
  padding: 0.18rem 1rem;
  border-top-left-radius: 0.15rem;
  border-bottom-left-radius: 0.15rem;
}

.hex-input {
  padding-left: 3rem !important;
}

/* colors sliders  */
.color-sliders-group {
  margin-top: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

.color-slider {
  width: 100%;
  height: 25px;
  border-radius: 0.25rem;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.slider-label-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #555555;
  font-size: 0.8rem;
  margin-top: 1rem;
}
.text-input,
.text-input:disabled {
  width: 100%;
  background: transparent;
  outline: none;
  border: 1px solid #dddeee;
  border-radius: 0.15rem;
  padding: 0.5rem 1rem;
  margin-top: 0.25rem;
}

.text-input:focus {
  border: 1px solid #ff6733;
}

.lead {
  font-weight: 600;
  font-size: 0.9rem;
  color: #333333;
  display: block;
  user-select: none;
}

label {
  user-select: none;
}

.toast-message {
  position: fixed;
  z-index: 999;
  top: 2rem;
  right: 2rem;
  background: rgb(19, 201, 110);
  color: #fff;
  border: 1px solid #fff;
  border-radius: 0.25rem;
  padding: 1rem 2rem;
  cursor: pointer;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.toast-message-slider-in {
  animation: toast-animation-in 0.5s ease-in;
}

.toast-message-slide-out {
  animation: toast-animation-out 0.5s ease-in;
}

/*
Date: 08/06/2022 ;  Time: 1:09 AM
 preset color style here 
 */

.preset-colors {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1rem 0;
}
.color-box {
  width: 75px;
  height: 30px;
  /* background: lightpink; */
  border-radius: 0.3 rem;
  cursor: pointer;
}
.background-preference {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.background-left-panel,
.background-right-panel {
  padding: 1rem;
}
.background-image {
  width: 100%;
  padding-top: 52.25%;
  border-radius: 0.25rem;
  background-color: #dddeee;
  background-size: 100% 100% !important;
  margin-top: 1rem;
  background-position: bottom !important;
  background-repeat: no-repeat !important;
}
.background-control-btn {
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  cursor: pointer;
}
.background-control {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.file-input {
  display: none;
}
.select-group {
  margin-top: 0.5rem;
}
select {
  text-transform: capitalize;
}
#bg-file-delete-btn {
  display: none;
}
#bg-controller {
  display: none;
}
@keyframes toast-animation-in {
  from {
    transform: translateX(200px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes toast-animation-out {
  from {
    transform: translateX(0px);
    opacity: 1;
  }
  to {
    transform: translateX(200px);
    opacity: 0;
  }
}
