:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --success-color: #198754;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #0dcaf0;
  --light-color: #f8f9fa;
  --dark-color: #212529;
}

body {
  background-color: #f5f7fa;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
/**landing page styles */
.typewriter {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  animation: typing 4s linear forwards;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.scroll-fade {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
.scroll-fade.active {
  opacity: 1;
  transform: translateY(0);
}

/* Sidebar Styles */
.sidebar {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: calc(100vh - 56px);
  padding: 0;
  position: sticky;
  top: 56px;
}

.sidebar-content {
  padding: 2rem 1rem;
}

.sidebar-title {
  color: white;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.step:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.step.active {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step.completed {
  background: rgba(25, 135, 84, 0.3);
  color: white;
}

.step i {
  margin-right: 0.75rem;
  font-size: 1.1rem;
  width: 20px;
}

.step span {
  font-weight: 500;
}

/* Main Content */
.main-content {
  padding: 2rem;
}

.step-content {
  display: none;
  animation: fadeIn 0.5s ease-in;
}

.step-content.active {
  display: block;
}

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

/* Card Styles */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 2rem;
}

.card-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 15px 15px 0 0 !important;
  padding: 1.5rem;
  border: none;
}

.card-header h4 {
  margin: 0;
  font-weight: 600;
}

.card-body {
  padding: 2rem;
}

/* Form Styles */
.form-label {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Framework Options */
.framework-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.framework-card {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.framework-card:hover {
  border-color: var(--primary-color);
  background-color: rgba(13, 110, 253, 0.05);
}

.framework-card input[type="radio"]:checked + label {
  color: var(--primary-color);
}

.framework-card input[type="radio"]:checked ~ .framework-card {
  border-color: var(--primary-color);
  background-color: rgba(13, 110, 253, 0.1);
}

/* Email Cards */
.email-card {
  border: 2px solid #e9ecef;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.email-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 5px 20px rgba(111, 66, 193, 0.15);
}

.email-card.selected {
  border-color: var(--success-color);
  background-color: rgba(25, 135, 84, 0.05);
}

.email-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.email-title {
  font-weight: 600;
  margin: 0;
  color: var(--dark-color);
}

.email-actions {
  display: flex;
  gap: 0.5rem;
}

.email-body {
  padding: 1.5rem;
}

.email-subject {
  background-color: #f8f9fa;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-color);
}

.email-content {
  line-height: 1.6;
  color: var(--dark-color);
}

/* Step Navigation */
.step-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #dee2e6;
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-content .spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Send Campaign Styles */
.campaign-summary {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.summary-item:last-child {
  border-bottom: none;
}

.send-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.send-option {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.send-option:hover {
  border-color: var(--primary-color);
  background-color: rgba(111, 66, 193, 0.05);
}

.send-option.selected {
  border-color: var(--primary-color);
  background-color: rgba(111, 66, 193, 0.1);
}

.send-option i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    position: relative;
    min-height: auto;
  }

  .progress-steps {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 1rem;
  }

  .step {
    min-width: 150px;
    flex-shrink: 0;
  }

  .main-content {
    padding: 1rem;
  }

  .framework-options {
    grid-template-columns: 1fr;
  }

  .send-options {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-gradient {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
}

.btn-gradient:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  color: white;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

.slide-up {
  animation: slideUp 0.5s ease-out;
}

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

/* Success States */

/* Email Template Styles */
.email-template {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  margin: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.email-template .subject-line {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f8f9fa;
}

.email-template .email-body {
  line-height: 1.8;
  color: #333;
}

.email-template .signature {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #eee;
  font-style: italic;
  color: #666;
}
