/* =========================================================
   Mother App - Active Emergency Call Screen (Design-Matched Dock)
   ========================================================= */

/* Call Screen Overlay Container */
.call-screen-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  overflow: hidden;
  box-sizing: border-box;
  padding: 48px 20px 24px 20px;
  border-radius: 0 0 50px 50px;
}

.call-screen-overlay.active {
  transform: translateY(0);
  pointer-events: auto;
}

/* Call Header / Timer Area matching Midwife position */
.call-header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.call-timer-badge {
  background: #E0F2F1;
  color: var(--color-primary-teal);
  font-size: 16px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
  font-variant-numeric: tabular-nums;
}

/* Center Responder Profile */
.call-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin: auto 0;
  width: 100%;
}

/* Midwife Name on Mother's Call Page (Identical 34px size as Mother's name on Midwife call page) */
.call-contact-name {
  font-size: 34px;
  font-weight: 800;
  color: var(--color-primary-teal);
  letter-spacing: -0.5px;
  margin: 0;
  line-height: 1.15;
}

.call-facility-name {
  font-size: 20px;
  font-weight: 600;
  color: #475569;
  margin: 0;
  max-width: 290px;
  line-height: 1.3;
}

/* ---------------------------------------------------------
   Bottom Call Control Dock (Flat Brand Green Surface)
   --------------------------------------------------------- */
.call-controls-dock {
  width: 100%;
  max-width: 340px;
  background: var(--color-primary-teal); /* Brand Green #00897B */
  border-radius: 34px;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: none; /* Flat, no 3D shadow */
  margin-bottom: 8px;
  box-sizing: border-box;
  border: none;
}

/* Action Circles: Flat White circles with Green icons */
.call-action-btn {
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  border-radius: 50%;
  background: #FFFFFF;
  border: none;
  color: var(--color-primary-teal) !important;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  box-shadow: none;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.call-action-btn:hover {
  filter: brightness(0.96);
}

.call-action-btn:active {
  transform: scale(0.95);
}

.call-action-btn svg {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  stroke: var(--color-primary-teal);
}

/* Active Toggle State */
.call-action-btn.active-toggle {
  background: #E0F2F1 !important;
  color: #004D40 !important;
}

.call-action-btn.active-toggle svg {
  stroke: #004D40 !important;
}

/* Hang Up Button: Flat Solid Red circle with White icon */
.call-action-btn.end-call-btn {
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  border-radius: 50%;
  background-color: var(--color-sos-red);
  color: #FFFFFF !important;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: none;
  transition: transform 0.1s ease, filter 0.15s ease;
}

.call-action-btn.end-call-btn:hover {
  filter: brightness(1.05);
}

.call-action-btn.end-call-btn:active {
  transform: scale(0.95);
}

.call-action-btn.end-call-btn svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: #FFFFFF;
  stroke: none;
}
