/**
 * Settings Panel Styles
 * Provides styles for the chat settings panel
 */

.vg-settings-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #3a4b69, #2a3446);
  z-index: 100;
  display: none;
  flex-direction: column;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease;
  overflow: hidden;
}

/* Add decorative background elements */
.vg-settings-panel::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(108, 99, 255, 0.1) 0%, rgba(108, 99, 255, 0) 70%);
  z-index: -1;
}

.vg-settings-panel::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 191, 166, 0.07) 0%, rgba(0, 191, 166, 0) 70%);
  z-index: -1;
}

.vg-settings-panel.vg-active {
  display: flex;
}

.vg-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.vg-settings-header h3 {
  margin: 0;
  color: white;
  font-size: 18px;
  font-weight: 600;
}

.vg-settings-close {
  background: none;
  border: none;
  color: #a0aec0;
  font-size: 16px;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.vg-settings-close:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.1);
}

.vg-settings-content {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
}

.vg-settings-section {
  margin-bottom: 24px;
}

.vg-settings-section h4 {
  margin: 0 0 12px 0;
  color: #a0aec0;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vg-setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.vg-setting-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.vg-setting-item label {
  color: white;
  font-size: 14px;
}

/* Toggle switch */
.vg-toggle-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}

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

.vg-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #4a5568;
  transition: .4s;
  border-radius: 24px;
}

.vg-toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .vg-toggle-slider {
  background-color: #6c63ff;
}

input:focus + .vg-toggle-slider {
  box-shadow: 0 0 1px #6c63ff;
}

input:checked + .vg-toggle-slider:before {
  transform: translateX(22px);
}

.vg-info-text {
  color: #718096;
  font-size: 12px;
  margin: 5px 0;
}

/* Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
