/* MNO Unsubscribe Styles */
.mno-unsubscribe-container {
  max-width: 600px;
  margin: 50px auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mno-unsubscribe-content {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mno-unsubscribe-content h1 {
  color: #333;
  margin-bottom: 30px;
  text-align: center;
  font-size: 28px;
}

.user-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 30px;
  border-left: 4px solid #007cba;
}

.user-info p {
  margin: 0 0 10px 0;
  font-size: 16px;
  line-height: 1.5;
}

.unsubscribe-options {
  margin-bottom: 30px;
}

.unsubscribe-options h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 18px;
}

.unsubscribe-options ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.unsubscribe-options li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 25px;
}

.unsubscribe-options li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #28a745;
  font-weight: bold;
}

.unsubscribe-options li:last-child {
  border-bottom: none;
}

.unsubscribe-actions {
  text-align: center;
  margin-top: 40px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  margin: 0 10px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 150px;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
}

.btn-danger:hover {
  background-color: #c82333;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #5a6268;
  transform: translateY(-1px);
}

.unsubscribe-result {
  margin-top: 20px;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
}

.unsubscribe-result.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.unsubscribe-result.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.error .mno-unsubscribe-content {
  text-align: center;
}

.error h1 {
  color: #dc3545;
}

.error p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.error a {
  color: #007cba;
  text-decoration: none;
  font-weight: 500;
}

.error a:hover {
  text-decoration: underline;
}

/* Loading state */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .mno-unsubscribe-container {
    margin: 20px auto;
    padding: 10px;
  }

  .mno-unsubscribe-content {
    padding: 20px;
  }

  .mno-unsubscribe-content h1 {
    font-size: 24px;
  }

  .btn {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
}
