/* Custom styles for Pulse Email */

/* Global styles */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Dashboard styles */
.dashboard-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-card {
  border-left: 4px solid #0d6efd;
  border-radius: 0.25rem;
}

/* Campaign styles */
.campaign-status-badge {
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
}

.campaign-list-item {
  transition: background-color 0.2s ease;
}

.campaign-list-item:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

/* Form styles */
.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Custom button styles */
.btn-pulse {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: white;
}

.btn-pulse:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
  color: white;
}

/* Email template editor */
.template-preview {
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  padding: 1rem;
  background-color: #f8f9fa;
}

/* Subscriber list */
.subscriber-table th {
  font-weight: 600;
}

.subscriber-table tr {
  transition: background-color 0.2s ease;
}

.subscriber-table tr:hover {
  background-color: rgba(13, 110, 253, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard-stats {
    flex-direction: column;
  }

  .stat-card {
    margin-bottom: 1rem;
  }
}
