/* Theme Toggle Styles */
.theme-toggle-wrapper {
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.theme-toggle-container {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.theme-toggle {
  display: inline-block;
  position: relative;
  margin: 0;
  width: 50px;
  height: 26px;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  background-color: #e0e0e0;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .theme-toggle {
  background-color: #121212;
}

.theme-toggle-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  z-index: 1;
  cursor: pointer;
}

.theme-toggle-label {
  position: relative;
  display: block;
  height: 100%;
  width: 100%;
}

.theme-toggle-ball {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #bb9a30);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.theme-toggle-checkbox:checked + .theme-toggle-label .theme-toggle-ball {
  transform: translateX(24px);
}

/* Removed moon and star icons */

/* Modern Component Card Styles */
.modern-card {
  border-radius: 24px;
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
  background: var(--card-bg-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.modern-card.purple-card {
  background: linear-gradient(135deg, var(--card-purple), #6a4bbd);
  color: white;
}

.modern-card.pink-card {
  background: linear-gradient(135deg, var(--card-pink), #e45a9d);
  color: white;
}

.modern-card.teal-card {
  background: linear-gradient(135deg, var(--card-teal), #20a99b);
  color: white;
}

.modern-card.blue-card {
  background: linear-gradient(135deg, var(--card-blue), #5a9de4);
  color: white;
}

.modern-card .card-body {
  padding: 1.5rem;
  z-index: 1;
}

.modern-card .card-title {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.modern-card .card-text {
  opacity: 0.9;
  font-size: 0.9rem;
}

.modern-card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.modern-card .card-icon i {
  font-size: 1.5rem;
  color: white;
}

.modern-card .card-footer {
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
}

.modern-card .card-footer .btn {
  border-radius: 20px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Card background patterns */
.modern-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.1) 20%, transparent 60%);
  z-index: 0;
}

.modern-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 30%, transparent 70%);
  z-index: 0;
}
