/* General */

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #535d6c;
}

h1 {
  font-size: 1.5rem;
  font-family: 'Poppins', sans-serif;
  color: #535d6c; 
}

input,
select {
  display: block;
  width: -webkit-fill-available;
  padding: 1rem;
  background-color: #f2f2f2;
  border: 1px solid #f9f9f9;
  border-radius: 10px;
}

a {
  text-decoration: none;
}

.button_to {
  text-align: right;
}

.dnone {
  display: none !important;
}

.return-container {
  max-width: 670px;
  margin: auto;
}

.card-container {
  max-width: 600px;
  margin: 2rem auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  padding: 2rem;
}

.item-list {
  list-style: none;
  padding: 0;
}

.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.item-actions form,
.item-actions a {
  display: inline-block;
  margin-right: 0.5rem;
}

.item-actions button,
.item-actions input[type="submit"] {
  background: #ef901f;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.item-actions button:hover,
.item-actions input[type="submit"]:hover {
  background: #ef901f;
}

.return-btn,
.new-item-btn {
  margin-top: 1.5rem;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  width: fit-content;
}

.new-item-btn {
  background: #ef901f;
}

.new-item-btn:disabled {
  background-color: #ef901f;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.6;
  margin-top: 1rem;
}

.new_mail_link_area {
  text-align: right;
}

.max_mailinglist_message {
  color: red;
  margin: 0;
}

.icon-btn {
  display: block;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.fa-solid.fa-arrow-left {
  color: #73c3ab;
  font-size: 1.4rem;
}

.return-btn {
  background: #73c3ab;
  display: block;
}

.main-header {
  background: #161650;
  color: #fff;
  padding: 1rem 0;
  flex-shrink: 0;
}

.main-footer {
  color: #535d6c;
  border-top: 1px solid #535d6c;
  padding: 1rem 0;
  flex-shrink: 0;
}

.main-header h2, .main-footer p {
  margin: 0;
  text-align: center;
}

.main-content {
  flex: 1;
  padding: 2rem 0;
  overflow-y: auto;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo img.logo-img {
  height: 4rem;
  width: auto;
}

.header-actions {
  /* Puedes agregar más estilos si quieres */
}

.logout-btn {
  background: #ef901f;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
  cursor: pointer;
  font-size: 1rem;
}

.logout-btn:hover {
  background: #ef901f;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.mail-plan-select option:disabled {
  color: #9ca3af;
  background-color: #f3f4f6;
  font-style: italic;
}

.plan-info {
  display: block;
  margin-top: 8px;
  color: #6b7280;
  font-size: 12px;
}

.target {
  color: #73c3ab;
}

.notifications-container {
  position: fixed;
  top: 8rem;
  right: 16px;
  width: 384px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.notification {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

.notification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.notification-success .notification-content {
  background-color: #f0fdf4;
  border-color: #dcfce7;
  color: #166534;
}

.notification-error .notification-content {
  background-color: #fef2f2;
  border-color: #fee2e2;
  color: #991b1b;
}

.notification-warning .notification-content {
  background-color: #fffbeb;
  border-color: #fef3c7;
  color: #92400e;
}

.notification-info .notification-content {
  background-color: #eff6ff;
  border-color: #dbeafe;
  color: #1e40af;
}

.notification-message {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
}

.notification-close {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.7;
  transition: opacity 0.2s;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-close:hover {
  opacity: 1;
}