﻿/* HALAMAN TIKET KARYAWAN - SN GROUP */

.halaman-tiket {
  display: none;
  font-family: -apple-system, BlinkMacSystemFont,
    "Segoe UI", Arial, sans-serif;
  color: #243044;
}

.app-container main.main-tiket-aktif > :not(#halamanTiket) {
  display: none !important;
}

.app-container main.main-tiket-aktif #halamanTiket {
  display: block;
}

.tiket-header,
.tiket-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.tiket-header {
  margin-bottom: 22px;
}

.tiket-header h2 {
  font-size: 25px;
  margin: 0 0 5px;
}

.tiket-header p,
.tiket-list-header p {
  color: #64748b;
  margin: 0;
}

.tiket-panel {
  padding: 22px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 14px;
}

.tiket-panel[hidden] {
  display: none !important;
}

.tiket-panel h3 {
  margin: 0 0 18px;
  font-size: 18px;
}

.tiket-primary {
  background: #243b53;
  color: white;
  border: 0;
  border-radius: 9px;
  padding: 12px 17px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.tiket-primary:disabled {
  opacity: .55;
  cursor: wait;
}

.tiket-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.tiket-fields label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-weight: 600;
  font-size: 13px;
}

.tiket-fields input,
.tiket-fields select,
#tiketCari {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d7e0ea;
  border-radius: 9px;
  background: white;
  color: #243044;
  font: inherit;
}

.tiket-durasi {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 14px;
  background: #f1f6fb;
  border-radius: 10px;
}

.tiket-durasi strong {
  font-size: 20px;
}

.tiket-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.tiket-form-actions button {
  padding: 11px 15px;
  border-radius: 9px;
  cursor: pointer;
}

.tiket-list-header {
  margin-bottom: 18px;
}

.tiket-list-header h3 {
  margin-bottom: 4px;
}

#tiketCari {
  max-width: 310px;
}

.tiket-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.tiket-table-scroll table {
  width: 100%;
  min-width: 1330px;
  border-collapse: collapse;
}

.tiket-table-scroll th,
.tiket-table-scroll td {
  padding: 12px 11px;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid #e6eaf0;
  vertical-align: middle;
}

.tiket-table-scroll th {
  background: #f5f7fb;
  font-weight: 650;
}

.tiket-footer {
  margin-top: 16px;
  color: #64748b;
  font-size: 13px;
}

.kasbon-sidebar .sn-tiket-link {
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: #64748b;
}

.kasbon-sidebar .sn-tiket-link.active {
  background: #eaf0f6;
  color: #243b53;
  font-weight: 650;
}

@media(max-width: 700px) {
  .tiket-fields {
    grid-template-columns: 1fr;
  }
  .tiket-panel {
    padding: 16px;
  }
}
