/* 
  SIDEBAR THEME CUSTOMIZER 
*/

.theme-switcher {
  position: fixed;
  right: -300px; /* Hidden by default */
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  background: white;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 20px 0 0 20px;
  padding: 30px;
}

.theme-switcher.active {
  right: 0;
}

.theme-switcher-toggle {
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px 0 0 10px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.theme-switcher-toggle i {
  font-size: 1.5rem;
  animation: rotate 4s linear infinite;
}

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

.switcher-section {
  margin-bottom: 25px;
}

.switcher-section h4 {
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.color-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.color-ball {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition);
}

.color-ball:hover {
  transform: scale(1.1);
}

.color-ball.active {
  border-color: #000;
}

/* Layout Options */
.layout-options {
  display: flex;
  gap: 10px;
}

.layout-btn {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
}

.layout-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--secondary-color);
}
