/* Events View Stylesheet - VMS 4.0 */

.events-body-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 15px;
  height: calc(100vh - 165px);
  overflow: hidden;
}

.events-search-card, .events-detail-card {
  padding: 15px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.filters-search-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  background: rgba(0,0,0,0.2);
  padding: 12px;
  border-radius: 4px;
}

.event-detail-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
}

.event-detail-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 8px;
}

.event-title-banner {
  font-size: 14px;
  color: #fff;
}

.event-body-text {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  background: rgba(255,255,255,0.02);
  padding: 8px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.04);
}

.json-packet-container {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.json-pre {
  background: #02040b;
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 4px;
  padding: 10px;
  font-size: 9px;
  color: var(--primary);
  overflow-x: auto;
}

.ticket-status-box {
  background: rgba(16, 172, 132, 0.08);
  border: 1px solid rgba(16, 172, 132, 0.2);
  color: var(--green);
  border-radius: 4px;
  padding: 10px;
  font-size: 11px;
  line-height: 1.4;
}

.events-empty-state {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  text-align: center;
  gap: 15px;
  padding: 20px;
}

.alarm-bell-icon {
  font-size: 36px;
  animation: ring-bell 2s infinite ease-in-out;
}

@keyframes ring-bell {
  0% { transform: rotate(0); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  30% { transform: rotate(10deg); }
  40% { transform: rotate(-10deg); }
  50% { transform: rotate(0); }
  100% { transform: rotate(0); }
}
