/* Admin Branding Settings */

/* Wizard Styles */
.wizard-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem;
}

.wizard-header {
  text-align: center;
  margin-bottom: 3rem;
}

.wizard-header h1 {
  font-size: 3.2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #111827;
}

.wizard-subtitle {
  font-size: 1.6rem;
  color: #6b7280;
  margin: 0;
}

.wizard-progress {
  margin-bottom: 3rem;
}

.wizard-progress-bar {
  width: 100%;
  height: 0.6rem;
  background: #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2rem;
}

.wizard-progress-fill {
  height: 100%;
  background: linear-gradient(to right, #3b82f6, #2563eb);
  border-radius: 1rem;
  transition: width 0.3s ease;
  width: 25%;
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.wizard-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
  flex: 1;
  transition: all 0.2s;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  font-weight: 600;
  font-size: 1.6rem;
  transition: all 0.2s;
}

.wizard-step-indicator.active .step-number {
  background: #3b82f6;
  color: white;
  box-shadow: 0 0 0 0.4rem rgba(59, 130, 246, 0.2);
}

.wizard-step-indicator.completed .step-number {
  background: #10b981;
  color: white;
}

.step-label {
  font-size: 1.3rem;
  font-weight: 500;
  color: #6b7280;
  text-align: center;
}

.wizard-step-indicator.active .step-label {
  color: #3b82f6;
  font-weight: 600;
}

.wizard-step-indicator.completed .step-label {
  color: #10b981;
}

.wizard-form {
  background: white;
  border-radius: 0.8rem;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
  padding: 3rem;
  min-height: 500px;
}

.wizard-step {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
  color: #3b82f6;
}

.step-content h2 {
  font-size: 2.4rem;
  font-weight: 600;
  text-align: center;
  margin: 0;
  color: #111827;
}

.step-description {
  font-size: 1.5rem;
  color: #6b7280;
  text-align: center;
  margin: 0 0 2rem 0;
}

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 0.1rem solid #e5e7eb;
  gap: 2rem;
}

.wizard-nav-center {
  flex: 1;
  text-align: center;
}

.completion-message {
  text-align: center;
  padding: 3rem 2rem;
  background: #f0fdf4;
  border-radius: 0.8rem;
  margin-top: 2rem;
}

.completion-message svg {
  color: #10b981;
  margin-bottom: 1rem;
}

.completion-message h3 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.8rem 0;
  color: #065f46;
}

.completion-message p {
  font-size: 1.5rem;
  color: #047857;
  margin: 0;
}

.empty-state-text {
  text-align: center;
  color: #6b7280;
  font-size: 1.4rem;
  padding: 3rem 2rem;
}

.text-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.text-link:hover {
  text-decoration: underline;
}

/* Branding Edit Page Styles */

.branding-form {
  background: white;
  border-radius: 0.8rem;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
  padding: 3rem;
}

.branding-sections {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.branding-section {
  border-bottom: 0.1rem solid #e5e7eb;
  padding-bottom: 3rem;
}

.branding-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #111827;
}

.section-description {
  font-size: 1.4rem;
  color: #6b7280;
  margin: 0;
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Logo Section */
.current-logo {
  margin-bottom: 2rem;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 0.6rem;
}

.current-logo h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  color: #374151;
}

.logo-preview-container {
  position: relative;
  display: inline-block;
  max-width: 200px;
}

.logo-preview {
  max-width: 200px;
  height: auto;
  border-radius: 0.4rem;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
  display: block;
}

.logo-remove-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(254, 202, 202, 0.4);
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0.8rem;
  border-radius: 0.4rem;
  opacity: 0;
  transition: opacity 0.2s;
  cursor: pointer;
}

.logo-preview-container:hover .logo-remove-overlay {
  opacity: 1;
}

.logo-remove-overlay svg {
  color: #dc2626;
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
  padding: 0.6rem;
  background: white;
  border: 0.15rem solid #dc2626;
  border-radius: 50%;
  box-sizing: content-box;
}

.logo-info {
  margin: 1rem 0 0 0;
  font-size: 1.3rem;
  color: #6b7280;
}

.media-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.media-selector-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border: 0.2rem solid #e5e7eb;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: all 0.2s;
}

.media-selector-item:hover {
  border-color: #3b82f6;
  box-shadow: 0 0.2rem 0.8rem rgba(59, 130, 246, 0.15);
}

.media-selector-item.selected {
  border-color: #3b82f6;
  background: #eff6ff;
  box-shadow: 0 0 0 0.3rem rgba(59, 130, 246, 0.1);
}

.media-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.media-selector-thumbnail {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 0.4rem;
  margin-bottom: 0.8rem;
}

.media-selector-title {
  font-size: 1.2rem;
  color: #374151;
  text-align: center;
  word-break: break-word;
}

/* Color Grid */
.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.color-input-group {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.color-picker {
  width: 60px;
  height: 40px;
  border: 0.1rem solid #d1d5db;
  border-radius: 0.4rem;
  cursor: pointer;
}

.color-text {
  flex: 1;
  padding: 0.8rem 1.2rem;
  font-size: 1.4rem;
  border: 0.1rem solid #d1d5db;
  border-radius: 0.4rem;
  font-family: 'Monaco', 'Courier New', monospace;
}

.color-text:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 0.3rem rgba(59, 130, 246, 0.1);
}

/* Typography Grid */
.typography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Layout Grid */
.layout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Form Elements */
.form-group label {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.6rem;
}

.form-text {
  display: block;
  font-size: 1.2rem;
  color: #6b7280;
  margin-top: 0.4rem;
}

.form-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-end;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 0.1rem solid #e5e7eb;
}

/* Responsive */
@media (max-width: 768px) {
  .branding-form {
    padding: 2rem;
  }

  .color-grid,
  .typography-grid,
  .layout-grid {
    grid-template-columns: 1fr;
  }

  .media-selector-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
