/* css/contact.css (FULL FILE) */

.content-shell{
  height: 100%;
  width: 100%;
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
}

.content-card{
  width: min(880px, 100%);
  height: min(520px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 14px 40px rgba(0,0,0,.30);
  display: grid;
  grid-template-rows: auto 1fr;
}

.content-head{
  padding: 22px 22px 10px;
  text-align: center;
}

.content-title{
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: .4px;
}

.content-sub{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.content-body{
  padding: 18px 22px 22px;
  display: grid;
  gap: 22px;
  justify-items: center;
}

/* EMAIL AREA (kept clean + centered) */
.email-block{
  width: 100%;
  max-width: 520px;
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;

  /* lighter container so it doesn't look like a big empty box */
  padding: 18px 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);

  position: relative; /* required for absolute toast */
}

.email-link{
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .3px;
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.btn{
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
}

.btn-primary{
  background: rgba(255,255,255,.12);
  color: var(--text);
}

.btn-primary:hover{
  background: rgba(255,255,255,.16);
}

/* IMPORTANT FIX:
   The toast no longer takes up space (absolute positioning). */
.copy-toast{
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translate(-50%, 6px);

  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.95);

  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.55);

  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 2;
}

.copy-toast.is-showing{
  opacity: 1;
  transform: translate(-50%, 0);
}

/* NOTE BOX */
.note{
  width: 100%;
  max-width: 560px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  text-align: center;
}

.note-title{
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .3px;
}

.note-list{
  margin: 0 0 12px;
  padding: 0;
  list-style-position: inside;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.note-sub{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 720px){
  .content-card{
    height: min(560px, 100%);
  }

  .email-link{
    font-size: 18px;
  }
}
