/* =========================================================
   alert-detail.css — Weather Alert Detail Cards
   ========================================================= */

.alert-detail-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 900;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 60px 12px 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.alert-detail-container.alert-detail-open {
  opacity: 1;
  pointer-events: auto;
}

.alert-detail-scroll {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.alert-detail-card {
  border-radius: 16px;
  border: 2px solid;
  padding: 20px;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.alert-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.alert-detail-severity {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.alert-detail-urgency {
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  padding: 3px 10px;
  border-radius: 20px;
}

.alert-detail-event {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
}

.alert-detail-headline {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 0.9;
}

.alert-detail-timing {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
}

.alert-detail-areas {
  font-size: 13px;
  font-weight: 500;
  opacity: 0.8;
  margin-bottom: 12px;
  line-height: 1.4;
}

.alert-detail-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
  opacity: 0.95;
}

.alert-detail-instructions {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.alert-detail-source {
  font-size: 11px;
  opacity: 0.5;
  text-align: right;
}

.alert-detail-close {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 12px auto 0;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.alert-detail-close:active {
  background: rgba(255, 255, 255, 0.2);
}
