/* Glen Eagles Tenant Messaging Portal Custom Styles */
.phone-mockup {
  width: 320px;
  height: 620px;
  background: #ffffff;
  border-radius: 46px;
  box-shadow: 0 25px 60px -15px rgba(10, 37, 64, 0.25), 0 0 0 12px #1e293b, 0 0 0 14px #334155;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 24px;
  background: #1e293b;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.sms-bubble-inbound {
  background-color: #f1f5f9;
  color: #0f172a;
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sms-bubble-outbound {
  background: linear-gradient(135deg, #094b92, #0084d6);
  color: #ffffff;
  border-radius: 18px 18px 4px 18px;
  box-shadow: 0 2px 8px rgba(9, 75, 146, 0.25);
}

.tab-btn.active {
  border-bottom-color: #094b92;
  color: #094b92;
  font-weight: 700;
}

.tab-btn:not(.active) {
  border-bottom-color: transparent;
  color: #64748b;
}

.pulse-green {
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Keep call actions in reach while the other columns scroll inside the panel. */
.calls-table-wrap,
.calls-top-scroll {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-color: #94a3b8 #f1f5f9;
}
.calls-table-wrap:focus-visible,
.calls-top-scroll:focus-visible {
  outline: 2px solid #094b92;
  outline-offset: 2px;
}
.calls-table-wrap::-webkit-scrollbar,
.calls-top-scroll::-webkit-scrollbar { height: 12px; }
.calls-table-wrap::-webkit-scrollbar-track,
.calls-top-scroll::-webkit-scrollbar-track { background: #f1f5f9; }
.calls-table-wrap::-webkit-scrollbar-thumb,
.calls-top-scroll::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border: 3px solid #f1f5f9;
  border-radius: 6px;
}
.calls-top-scroll { height: 24px; overflow-y: hidden; }
#calls-top-scroll-spacer { height: 1px; }
.calls-table-wrap table { min-width: 1000px; }
.calls-table-wrap td:nth-child(6) > div { max-width: 24rem; }
.calls-table-wrap th:last-child,
.calls-table-wrap td:last-child {
  position: sticky;
  right: 0;
  min-width: 130px;
  background: #fff;
  box-shadow: -4px 0 6px -4px rgba(15, 23, 42, 0.25);
  z-index: 1;
}
.calls-table-wrap th:last-child { background: #f8fafc; }
