/* Reset default margins and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

/* Emergency alert bar */
.emergency-alert-bar {
  background-color: #ff4d4d;
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
}

/* Container */
.container {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
}

/* Header */
.emergency-header {
  text-align: center;
  margin-bottom: 30px;
}

.emergency-header h1 {
  font-size: 2rem;
  color: #cc0000;
}

.subtitle {
  font-size: 1rem;
  color: gray;
}

/* Form Section */
.emergency-form-container {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
}

.emergency-section {
  margin-bottom: 30px;
}

.emergency-section h2 {
  margin-bottom: 15px;
  color: #d63333;
  font-size: 1.2rem;
}

/* Form Groups */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

input[type="text"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.popup-message {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #4CAF50;
  color: white;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-align: center;
}
/* Buttons */
.emergency-btn,
.emergency-action-btn,
.emergency-submit-btn {
  background-color: #cc0000;
  color: white;
  padding: 12px 20px;
  border: none;
  margin: 5px 0;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.emergency-btn:hover,
.emergency-action-btn:hover,
.emergency-submit-btn:hover {
  background-color: #a30000;
}

/* WhatsApp button */
.emergency-action-btn.whatsapp {
  background-color: #25D366;
}

.emergency-action-btn.sms {
  background-color: #007bff;
}

/* Map div */
#emergencyMap {
  width: 100%;
  height: 250px;
  margin-top: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Footer */
.emergency-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
}

.admin-link {
  color: #cc0000;
  text-decoration: none;
}

.admin-link:hover {
  text-decoration: underline;
}
