/* ACARS Messages Page Styles */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
}

body {
  background-color: black;
  font-family: Arial, sans-serif;
  font-size: 10pt;
  color: white;
}

.siheader {
    left: 100px;
    top: 20px;
    color: #D4A835;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.5px;
    position: absolute;
}


/* Logo in top left */
.logo-header {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1001;
}

.logo-header img {
  max-width: 50px;
  height: auto;
  filter: drop-shadow(0 0 15px rgba(212, 168, 53, 0.3));
}

/* Header bar with logo and title */
.header-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.7);
}

.page-title {
  color: #D4A835;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Top control bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.7);
  gap: 20px;
}

.controls {
  display: flex;
  gap: 20px;
  align-items: center;
}

.controls a {
  color: #D4A835;
  text-decoration: none;
  font-size: 18px;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.controls a:hover {
  opacity: 0.7;
}

h1 {
  display: none;
}

h2 {
  color: #D4A835;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.5px;
}

/* Table styling */
.tabulator {
  background-color: black;
}

.tabulator .tabulator-cell {
  color: white;
  white-space: normal;
  word-wrap: break-word;
}

.tabulator .tabulator-header {
  background-color: #333;
  color: white;
}

.tabulator .tabulator-group {
  background-color: #444;
  color: white;
}

#acars-table {
  height: 700px;
  margin-top: 10px;
}

a {
  color: #fafbfd;
  text-decoration: none;
  font-family: Arial, sans-serif;
}

.tabulator-arrow {
  color: white;
}

/* Filter Panel Styles */
.filter-panel {
  background-color: rgba(30, 30, 30, 0.9);
  border-bottom: 2px solid #D4A835;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.filter-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.filter-group label {
  color: #D4A835;
  font-size: 11pt;
  font-weight: 600;
}

.filter-group input,
.filter-group select {
  padding: 8px 10px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid #D4A835;
  border-radius: 3px;
  font-size: 10pt;
}

.filter-group input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.filter-group input:focus,
.filter-group select:focus {
  outline: none;
  background-color: rgba(212, 168, 53, 0.1);
  border-color: #FFE066;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-apply,
.btn-clear {
  padding: 5px 10px;
  border: none;
  border-radius: 4px;
  font-size: 11pt;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-apply {
  background-color: #D4A835;
  color: black;
}

.btn-apply:hover {
  background-color: #FFE066;
  box-shadow: 0 0 10px rgba(212, 168, 53, 0.5);
}

.btn-clear {
  background-color: rgba(255, 255, 255, 0.1);
  color: #D4A835;
  border: 1px solid #D4A835;
}

.btn-clear:hover {
  background-color: rgba(212, 168, 53, 0.2);
  border-color: #FFE066;
  color: #FFE066;
}
