/* -------------------------------------------------
   HMH BRAND COLORS
--------------------------------------------------- */
:root {
  --hmh-blue: #0057A8;
  --hmh-blue-dark: #00346E;
  --hmh-blue-light: #E9F1FB;
  --text-main: #0B2340;
  --card-bg: #ffffff;
  --shadow: rgba(0,0,0,0.08);
}

/* -------------------------------------------------
   GLOBAL
--------------------------------------------------- */
body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: var(--hmh-blue-light);
  color: var(--text-main);
}

.hidden { display: none !important; }

/* -------------------------------------------------
   WELCOME SCREEN
--------------------------------------------------- */
.welcome-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90vh;
}

.welcome-card {
  background: white;
  padding: 50px 60px;
  max-width: 460px;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 4px 15px var(--shadow);
}

.welcome-logo {
  width: 150px;
  margin-bottom: 20px;
}

.welcome-card p {
  color: #405472;
}

/* -------------------------------------------------
   BUTTONS
--------------------------------------------------- */
.btn-primary {
  background: var(--hmh-blue);
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-primary:hover { background: var(--hmh-blue-dark); }

.btn-secondary {
  background: #d7e6f4;
  color: var(--hmh-blue-dark);
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.small-btn { padding: 6px 12px; }

/* -------------------------------------------------
   HEADER
--------------------------------------------------- */
.top-header {
  background: var(--hmh-blue);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 14px 26px;
  align-items: center;
  box-shadow: 0 4px 10px var(--shadow);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  height: 40px;
}

.header-signout-btn {
  background: white;
  color: var(--hmh-blue);
  border-radius: 5px;
  border: none;
  padding: 9px 14px;
}

/* USER BADGE */
.user-badge {
  display: flex;
  align-items: center;
  background: white;
  color: var(--hmh-blue);
  border-radius: 20px;
  padding: 6px 12px;
}

.user-badge--hidden { display: none; }

.user-badge__initials {
  background: var(--hmh-blue);
  color: white;
  padding: 10px;
  border-radius: 50%;
  margin-right: 10px;
}

/* -------------------------------------------------
   MAIN CONTAINER
--------------------------------------------------- */
.main-container {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 12px var(--shadow);
}

/* Form elements */
input, textarea, select {
  width: 100%;
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid #c7d6e8;
}

/* -------------------------------------------------
   TICKET TABLE
--------------------------------------------------- */
.tickets-table {
  width: 100%;
  border-collapse: collapse;
}

.tickets-table th {
  text-align: left;
  border-bottom: 2px solid #c5d3e5;
  padding: 12px 6px;
  color: var(--hmh-blue-dark);
}

.tickets-table td {
  padding: 10px 6px;
  border-bottom: 1px solid #e0e8f5;
}

/* STATUS COLORS */
.status-triggered {
  background: #ffdddd !important;
  color: #a30000 !important;
}

.status-acknowledged {
  background: #fff4cc !important;
  color: #8a6d00 !important;
}

.status-resolved {
  background: #ddffdd !important;
  color: #0f7d00 !important;
}

.status-pill {
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 600;
}

.empty-state {
  text-align: center;
  color: #65738a;
  padding: 18px;
}
