/* Baltic Approaches Theme Override */

body {
  background-color: #4a5d6d !important;
}

.header {
  background-color: rgba(58, 74, 90, 0.9) !important;
  border-bottom: 2px solid #6a8a9a !important;
}

.section {
  background-color: rgba(74, 93, 109, 0.9) !important;
  border: 1px solid #6a8a9a !important;
}

.section.active {
  border-color: #7a9aaa !important;
}

/* Date context box */
#dateContext > div {
  background-color: rgba(58, 74, 90, 0.9) !important;
  color: #d0e0f0 !important;
}

/* Table buttons - Baltic Approaches blue-gray theme */
.table-button.nato-table {
  background-color: #5a7a8a !important;
  border-color: #4a6a7a !important;
}

.table-button.nato-table:hover {
  background-color: #6a8a9a !important;
  border-color: #7a9aaa !important;
}

.table-button.warsaw-table {
  background-color: #8a6a6a !important;
  border-color: #7a5a5a !important;
}

.table-button.warsaw-table:hover {
  background-color: #9a7a7a !important;
  border-color: #aa8a8a !important;
}

/* Date selection buttons */
.date-button,
.scenario-date-button {
  background-color: #5a7a8a !important;
  border-color: #4a6a7a !important;
}

.date-button:hover,
.scenario-date-button:hover {
  background-color: #6a8a9a !important;
  border-color: #7a9aaa !important;
}

.date-button.selected,
.scenario-date-button.selected {
  background-color: #6a8a9a !important;
  border-color: #7a9aaa !important;
}

/* Action buttons */
.action-button {
  background-color: #6a8a9a !important;
  border: 2px solid #5a7a8a !important;
}

.action-button:hover {
  background-color: #7a9aaa !important;
  border-color: #8aaaba !important;
}

.action-button.roll-button {
  background-color: #6a8a9a !important;
}

.action-button.roll-button:hover {
  background-color: #7a9aaa !important;
}

.action-button.cancel-button {
  background-color: #7a6a6a !important;
}

.action-button.cancel-button:hover {
  background-color: #8a7a7a !important;
}

/* Select dropdowns */
select {
  background-color: #5a6d7d !important;
  border-color: #6a8a9a !important;
}

/* Input groups and variable selection section */
.roll-input-section {
  background-color: rgba(74, 93, 109, 0.9) !important;
  border-color: #6a8a9a !important;
}

.input-group {
  background-color: transparent !important;
}

.input-group label {
  color: #e0ecf8 !important;
}

.input-group input,
.input-group select {
  background-color: #5a6d7d !important;
  border-color: #6a8a9a !important;
  color: #f4f4f4 !important;
}

.input-group input:focus,
.input-group select:focus {
  border-color: #7a9aaa !important;
  outline: none !important;
}

.selected-table {
  color: #e0ecf8 !important;
}

/* Table view modal */
.table-view-modal.nato-table-view {
  background-color: rgba(74, 93, 109, 0.95) !important;
  border: 3px solid #6a8a9a !important;
}

.table-view-modal.wp-table-view {
  background-color: rgba(90, 74, 74, 0.95) !important;
  border: 3px solid #8a6a6a !important;
}

.modal-header {
  background-color: rgba(58, 74, 90, 0.9) !important;
  border-bottom-color: #6a8a9a !important;
}

/* Results section */
.results-section {
  background-color: rgba(74, 93, 109, 0.9) !important;
  border: 1px solid #6a8a9a !important;
}

/* Printable section */
#printableSection {
  background-color: rgba(74, 93, 109, 0.9) !important;
  border: 1px solid #6a8a9a !important;
}

/* Aircraft Notes Page - Blue-gray theme */
.notes-table {
  background-color: rgba(64, 82, 98, 0.9) !important;
}

.notes-table thead {
  background-color: rgba(74, 93, 109, 0.9) !important;
}

.notes-table th {
  color: #e0ecf8 !important;
  border-bottom-color: #5a7a8a !important;
}

.notes-table tbody tr {
  border-bottom-color: #5a7a8a !important;
}

.notes-table tbody tr:nth-child(even) {
  background-color: rgba(74, 93, 109, 0.7) !important;
}

.notes-table tbody tr:hover {
  background-color: rgba(84, 103, 119, 0.9) !important;
}

.notes-table td {
  color: #d0e0f0 !important;
}

.note-code-cell {
  color: #e0ecf8 !important;
}

.note-description-cell {
  color: #c8d8e8 !important;
}

/* Control groups on notes page */
.control-group h3 {
  color: #d0e0f0 !important;
}

.control-group select {
  background-color: #5a6d7d !important;
  border-color: #6a8a9a !important;
  color: #f4f4f4 !important;
}

.control-group input[type="text"] {
  background-color: #5a6d7d !important;
  border-color: #6a8a9a !important;
  color: #f4f4f4 !important;
}

