/* 
   Theme Switcher Styles for QA Engineer Portfolio
   Author: Kizar Akib Ayon
   Date: August, 2025
*/

/* Theme Toggle Switch */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 24px;
  display: inline-block;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-switch label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  border-radius: 34px;
  transition: var(--transition);
}

.light-mode .toggle-switch label {
  background-color: #e9ecef;
}

.dark-mode .toggle-switch label {
  background-color: #333;
}

.toggle-switch label:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  border-radius: 50%;
  transition: var(--transition);
}

.light-mode .toggle-switch label:before {
  background-color: var(--primary-color-light);
}

.dark-mode .toggle-switch label:before {
  background-color: var(--primary-color-dark);
  transform: translateX(26px);
}

.light-mode .fa-sun {
  color: #f39c12;
}

.light-mode .fa-moon {
  color: #7f8c8d;
}

.dark-mode .fa-sun {
  color: #7f8c8d;
}

.dark-mode .fa-moon {
  color: #f1c40f;
}
