html,
body{
  margin:0;
  padding:0;
  width:100%;
  overflow:hidden;
  box-sizing:border-box;
  font-family:Arial,Helvetica,sans-serif;
  background:#B0B0B0;
  color:#111111;
  font-size:12px;
}

*,
*:before,
*:after{
  box-sizing:inherit;
}

.wrap{
  width:100%;
  max-width:none;
  margin:0;
  padding:6px;
  background:#808080;
  border:1px solid #101010;
}

.top{
  display:flex;
  align-items:center;
  gap:5px;
  margin-bottom:5px;
  flex-wrap:wrap;
}

.controls-bar{
  justify-content:space-between;
  column-gap:8px;
  row-gap:7px;
  flex-wrap:nowrap;
}

.control-group,
.step-control{
  display:flex;
  align-items:center;
  gap:5px;
  white-space:nowrap;
}

.mode-filter{
  position:relative;
  display:inline-block;
}

.mode-filter-button{
  min-width:112px;
  max-width:132px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  text-align:left;
}

.mode-filter-button::after{
  content:" \25BE";
  float:right;
  margin-left:5px;
}

.mode-filter-menu{
  display:none !important;
  position:absolute;
  z-index:2147483647;
  top:calc(100% + 4px);
  left:0;
  min-width:145px;
  padding:6px;
  background:#808080;
  border:1px solid #101010;
  box-shadow:0 3px 6px rgba(0,0,0,.45);
}

.mode-filter.open .mode-filter-menu{
  display:grid !important;
  gap:4px;
}

/*
 * Een absoluut gepositioneerd menu vergroot de documenthoogte niet vanzelf.
 * Reserveer daarom tijdelijk ruimte wanneer een lege passagetabel het iframe
 * anders tot boven het menu zou verkleinen.
 */
.wrap.mode-filter-open{
  padding-bottom:125px;
}

.mode-filter-menu label{
  display:flex;
  align-items:center;
  gap:5px;
  cursor:pointer;
}

.mode-filter-menu input{
  width:14px;
  height:14px;
  padding:0;
}

.mode-filter-menu button{
  width:100%;
  margin-top:2px;
}

.offset-group{
  gap:5px;
}

.step-control{
  margin-left:3px;
}

.action-group{
  margin-left:auto;
  gap:7px;
}

.title{
  margin-right:auto;
  color:#111111;
  font-size:14px;
  font-weight:bold;
}

label{
  color:#111111;
  font-size:12px;
  cursor:help;
}

input,
button,
select{
  height:24px;
  border:1px solid #101010;
  background:#303030;
  color:#F0C080;
  font-family:Arial,Helvetica,sans-serif;
  font-size:12px;
  padding:2px 5px;
}

button{
  cursor:pointer;
  box-shadow:0 3px #555555;
  font-weight:normal;
}

button:active{
  box-shadow:0 2px #888888;
  transform:translateY(1px);
}

select{
  box-shadow:0 3px #555555;
}

input{
  background:#F2F2C3;
  color:#111111;
  border-style:inset;
  border-color:#999999;
  border-width:2px;
  text-align:center;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button{
  -webkit-appearance:none;
  margin:0;
}

input[type=number]{
  -moz-appearance:textfield;
  appearance:textfield;
}

table{
  width:100%;
  border-collapse:collapse;
  background:#B0B0B0;
  border:1px solid #606060;
}

th,
td{
  border-top:1px solid #707070;
  border-right:1px solid #909090;
  padding:3px 5px;
  text-align:left;
  white-space:nowrap;
}

th{
  background:#808080;
  color:#111111;
  font-weight:bold;
  cursor:help;
}

tbody tr:nth-child(even){
  background:#A8A8A8;
}

tbody tr:nth-child(odd){
  background:#B8B8B8;
}

tr.selected{
  background:#D0C080 !important;
}

#status{
  min-height:18px;
  margin:3px 0 5px 0;
  padding:3px 5px;
  background:#B0B0B0;
  border:1px inset #909090;
  color:#111111;
}

.tle-panel{
  margin-top:5px;
}

.tle-panel-toggle{
  width:100%;
  text-align:left;
}

.tle-panel-details{
  display:none;
  max-height:260px;
  overflow:auto;
  margin-top:4px;
  border:1px solid #606060;
}

.tle-panel.expanded .tle-panel-details{
  display:block;
}

.tle-panel-details table{
  border:0;
}

.tle-panel-details th{
  position:sticky;
  top:0;
  z-index:1;
}

.tle-status{
  color:#990000;
  font-weight:bold;
}

.below-horizon{
  color:#c00000;
  font-weight:bold;
}


.soon{
  color:#8A5A00;
  font-weight:bold;
}

.now{
  color:#006000;
  font-weight:bold;
}

.track-status{
  color:#000080;
  font-weight:bold;
}

.los{
  color:#c00000;
  font-weight:bold;
}

.later{
  color:#303030;
}

.err,
.bad{
  color:#990000;
  font-weight:bold;
}

.pill{
  display:inline-block;
  border:1px solid #505050;
  background:#D0D0D0;
  color:#111111;
  padding:1px 5px;
}

a.track{
  color:#000080;
  text-decoration:underline;
  font-weight:bold;
}

a.track:hover{
  color:#800000;
}

/* Toegevoegd PD0JRS 06-07-2026 11:00 Informatielink klikbaar in tabel */
a.satlink{
  color:#000080;
  text-decoration:underline;
  font-weight:bold;
}

a.satlink:hover{
  color:#800000;
}

.stop{
  display:inline-block;
  height:24px;
  line-height:22px;
  padding:0 7px;
  background:#303030;
  color:#F08080;
  border:1px solid #101010;
  box-shadow:0 3px #555555;
  text-decoration:none;
}

.good{
  color:#006000;
  font-weight:bold;
}

.mid{
  color:#8A5A00;
  font-weight:bold;
}

.poor{
  color:#404040;
}

.fav{
  color:#A06000;
  font-weight:bold;
}

.smallsel{
  width:52px;
}

.statussel{
  width:86px;
}

.elevinput{
  width:38px;
}

.offsetinput{
  width:46px;
}

.tracking-status{
  font-size:11px;
  line-height:15px;
  white-space:nowrap;
}

.tracking-summary{
  display:grid;
  grid-template-columns:14px minmax(0,1fr) auto auto auto auto;
  column-gap:8px;
  align-items:center;
  min-height:15px;
  cursor:pointer;
  user-select:none;
}

.tracking-arrow{
  width:14px;
  text-align:center;
}

.tracking-name{
  overflow:hidden;
  text-overflow:ellipsis;
  font-weight:bold;
}

.tracking-details{
  display:none;
  margin-top:1px;
}

.tracking-status.expanded .tracking-details{
  display:block;
}

.tracking-detail-line{
  display:grid;
  grid-template-columns:28px 90px 42px 70px;
  column-gap:5px;
  align-items:center;
  min-height:15px;
}

.tracking-detail-label{
  font-weight:bold;
}

th:nth-child(2),
td:nth-child(2),
th:nth-child(3),
td:nth-child(3){
  text-align:center;
}

th:last-child,
td:last-child{
  text-align:left;
}

@media (max-width:760px){
  body{
    font-size:11px;
  }

  .wrap{
    padding:4px;
  }

  .top{
    gap:3px;
  }

  .controls-bar{
    justify-content:flex-start;
    column-gap:12px;
    flex-wrap:wrap;
  }

  .action-group{
    margin-left:0;
  }

  th,
  td{
    padding:3px;
    font-size:11px;
  }

}
