/* Employer shift schedule + worker confirmation inbox */
.ss-shell {
  margin-top: 0;
  padding: 1rem 1.25rem 1.25rem;
}

.ss-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.ss-month-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  max-width: 100%;
}

.ss-month-nav h3 {
  margin: 0;
  min-width: 0;
  flex: 1 1 auto;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
}

.ss-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
}

.ss-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.ss-dow {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0;
}

.ss-day {
  min-height: 4.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 0.35rem;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ss-day:hover {
  border-color: #94a3b8;
}

.ss-day.is-outside {
  opacity: 0.45;
  background: #f8fafc;
}

.ss-day.is-selected {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.ss-day-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
}

.ss-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  margin-top: 0.25rem;
}

.ss-badge {
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  padding: 0.18rem 0.35rem;
}

.ss-badge.is-confirmed {
  background: #dcfce7;
  color: #166534;
}

.ss-badge.is-pending {
  background: #fef3c7;
  color: #92400e;
}

.ss-badge.is-declined {
  background: #fee2e2;
  color: #991b1b;
}

.ss-day-panel {
  margin-top: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
}

.ss-day-panel h4 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
}

.ss-request-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0;
  border-top: 1px solid #f1f5f9;
}

.ss-request-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.ss-request-meta {
  font-size: 0.88rem;
  color: #475569;
}

.ss-request-meta strong {
  color: #0f172a;
}

.ss-request-when {
  font-size: 0.8rem;
  font-weight: 650;
  color: #334155;
}

.ss-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
}

.ss-status.is-pending { background: #fef3c7; color: #92400e; }
.ss-status.is-confirmed { background: #dcfce7; color: #166534; }
.ss-status.is-declined { background: #fee2e2; color: #991b1b; }
.ss-status.is-cancelled { background: #f1f5f9; color: #64748b; }

.ss-inbox-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.ss-inbox-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.ss-inbox-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* Confirm page */
.confirm-shell {
  max-width: 480px;
  margin: 2rem auto;
  padding: 0 1rem 3rem;
}

.confirm-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.confirm-card h1 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.join-brand {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.confirm-card .confirm-detail {
  margin-bottom: 1.25rem;
}

.confirm-card .confirm-detail p {
  font-size: 1.05rem;
  color: #334155;
}

.confirm-detail {
  color: #475569;
  margin-bottom: 1rem;
}

.confirm-actions {
  display: flex;
  gap: 0.75rem;
}

.confirm-actions .btn {
  flex: 1;
}

.confirm-actions .btn-lg {
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.confirm-done {
  text-align: center;
  padding: 1rem 0;
}

.confirm-done .ss-status {
  display: inline-block;
  margin-top: 0.5rem;
}

@media (max-width: 640px) {
  .ss-day { min-height: 3.6rem; }
  .ss-badge { display: none; }
  .ss-day.has-items .ss-day-num::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 4px;
    border-radius: 50%;
    background: #2563eb;
    vertical-align: middle;
  }
}

/* Team roster, flat, matches job rows */
.team-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.team-counts {
  font-size: 0.88rem;
  color: #64748b;
  padding: 0 1.25rem;
  margin: 1rem 0 0.25rem;
}

.team-group-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.team-list-block {
  margin-bottom: 0;
}

.team-list-block + .team-list-block {
  border-top: 1px solid #e2e8f0;
}

.team-list-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.25rem 0.65rem;
}

.team-list-head-copy {
  min-width: 0;
}

.team-empty-list {
  font-size: 0.88rem;
  color: #94a3b8;
  padding: 0.15rem 1.25rem 1rem;
}

.team-people {
  display: flex;
  flex-direction: column;
  padding: 0 0.65rem 0.65rem;
  gap: 0.35rem;
}

.team-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.7rem 0.7rem;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  background: #f8fafc;
}

.team-row-main {
  min-width: 0;
  flex: 1;
}

.team-row-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.team-row-name strong {
  font-size: 0.95rem;
  color: #0f172a;
}

.team-name-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.1rem 0.3rem 0.1rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  border-radius: 6px;
  cursor: pointer;
}

.team-name-btn:hover,
.team-name-btn:focus-visible {
  outline: none;
}

.team-name-btn:hover strong,
.team-name-btn:focus-visible strong {
  color: #1d4ed8;
}

.team-name-btn .fa-pen {
  font-size: 0.68rem;
  color: #94a3b8;
}

.team-name-btn:hover .fa-pen,
.team-name-btn:focus-visible .fa-pen {
  color: #2563eb;
}

.team-row-meta {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 0.2rem;
  line-height: 1.35;
}

.team-note-btn {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  width: 100%;
  margin: 0.35rem 0 0;
  padding: 0.4rem 0.55rem;
  border: 1px dashed #dbe3ee;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.team-note-btn.is-empty {
  color: #94a3b8;
  background: transparent;
}

.team-note-btn:hover,
.team-note-btn:focus-visible {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1e3a8a;
  outline: none;
}

.team-note-label {
  flex: 0 0 auto;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: #dbeafe;
  border-radius: 999px;
  padding: 0.08rem 0.4rem;
  margin-top: 0.08rem;
}

.team-note-text {
  flex: 1;
  min-width: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.team-note-btn .fa-pen {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

.team-note-btn:hover .fa-pen,
.team-note-btn:focus-visible .fa-pen {
  color: #2563eb;
}

.team-row-actions,
.team-list-head-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  flex-shrink: 0;
  justify-content: flex-end;
}

.team-row-actions .ed-action.is-primary,
.team-tag-manage-actions .ed-action.is-primary {
  background: #059669;
  border-color: #059669;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}
.team-row-actions .ed-action.is-primary:hover,
.team-tag-manage-actions .ed-action.is-primary:hover {
  background: #047857;
  border-color: #047857;
  color: #fff;
}

.team-more-btn {
  width: 2rem;
  min-width: 2rem;
  height: 2rem;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.team-more .dropdown-menu {
  min-width: 11rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
  padding: 0.35rem;
}

.team-more .dropdown-item {
  border-radius: 7px;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.45rem 0.65rem;
}

@media (max-width: 640px) {
  .team-list-head,
  .team-row {
    align-items: flex-start;
  }
  .team-row {
    flex-direction: column;
  }
  .team-row-actions,
  .team-list-head-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.team-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-radius: 999px;
  padding: 0.18rem 0.45rem;
}

.team-badge.is-internal { background: #dbeafe; color: #1e40af; }
.team-badge.is-external { background: #f3e8ff; color: #6b21a8; }
.team-badge.is-verified { background: #dcfce7; color: #166534; }
.team-badge.is-invited { background: #fef3c7; color: #92400e; }
.team-badge.is-owner { background: #e0e7ff; color: #3730a3; }

.phone-combo {
  display: flex;
  align-items: stretch;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.phone-combo:focus-within {
  border-color: #93c5fd;
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
}
.phone-combo-country {
  flex: 0 0 auto;
  min-width: 6.5rem;
  max-width: 8.5rem;
  border: 0;
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.55rem 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #0f172a;
}
.phone-combo-country:focus {
  outline: none;
  background: #eff6ff;
}
.phone-combo-number {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  min-height: 42px;
}

.team-page-shell {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.25rem 1rem 2.5rem;
}
.team-page-shell .ed-panel {
  margin-top: 0;
}
.team-page-shell .ed-page-head {
  margin-bottom: 0.85rem;
}
.team-page-shell .ed-page-head h1 {
  margin: 0 0 0.25rem;
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
}
.team-page-shell .ed-page-head p {
  margin: 0;
  color: #64748b;
  font-weight: 500;
}

/* Invite hero, primary action above the roster */
.team-invite-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 1rem;
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 55%, #a7f3d0 100%);
  border: 2px solid #059669;
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.18);
}
.team-invite-hero-main {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  min-width: 0;
  flex: 1 1 16rem;
}
.team-invite-icon {
  flex-shrink: 0;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #059669;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.35);
}
.team-invite-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #047857;
}
.team-invite-title {
  margin: 0.12rem 0 0;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #065f46;
  line-height: 1.15;
}
.team-invite-lead {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #047857;
  line-height: 1.35;
  max-width: 28rem;
}
.team-invite-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
  border: 0;
  border-radius: 14px;
  padding: 0.85rem 1.35rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  line-height: 1.2;
  color: #fff !important;
  background: #059669 !important;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.38);
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
}
.team-invite-cta:hover,
.team-invite-cta:focus {
  background: #047857 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.42);
}
.team-invite-cta.is-ghost {
  background: #fff !important;
  color: #065f46 !important;
  border: 1.5px solid #6ee7b7;
  box-shadow: none;
}
.team-invite-cta.is-ghost:hover,
.team-invite-cta.is-ghost:focus {
  background: #f0fdf4 !important;
  color: #065f46 !important;
  transform: none;
  border-color: #059669;
}
.team-invite-cta.is-whatsapp,
.ed-action.is-whatsapp {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.28);
}
.team-invite-cta.is-whatsapp:hover,
.team-invite-cta.is-whatsapp:focus,
.ed-action.is-whatsapp:hover,
.ed-action.is-whatsapp:focus {
  background: #1ebe5d !important;
  border-color: #1ebe5d !important;
  color: #fff !important;
}
.team-invite-india-hint {
  margin: 0.4rem 0 0;
  color: #b45309;
  font-weight: 600;
}

.team-note-hint {
  margin-top: 0.45rem;
}

.team-note-hint-lead {
  margin: 0;
}

.team-note-privacy {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.4rem 0 0;
  padding: 0.32rem 0.6rem;
  border-radius: 6px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.team-note-privacy .fa-lock {
  font-size: 0.72rem;
  opacity: 0.9;
}
.team-invite-share {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.team-invite-share-status {
  margin: 0;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.4;
}
.team-invite-link-row {
  display: flex;
  gap: 0.4rem;
  align-items: stretch;
}
.team-invite-link-row .form-control {
  font-size: 0.82rem;
}
.team-invite-link-row .ed-action {
  flex-shrink: 0;
}
.team-invite-share .team-invite-cta.is-whatsapp {
  width: 100%;
}

@media (max-width: 640px) {
  .team-invite-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .team-invite-cta {
    width: 100%;
  }
}

/* Invite modal, matches ask/hire energy */
.team-invite-modal .modal-content {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.22);
}
.team-invite-modal-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.2rem 1.25rem 1.05rem;
  background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%);
  border-bottom: 2px solid #059669;
}
.team-invite-modal-icon {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #059669;
  color: #fff;
  font-size: 1.12rem;
  box-shadow: 0 8px 18px rgba(5, 150, 105, 0.35);
}
.team-invite-modal-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #047857;
}
.team-invite-modal-banner .modal-title {
  margin: 0.1rem 0 0;
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}
.team-invite-modal-lead {
  margin: 0.28rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.35;
}
.team-invite-modal-banner > div {
  min-width: 0;
  flex: 1 1 auto;
}
.team-invite-modal-banner .btn-close {
  margin: 0.1rem 0 0 auto;
  flex: 0 0 auto;
}
.team-invite-modal .modal-body {
  padding: 1.15rem 1.25rem 0.5rem;
}
.team-invite-modal .form-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #334155;
}
.team-invite-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  border-top: 1px solid #eef2f7;
  padding: 1rem 1.25rem 1.15rem;
}
.team-invite-cta[hidden],
.team-invite-modal-footer [hidden] {
  display: none !important;
}

.team-list-sub {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  font-size: 0.84rem;
  color: #64748b;
}

/* Tags, filter bar + person chips */
.team-tag-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 1.25rem 0.85rem;
}

.team-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
}

button.team-tag-chip {
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

button.team-tag-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.team-tag-chip.is-active {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

.team-tag-chip.is-external {
  background: #faf5ff;
  border-color: #e9d5ff;
  color: #6b21a8;
}

.team-tag-chip.is-muted {
  background: #f8fafc;
  color: #94a3b8;
  font-weight: 500;
}

.team-tag-count {
  font-weight: 500;
  color: #64748b;
  font-size: 0.78rem;
}

.team-tag-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: 100%;
  margin-top: 0.15rem;
}

.team-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.team-section-label {
  margin: 0;
  padding: 0.85rem 1.25rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.team-section-filter {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  color: #2563eb;
}

.team-tags-manage {
  border-bottom: 1px solid #e2e8f0;
}

.team-tag-manage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 1.25rem 0.55rem;
}

.team-tag-manage-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.team-tag-manage-count {
  font-size: 0.82rem;
  color: #94a3b8;
}

.team-tag-manage-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.team-people-section {
  padding-bottom: 0.65rem;
}

.team-tag-pick {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-height: 14rem;
  overflow-y: auto;
}

.team-tag-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  cursor: pointer;
  margin: 0;
}

.team-tag-check input {
  flex-shrink: 0;
}

.team-tag-check-label {
  font-weight: 600;
  color: #0f172a;
  flex: 1;
  min-width: 0;
}

/* Ask coverage modal, energetic, matches hire modals */
@keyframes ask-modal-pop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(18px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.ask-modal .modal-dialog {
  max-width: 460px;
}
.ask-modal.show .modal-dialog {
  animation: ask-modal-pop 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.ask-modal .modal-content {
  position: relative;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.05),
    0 24px 48px rgba(15, 23, 42, 0.18),
    0 48px 96px rgba(15, 23, 42, 0.14);
}
.ask-modal .modal-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(90deg, #34d399 0%, #059669 50%, #10b981 100%);
}
.ask-modal.is-one .modal-content::before {
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 50%, #3b82f6 100%);
}
.ask-modal-banner {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.35rem 1.35rem 1.15rem;
  background: linear-gradient(145deg, #ecfdf5 0%, #d1fae5 55%, #a7f3d0 100%);
  border-bottom: 2px solid rgba(5, 150, 105, 0.3);
  color: #0f172a;
  overflow: hidden;
}
.ask-modal.is-one .ask-modal-banner {
  background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 55%, #bfdbfe 100%);
  border-bottom-color: rgba(37, 99, 235, 0.3);
}
.ask-modal-banner::after {
  content: "";
  position: absolute;
  top: -55%;
  right: -8%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.2) 0%, transparent 68%);
}
.ask-modal.is-one .ask-modal-banner::after {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 68%);
}
.ask-modal-icon {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #34d399 0%, #059669 100%);
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 10px 22px rgba(5, 150, 105, 0.38);
}
.ask-modal.is-one .ask-modal-icon {
  background: linear-gradient(145deg, #60a5fa 0%, #2563eb 100%);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.32);
}
.ask-modal-banner > div:not(.ask-modal-icon) {
  min-width: 0;
  flex: 1 1 auto;
  position: relative;
  z-index: 1;
}
.ask-modal-banner .btn-close {
  position: relative;
  z-index: 1;
  margin: 0.1rem 0 0 auto;
  flex: 0 0 auto;
}
.ask-modal-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #047857;
}
.ask-modal.is-one .ask-modal-kicker {
  color: #1d4ed8;
}
.ask-modal-banner .modal-title {
  margin: 0.1rem 0 0;
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
  line-height: 1.15;
}
.ask-modal-lead {
  margin: 0.28rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.35;
}
.ask-modal .modal-body {
  padding: 1.1rem 1.25rem 0.35rem;
}
.ask-modal-when {
  margin: 0 0 0.9rem;
}
.ask-modal-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin: 0;
  padding: 0.85rem 0.85rem 0.85rem 1rem;
  font: inherit;
  color: inherit;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1.5px solid #86efac;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12);
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.ask-modal.is-one .ask-modal-summary {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-color: #93c5fd;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.1);
}
.ask-modal-summary:hover,
.ask-modal-summary:focus-visible {
  outline: none;
  border-color: #4ade80;
}
.ask-modal.is-one .ask-modal-summary:hover,
.ask-modal.is-one .ask-modal-summary:focus-visible {
  border-color: #60a5fa;
}
.ask-modal-summary[aria-expanded="true"] {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
.ask-modal-summary-copy {
  min-width: 0;
  flex: 1;
}
.ask-modal-summary-copy strong {
  display: block;
  color: #065f46;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.12rem;
}
.ask-modal.is-one .ask-modal-summary-copy strong {
  color: #1e40af;
}
.ask-modal-summary-copy span {
  color: #047857;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}
.ask-modal.is-one .ask-modal-summary-copy span {
  color: #2563eb;
}
.ask-modal-summary-edit {
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #059669;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}
.ask-modal.is-one .ask-modal-summary-edit {
  color: #2563eb;
}
.ask-modal-summary-edit .fa-pen {
  font-size: 0.78rem;
}
.ask-modal-summary:hover .ask-modal-summary-edit,
.ask-modal-summary:focus-visible .ask-modal-summary-edit,
.ask-modal-summary[aria-expanded="true"] .ask-modal-summary-edit {
  background: #fff;
  color: #047857;
}
.ask-modal.is-one .ask-modal-summary:hover .ask-modal-summary-edit,
.ask-modal.is-one .ask-modal-summary:focus-visible .ask-modal-summary-edit,
.ask-modal.is-one .ask-modal-summary[aria-expanded="true"] .ask-modal-summary-edit {
  color: #1d4ed8;
}
.ask-modal-when-fields {
  margin-top: 0.5rem;
  padding: 0.9rem 0.9rem 1rem;
  border-radius: 14px;
  border: 1.5px solid #bbf7d0;
  background: #fff;
}
.ask-modal.is-one .ask-modal-when-fields {
  border-color: #bfdbfe;
}
.ask-sms-preview {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  background: transparent;
}
.ask-sms-bubble {
  position: relative;
  display: block;
  margin-left: 0.35rem;
  padding: 0.95rem 1.1rem;
  border-radius: 18px 18px 18px 6px;
  background: #059669;
  color: #fff;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.28);
}
.ask-modal.is-one .ask-sms-bubble {
  background: #2563eb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}
.ask-sms-preview-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.ask-sms-from {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
  letter-spacing: -0.01em;
}
.ask-sms-from[hidden] {
  display: none !important;
}
.ask-sms-bubble p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ask-sms-bubble-input {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: -0.01em;
  resize: none;
  min-height: 3.2rem;
  font-family: inherit;
  cursor: default;
  overflow: hidden;
}
.ask-sms-bubble.is-editing .ask-sms-bubble-input {
  resize: vertical;
  cursor: text;
}
.ask-sms-bubble-input[readonly] {
  pointer-events: none;
}
.ask-sms-bubble-input:focus {
  outline: none;
}
.ask-sms-bubble-input::placeholder {
  color: rgba(255, 255, 255, 0.75);
}
.ask-sms-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  margin: 0.55rem 0 0;
}
.ask-sms-edit,
.ask-sms-action {
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.4rem 0.75rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
  color: #0f766e;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
}
.ask-modal.is-one .ask-sms-edit,
.ask-modal.is-one .ask-sms-action {
  color: #1d4ed8;
  border-color: #bfdbfe;
}
.ask-sms-edit .fa-pen,
.ask-sms-edit .fa-check,
.ask-sms-edit .fa-magic,
.ask-sms-action .fa-pen,
.ask-sms-action .fa-check,
.ask-sms-action .fa-magic {
  font-size: 0.75rem;
}
.ask-sms-edit:hover,
.ask-sms-edit:focus-visible,
.ask-sms-action:hover,
.ask-sms-action:focus-visible,
.ask-sms-bubble.is-editing ~ .ask-sms-actions #askSmsEditBtn {
  outline: none;
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #047857;
}
.ask-modal.is-one .ask-sms-edit:hover,
.ask-modal.is-one .ask-sms-edit:focus-visible,
.ask-modal.is-one .ask-sms-action:hover,
.ask-modal.is-one .ask-sms-action:focus-visible,
.ask-modal.is-one .ask-sms-bubble.is-editing ~ .ask-sms-actions #askSmsEditBtn {
  background: #eff6ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}
.ask-sms-footnote {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  line-height: 1.35;
}

/* Direct ask — stepped layout (Hire → Ask) */
.ask-direct-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 0.5rem !important;
}
.ask-direct-section {
  margin: 0;
}
.ask-direct-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.ask-direct-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0;
}
.ask-recipient-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 2px solid #bfdbfe;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.1);
}
.ask-recipient-avatar {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #60a5fa 0%, #2563eb 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}
.ask-recipient-copy {
  min-width: 0;
  flex: 1;
}
.ask-recipient-card .ask-person-recipient {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.2;
}
.ask-recipient-hint {
  margin: 0.2rem 0 0;
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.35;
}
.ask-direct-when-section .ask-modal-when {
  margin: 0;
}
.ask-summary-edit-label,
.ask-sms-edit-label {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-transform: none;
}
.ask-modal-summary-edit {
  flex-direction: column;
  gap: 0.1rem;
  width: auto;
  min-width: 2.5rem;
  height: auto;
  padding: 0.35rem 0.45rem;
  border-radius: 10px;
}
.ask-modal-summary-edit .ask-summary-edit-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ask-direct-message-section .ask-sms-preview {
  margin: 0;
  padding: 0.75rem;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
}
.ask-direct-message-section .ask-sms-bubble {
  margin-left: 0;
  padding: 0.95rem 1.1rem;
}
.ask-direct-message-section .ask-sms-bubble-input {
  font-size: 1.02rem;
  line-height: 1.45;
  min-height: 3.2rem;
}
.ask-direct-next-steps {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
}
.ask-direct-next-title {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.ask-direct-next-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.ask-direct-next-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}
.ask-direct-next-list i {
  margin-top: 0.15rem;
  color: #2563eb;
  width: 1rem;
  text-align: center;
  flex-shrink: 0;
}

/* Team ask modal — stepped layout (calendar + team pages) */
.ask-modal:not(.is-one) .ask-direct-step {
  background: #d1fae5;
  color: #047857;
}
.ask-modal:not(.is-one) .ask-direct-section-title {
  color: #475569;
}
.ask-modal:not(.is-one) .ask-direct-next-list i {
  color: #059669;
}
.ask-modal:not(.is-one) .ask-direct-body {
  padding-bottom: 0.5rem !important;
}
.ask-modal:not(.is-one) .ask-direct-when-section .ask-modal-when {
  margin: 0;
}
.ask-modal:not(.is-one) .ask-direct-message-section .ask-sms-preview {
  margin: 0;
  padding: 0.75rem;
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  background: #f8fafc;
}
.ask-modal:not(.is-one) .ask-direct-message-section .ask-sms-bubble {
  margin-left: 0;
  padding: 0.95rem 1.1rem;
}
.ask-modal:not(.is-one) .ask-direct-who-section .ask-mode-toggle {
  margin-bottom: 0.65rem;
}
.ask-team-fields {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: end;
}
.ask-team-field-slots {
  width: 4.5rem;
}
.ask-team-field-slots .form-control {
  text-align: center;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}
.ask-modal:not(.is-one) .ask-modal-details {
  margin-top: 0.15rem;
}
.ask-modal:not(.is-one) .ask-modal-details-body .ask-direct-next-list {
  gap: 0.35rem;
}
.ask-modal:not(.is-one) .ask-modal-details-body .ask-direct-next-list li {
  font-size: 0.84rem;
  font-weight: 600;
  color: #475569;
}
.ask-modal:not(.is-one) .ask-modal-kicker {
  display: none;
}
.ask-modal:not(.is-one) .ask-modal-banner {
  padding-bottom: 1rem;
  background: linear-gradient(145deg, #f0fdf4 0%, #ecfdf5 100%);
  border-bottom-width: 1px;
  border-bottom-color: rgba(5, 150, 105, 0.15);
}
.ask-modal:not(.is-one) .ask-modal-banner::after {
  opacity: 0.45;
}
.ask-modal:not(.is-one) .ask-modal-icon {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1rem;
  box-shadow: 0 6px 16px rgba(5, 150, 105, 0.28);
}

.ask-modal.is-one .ask-modal-footer {
  flex-wrap: wrap;
  gap: 0.55rem;
}
.ask-modal.is-one .ask-modal-footer .ask-modal-cta:not(.is-ghost) {
  flex: 1 1 100%;
  width: 100%;
  font-size: 1rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.ask-mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding: 0.28rem;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
.ask-mode-toggle button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 0.62rem 0.65rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.ask-mode-toggle button:hover:not(.is-active) {
  color: #334155;
}
.ask-mode-toggle button.is-active {
  background: #fff;
  color: #065f46;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.15), 0 0 0 1px rgba(5, 150, 105, 0.12);
}
.ask-modal.is-one .ask-mode-toggle button.is-active {
  color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.14), 0 0 0 1px rgba(37, 99, 235, 0.1);
}
.ask-mode-panel[hidden] { display: none !important; }
.ask-modal-section-label {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #94a3b8;
}
.ask-modal-hint {
  margin: -0.1rem 0 0.7rem;
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.35;
}
.ask-person-recipient {
  margin: 0 0 0.35rem;
  color: #0f172a;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}
.ask-modal-or {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.15rem 0 0.65rem;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.ask-modal-or::before,
.ask-modal-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.ask-modal-details {
  margin: 0.25rem 0 0;
  border-radius: 12px;
  border: 1.5px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
}
.ask-modal-details > summary {
  list-style: none;
  cursor: pointer;
  padding: 0.68rem 0.85rem;
  font-size: 0.86rem;
  font-weight: 750;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.ask-modal-details > summary::-webkit-details-marker { display: none; }
.ask-modal-details > summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.7rem;
  color: #94a3b8;
}
.ask-modal-details[open] > summary::after { content: '\f077'; }
.ask-modal-details-body {
  padding: 0 0.85rem 0.9rem;
  border-top: 1px solid #f1f5f9;
}
.ask-modal .form-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #334155;
  letter-spacing: -0.01em;
}
.ask-modal .form-control,
.ask-modal .form-select {
  border-radius: 12px;
  border-color: #cbd5e1;
  font-weight: 600;
  color: #0f172a;
}
.ask-modal .form-control:focus,
.ask-modal .form-select:focus {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18);
}
.ask-modal.is-one .form-control:focus,
.ask-modal.is-one .form-select:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
}
.ask-modal-error {
  margin: 0.75rem 0 0;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
}
.ask-modal-error[hidden] { display: none !important; }
.ask-modal-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid #eef2f7;
  padding: 1rem 1.25rem 1.15rem;
}
.ask-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 12px;
  padding: 0.75rem 1.1rem;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  line-height: 1.2;
  color: #fff !important;
  background: #059669 !important;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.32);
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
}
.ask-modal-cta:hover,
.ask-modal-cta:focus {
  background: #047857 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.38);
}
.ask-modal.is-one .ask-modal-cta {
  background: #2563eb !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}
.ask-modal.is-one .ask-modal-cta:hover,
.ask-modal.is-one .ask-modal-cta:focus {
  background: #1d4ed8 !important;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.34);
}
.ask-modal-cta.is-ghost {
  background: #fff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1;
  box-shadow: none;
}
.ask-modal-cta.is-ghost:hover,
.ask-modal-cta.is-ghost:focus {
  background: #f8fafc !important;
  color: #0f172a !important;
  transform: none;
  box-shadow: none;
  border-color: #94a3b8;
}
.ask-modal-cta[hidden] { display: none !important; }

@media (max-width: 640px) {
  .ask-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .ask-modal .modal-dialog,
  .team-invite-modal .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100% - 1rem);
  }
  .ask-modal-banner,
  .team-invite-modal-banner {
    padding: 1rem 1rem 0.9rem;
    gap: 0.65rem;
  }
  .team-invite-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .team-invite-modal-footer .team-invite-cta {
    width: 100%;
  }
  .team-page-shell {
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
  }
  .phone-combo-country {
    min-width: 5.25rem;
    max-width: 6.75rem;
    font-size: 0.85rem;
  }
  .ask-modal .form-control,
  .ask-modal .form-select,
  .team-invite-modal .form-control,
  .team-invite-modal textarea.form-control {
    font-size: 16px;
  }
}

.team-list-card {
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 1.25rem;
  background: transparent;
}

/* Simple toast for employer home */
.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  min-width: 0;
  max-width: min(22rem, calc(100vw - 2rem));
  background: #0f172a;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  padding: 0.85rem 1rem;
}
.toast.success { background: #047857; }
.toast.warning { background: #b45309; }
.toast.error { background: #b91c1c; }
.toast .toast-body { margin: 0; font-size: 0.9rem; font-weight: 600; }
