[hidden] {
  display: none !important;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.liquid-glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  background-image: linear-gradient(135deg, rgba(220, 225, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
}

.message-student {
  background: linear-gradient(135deg, #3467ff 0%, #004be4 100%);
  box-shadow: 0 10px 30px -10px rgba(0, 75, 228, 0.3);
}

.scrollbar-hide {
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.communications-tab-btn[aria-pressed="true"] {
  background: rgba(52, 103, 255, 0.12);
  color: #004be4;
}

.communications-list-item.is-active {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 38px -28px rgba(15, 35, 75, 0.4);
  border-color: rgba(0, 75, 228, 0.08);
}

.communications-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.6rem 0.95rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.7);
  color: rgba(65, 71, 84, 0.92);
  font-size: 0.8rem;
  line-height: 1.35;
}

.communications-status[data-tone="success"] {
  background: rgba(236, 253, 245, 0.95);
  color: #166534;
}

.communications-status[data-tone="error"] {
  background: rgba(254, 242, 242, 0.96);
  color: #b91c1c;
}

.communications-empty-action {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.communications-empty-action:hover {
  transform: translateY(-1px);
}

.communications-attachment-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 100%;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #32415e;
  box-shadow: 0 10px 24px -20px rgba(17, 24, 39, 0.48);
}

.communications-attachment-chip button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 75, 228, 0.08);
  color: #004be4;
}

.communications-message-card a {
  text-decoration: none;
}

.communications-access-gate {
  min-height: 100vh;
}

.communications-contact-choice {
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.communications-contact-choice:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 75, 228, 0.18);
  background: rgba(247, 249, 252, 0.98);
  box-shadow: 0 18px 36px -30px rgba(15, 35, 75, 0.36);
}
