/* Rejuvewell Retreat Brand Styling */

:root {
  /* Rejuvewell Brand Colors */
  --rejuvewell-primary: #b58f51;
  --rejuvewell-primary-light: #e4b547;
  --rejuvewell-primary-dark: #b8901f;
  --rejuvewell-text: #584a1d;
  --rejuvewell-background: #fdf8eb;
  --rejuvewell-secondary: #dcd1ae;
  --rejuvewell-secondary-light: #e8ddc4;
  --rejuvewell-secondary-dark: #c9bc93;
  
  /* Status colours using brand palette */
  --rejuvewell-success: #8ba33c;
  --rejuvewell-warning: #d6a729;
  --rejuvewell-danger: #a0543a;
  --rejuvewell-info: #7a8b9a;
}

/* Override primary colours for brand consistency */
.btn-primary {
  background-color: var(--rejuvewell-primary);
  border-color: var(--rejuvewell-primary);
  color: white;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--rejuvewell-primary-dark);
  border-color: var(--rejuvewell-primary-dark);
  color: white;
}

.btn-outline-primary {
  color: var(--rejuvewell-primary);
  border-color: var(--rejuvewell-primary);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
  background-color: var(--rejuvewell-primary);
  border-color: var(--rejuvewell-primary);
  color: white;
}

/* Minimalist promotion styling - no gradients, clean lines */
.promotion-header {
  background-color: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.promotion-card {
  background-color: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: none;
  transition: none;
}

.promotion-card:hover {
  box-shadow: none;
  transform: none;
}

.promotion-status-draft {
  background-color: #f8f9fa;
  color: #495057;
}

.promotion-status-sending {
  background-color: #fff3cd;
  color: #856404;
}

.promotion-status-sent {
  background-color: #d1edff;
  color: #0c5460;
}

/* Email preview styling - clean and minimal */
.email-preview {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  background-color: #fafafa;
  max-height: 600px;
  overflow-y: auto;
}

.email-preview-header {
  background-color: white;
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem;
  font-weight: 600;
  color: var(--rejuvewell-text);
}

/* Form styling for promotions - minimal approach */
.promotion-form-section {
  background-color: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.promotion-form-section h4 {
  color: var(--rejuvewell-text);
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* Recipient management styling - simplified */
.recipient-upload-area {
  border: 1px dashed #dee2e6;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  background-color: #f8f9fa;
  transition: border-color 0.2s ease;
}

.recipient-upload-area:hover {
  border-color: var(--rejuvewell-primary);
  background-color: white;
}

.recipient-upload-area.dragover {
  border-color: var(--rejuvewell-primary);
  background-color: rgba(181, 143, 81, 0.05);
}

/* CSV content textarea styling */
.csv-content-textarea {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  resize: vertical;
  min-height: 200px;
}

.csv-preview-valid {
  border-left: 4px solid var(--rejuvewell-success);
  background-color: #f8fff8;
}

.csv-preview-invalid {
  border-left: 4px solid var(--rejuvewell-danger);
  background-color: #fff8f8;
}

/* CSV validation buttons */
.csv-validation-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.csv-validation-buttons .btn {
  white-space: nowrap;
}

/* Statistics cards - clean design */
.promotion-stats-card {
  background-color: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  transition: none;
}

.promotion-stats-card:hover {
  border-color: #e5e5e5;
  box-shadow: none;
}

.promotion-stats-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--rejuvewell-primary);
}

.promotion-stats-label {
  color: #6c757d;
  font-weight: 400;
}

/* Progress bars - minimal styling */
.progress {
  background-color: #f8f9fa;
  height: 6px;
}

.progress-bar {
  background-color: var(--rejuvewell-primary);
}

/* Unsubscribe page styling - clean design */
.unsubscribe-container {
  background-color: #f8f9fa;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.unsubscribe-card {
  background-color: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

.unsubscribe-header {
  background-color: var(--rejuvewell-primary);
  color: white;
  padding: 2rem;
  border-radius: 12px 12px 0 0;
  text-align: center;
}

/* Loading states - minimal animation */
.promotion-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #dee2e6;
  border-radius: 50%;
  border-top-color: var(--rejuvewell-primary);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .promotion-header {
    padding: 1rem 0;
  }
  
  .promotion-form-section {
    padding: 1rem;
  }
  
  .recipient-upload-area {
    padding: 1.5rem;
  }
}

/* Brand contact info styling - clean footer */
.brand-contact {
  background-color: #f8f9fa;
  border-top: 1px solid #e5e5e5;
  padding: 1rem;
  font-size: 0.9rem;
  color: var(--rejuvewell-text);
  text-align: center;
}

.brand-contact a {
  color: var(--rejuvewell-primary);
  text-decoration: none;
}

.brand-contact a:hover {
  color: var(--rejuvewell-primary-dark);
  text-decoration: underline;
} 