/* Shared location map modal */

.ops-loc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.ops-loc-modal[hidden] { display: none !important; }
.ops-loc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
.ops-loc-modal-card {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ops-loc-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.ops-loc-modal-head h3 {
  margin: 0;
  font-size: 1rem;
  color: #0C1248;
}
#opsLocMapFrame {
  width: 100%;
  height: min(360px, 50vh);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f1f5f9;
}
.ops-loc-modal-meta {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.4;
}
.ops-loc-modal-meta p { margin: 2px 0; }
.ops-loc-modal-meta strong { color: #0f172a; }
.ops-loc-modal-meta span { color: #0f172a; font-weight: 600; }
.ops-loc-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
body.ops-loc-modal-open { overflow: hidden; }

.att-loc-box {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 12px;
  background: #f8fafc;
  font-size: 0.84rem;
  color: #334155;
  line-height: 1.45;
}
.att-loc-box p { margin: 2px 0; }
.att-loc-box strong { color: #0f172a; }
.att-loc-box .ops-btn { margin-top: 8px; }
