/* color theme */

#colorSection[data-theme="dark"] {
  background-color: #121212;
  background-image: url("../../../../../assets/images/1920/1080/wave-dark-001-001.jpg");
  background-repeat: no-repeat;
  background-size: cover; 
  color: #ffffff;
}

#colorSection[data-theme="light"] {
  background-color: #f8f9fa;
  background-image: url("../../../../../assets/images/1920/1080/abstract-001-001.jpg");
  background-repeat: no-repeat;
  background-size: cover;  
  color: #212529;
}

#colorSection[data-theme="light"] .color-box {
  border-color: rgba(120, 120, 120, 0.4);
}

#colorSection[data-theme="dark"] .color-box {
  border-color: rgba(255, 255, 255, 0.4);;
}

.theme-toggler-container {
  z-index: 1000;
}

/* switch box */

.mwd-color-switch {
  padding-top: 6px;
}

.mwd-color-switch input[type=checkbox] {
  visibility: hidden;
}

.mwd-color-switch label {
  position: relative;
  display: block;
  cursor: pointer;
  background-color: #CCCCCC;
  border-radius: 100px;
  width: 66px;
  height: 30px;
  user-select: none !important;
  transition: background-color 0.3s ease;

  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 0 #CECFD1;
  font-size: 14px;
  font-weight: 600;
  color: #606060;
  text-shadow: 0 1px #fff;
}

.mwd-color-switch label::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  background-color: #FFFFFF;
  border-radius: 90px;
  transition: 0.3s;
  z-index: 2;
}

.mwd-color-switch label .icon {
  position: absolute;
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 16px;
  top: 7px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1;
}

.mwd-color-switch label .sun {
  content: '\f185'; /* sun icon */
  right: 10px;
  color: #FFFFFF;
  opacity: 1;
}

.mwd-color-switch label .moon {
  content: '\f186'; /* moon icon */
  left: 10px;
  color: #ffffff;
  opacity: 0;
}

.mwd-color-switch input:checked + label {
  background-color: #222222;
}

.mwd-color-switch input:checked + label::after {
  left: calc(100% - 26px);
}

.mwd-color-switch input:checked + label .sun {
  opacity: 0;
  transform: scale(0.8);
}

.mwd-color-switch input:checked + label .moon {
  opacity: 1;
  transform: scale(1.1);
}



/* colors section */

.mwd-colors-section {
  padding: 1rem;
}

.color-box {
  border: 1px solid #ffffff;
  margin-bottom: 4px;
  padding: 10px 20px;
  font-size: smaller;
}

.color-box:last-child {
  margin-bottom: 0;
}

.mwd-color-box {
  padding: 10px;
  margin-bottom: 4px;
}

.mwd-color-box:last-child {
  margin-bottom: 0;
}

.color-image-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 300px;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* nav buttons */
.mwd-colors-nav-section {
  background-color: #f0f0f0;
  background: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
  padding: 10px;
  border-top: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
}

.mwd-container-fluid-colors-nav {

}

.mwd-colors-nav-buttons {

}

.mwd-colors-nav-buttons .btn {
  -webkit-appearance: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  display: inline-block;
  outline: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  background-image: linear-gradient(to top, #D8D9DB 0%, #fff 80%, #FDFDFD 100%);
  border-radius: 30px;
  border: 1px solid #8F9092;
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 0 #CECFD1;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 600;
  color: #606060;
  text-shadow: 0 1px #fff;
}

.mwd-colors-nav-buttons .btn {
  margin-right: 20px;
}
    
.mwd-colors-nav-buttons .btn:last-child {
  margin-right: 0;
}
    
.mwd-colors-nav-buttons .btn::-moz-focus-inner {
  border: 0;
}

.mwd-colors-nav-buttons .btn {
  transition: transform 0.2s ease;
}

.mwd-colors-nav-buttons .btn:hover {
  color: #444444 !important;
}

.mwd-colors-nav-buttons .btn:hover:not([disabled]) {
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 3px 3px #CECFD1;
}

.mwd-colors-nav-buttons .btn:hover:not([disabled]) {
  transform: scale(0.975);
}

.mwd-colors-nav-buttons .btn:focus:not(:active) {
  -webkit-animation: active 0.9s alternate infinite;
          animation: active 0.9s alternate infinite;
  outline: none;
}

.mwd-colors-nav-buttons .btn:active:not([disabled]) {
  box-shadow: 0 4px 3px 1px #FCFCFC, 0 6px 8px #D6D7D9, 0 -4px 4px #CECFD1, 0 -6px 4px #FEFEFE, inset 0 0 5px 3px #999, inset 0 0 30px #aaa;
}

.mwd-colors-nav-buttons .btn:active:not([disabled]) {
  transform: scale(0.95);
}

.mwd-colors-nav-buttons .btn:disabled{
  opacity: 0.6;
  cursor: default;
}
    
.mwd-colors-nav-buttons .btn i {
  display: inline-block;
  padding-top: 9px;
} 