/* Custom styles for Discord Surveillance Camera */

.container-content {
  background: var(--color-bg);
  padding: 24px;
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.settings-panel {
  background: var(--color-section-bg);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 32px;
}

.section-title {
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.control-group {
  margin-bottom: 16px;
}

.control-group label.field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.input-field, .select-field {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: var(--color-bg);
  color: var(--color-text-primary);
  box-sizing: border-box;
}

.input-field:focus, .select-field:focus {
  border-color: var(--color-brand-teal);
  outline: none;
}

.hint-text {
  display: block;
  margin-top: 4px;
  color: #86868b;
  font-size: 13px;
}

.day-selector {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.day-selector label {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.button-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.button-group .btn {
  flex: 1;
  min-width: 120px;
}

.btn-danger {
  background: #ff3b30;
  color: white;
  border: none;
}

.btn-danger:hover:not(:disabled) {
  opacity: 0.8;
}

.btn-warning {
  background: #ff9500;
  color: white;
  border: none;
}

.btn-warning:hover:not(:disabled) {
  opacity: 0.8;
}

.btn-outline {
  background: var(--color-section-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
}

.btn-outline:hover:not(:disabled) {
  background: rgba(0,0,0,0.05);
}

:root[saved-theme="dark"] .btn-outline:hover:not(:disabled) {
  background: rgba(255,255,255,0.05);
}

.preview-container {
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-video {
  max-width: 100%;
  max-height: 100%;
}

.status-panel {
  padding: 16px;
  background: var(--color-section-bg);
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.sleep-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  color: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
}