/* Custom CSS goes here */
/* Project uses plain Tailwind CSS configured in tailwind.config.js */

/* --- Mailgo Custom Styling --- */
.m-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  font-family: 'Space Mono', monospace;
}

.m-modal-back {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(49, 57, 60, 0.4); /* #31393C with opacity */
  backdrop-filter: blur(4px);
  z-index: 10001;
}

.m-modal-content {
  position: relative;
  z-index: 10002;
  background-color: #FAF8F5; /* Matches Tailwind bg */
  color: #31393C; /* Matches Tailwind text */
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 350px;
  text-align: center;
  border: 1px solid rgba(49, 57, 60, 0.1);
}

.m-modal-content p, 
.m-modal-content span, 
.m-modal-content a, 
.m-modal-content strong {
  margin: 0; 
  padding: 0;
}

.m-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  display: block;
}

.m-details {
  font-size: 0.875rem;
  color: #667175; /* Subdued text */
  margin-bottom: 1.5rem;
  display: block;
}

.m-modal-content a:not(.m-by) {
  display: block;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background-color: transparent;
  color: #31393C;
  text-decoration: none;
  border: 1px dashed rgba(49, 57, 60, 0.3);
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

/* Accent color on hover */
.m-modal-content a:not(.m-by):hover {
  border-color: #A5402D;
  color: #A5402D;
}

a.m-by {
  display: block;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: rgba(49, 57, 60, 0.4);
  text-decoration: none;
  font-weight: normal;
  border: none;
  background: transparent;
  padding: 0;
}

a.m-by:hover {
  color: #A5402D;
}

.m-modal .w-500 {
  font-weight: 500;
  width: auto;
}
