/* HOST SETTINGS CSS */

.settings-header {
  margin-bottom: 32px;
}
.settings-header h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.8rem;
  margin: 0;
}
.settings-header p {
  color: #666;
  margin-top: 4px;
}

/* Layout */
.settings-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Card Sections */
.settings-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(15, 61, 46, 0.08);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}
.settings-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
}
.settings-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0;
}

/* Forms */
.form-label {
  font-weight: 600;
  color: #444;
  font-size: 0.9rem;
  margin-bottom: 6px;
}
.form-control {
  background-color: #f8faf9;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: var(--primary-dark);
  transition: all 0.2s;
}
.form-control:focus {
  background-color: #fff;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(18, 94, 64, 0.1);
}

/* Profile Photo */
.profile-photo-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.profile-photo-wrapper img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #eee;
}

/* Upload Dropzones */
.upload-dropzone {
  border: 2px dashed #ddd;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  background: #fafafa;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 16px;
}
.upload-dropzone:hover {
  background: #f0f4f2;
  border-color: var(--primary-green);
}
.upload-dropzone i {
  font-size: 1.5rem;
  color: var(--primary-green);
  margin-bottom: 8px;
}
.upload-dropzone p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

/* Verification Badge */
.badge-verification {
  background: #e5f6e5;
  color: #125e40;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}
.badge-verification.pending {
  background: #fff3cd;
  color: #856404;
}

/* Custom Toggles */
.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f5f5f5;
}
.toggle-row:last-child {
  border-bottom: none;
}
.toggle-info h5 {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.toggle-info p {
  margin: 0;
  font-size: 0.85rem;
  color: #888;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--primary-green);
}
input:checked + .slider:before {
  transform: translateX(22px);
}

/* Danger Zone */
.danger-zone {
  border: 1px solid #f5c6cb;
  background: #fffcfc;
}
.danger-zone .settings-card-header h3 {
  color: #dc3545;
}
.danger-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #f5c6cb;
}
.danger-row:last-child {
  border-bottom: none;
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1060;
}
