/**
 * White-Label Settings Styles
 */

.prorank-white-label-settings {
  margin-top: 20px;
}

.prorank-white-label-settings .form-group {
  margin-bottom: 25px;
}

.prorank-white-label-settings label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1e1e1e;
}

/* Logo Upload */
.logo-upload-wrapper {
  border: 2px dashed #ddd;
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  background: #fafafa;
}

.logo-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.logo-preview img {
  max-width: 200px;
  max-height: 100px;
  object-fit: contain;
  border: 1px solid #ddd;
  padding: 10px;
  background: white;
  border-radius: 4px;
}

/* Color Picker */
.color-picker-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-picker-row input[type="color"] {
  width: 50px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  padding: 2px;
}

.color-picker-row .color-code {
  width: 100px;
  font-family: monospace;
}

/* Input Fields */
.prorank-white-label-settings .components-text-control__input {
  width: 100%;
  max-width: 400px;
}

/* Toggle Control */
.prorank-white-label-settings .components-toggle-control {
  margin-top: 20px;
}

/* Form Groups */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1e1e1e;
}

.form-group .description {
  margin-top: 5px;
  font-size: 13px;
  color: #757575;
  font-style: italic;
}

.form-group .description a {
  color: #2271b1;
}

/* Pro Badge */
.pro-badge {
  display: inline-block;
  padding: 2px 6px;
  background: #ff9800;
  color: white;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Disabled checkboxes */
.components-checkbox-control__input:disabled + .components-checkbox-control__label {
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .color-picker-row {
    flex-wrap: wrap;
  }
  
  .color-picker-row .color-code {
    flex: 1;
    min-width: 150px;
  }
}