/* Styles for Zalingo SafeLine */
.zs-container {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  max-width: 640px;
  margin: 0 auto;
  font-family: sans-serif;
}
.zs-container h2 {
  margin-top: 0;
  color: #0f2b5b;
  font-size: 1.8rem;
}
.zs-desc {
  color: #667085;
  margin-bottom: 20px;
}
.zs-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.zs-btn {
  flex: 1 1 120px;
  background: linear-gradient(135deg,#00a8cc,#41bdf0);
  border: none;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
  text-align: center;
}
.zs-btn:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
.zs-panic {
  background: linear-gradient(135deg,#c0392b,#e74c3c);
}
#zs-status {
  margin-top: 16px;
  color: #0f2b5b;
}
#zs-share a, #zs-share button {
  display: inline-block;
  margin-top: 8px;
  margin-right: 10px;
  padding: 8px 12px;
  border: 1px solid #d5dbea;
  border-radius: 6px;
  text-decoration: none;
  color: #0f2b5b;
  font-weight: 600;
  cursor: pointer;
  background: #f8fafc;
}
#zs-share button:hover, #zs-share a:hover {
  background: #e0e7ff;
}

/* Contact management section */
.zs-contacts {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f0f3f8;
}
.zs-contacts h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #0f2b5b;
}
#zs-contact-list {
  margin-bottom: 8px;
}
#zs-contact-list .zs-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #f6f7f9;
}
#zs-contact-list .zs-contact-row:last-child {
  border-bottom: none;
}
#zs-contact-list .zs-contact-name {
  font-weight: 600;
  color: #0f2b5b;
}
#zs-contact-list .zs-contact-phone {
  color: #475569;
}
#zs-contact-list .zs-contact-actions a {
  margin-left: 6px;
  color: #0077b6;
  text-decoration: none;
  font-size: 0.85rem;
}
#zs-add-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
#zs-add-contact input {
  flex: 1 1 150px;
  padding: 8px;
  border: 1px solid #d5dbea;
  border-radius: 6px;
  font-size: 0.9rem;
}
#zs-add-contact .zs-btn-add {
  background: linear-gradient(135deg,#00a8cc,#41bdf0);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
#zs-add-contact .zs-btn-add:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.zs-contact-share {
  margin-top: 6px;
  font-size: 0.85rem;
}
.zs-contact-note {
  font-size: 0.75rem;
  color: #6b7280;
}