﻿/* PAYROLL TIKET GABUNGAN - SN GROUP */

.halaman-tiket .sn-payroll-legacy {
  display: none !important;
}

.sn-payroll-panel {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}

.sn-payroll-heading,
.sn-payroll-filters,
.sn-payroll-actions,
.sn-payroll-summary,
.sn-payroll-export {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.sn-payroll-heading {
  margin-bottom: 20px;
}

.sn-payroll-heading h3 {
  margin: 0 0 5px;
  font-size: 19px;
}

.sn-payroll-heading p,
.sn-payroll-info {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.sn-payroll-filters {
  justify-content: flex-start;
  margin-bottom: 18px;
}

.sn-payroll-filters label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1 1 240px;
  max-width: 360px;
  font-size: 13px;
  font-weight: 600;
}

.sn-payroll-filters input,
.sn-payroll-filters select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d7e0ea;
  border-radius: 9px;
  font: inherit;
  background: white;
}

.sn-payroll-actions {
  justify-content: flex-start;
  margin: 10px 0 18px;
}

.sn-pilih-semua {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
}

.sn-payroll-panel input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #365977;
  cursor: pointer;
}

.sn-payroll-actions button,
.sn-payroll-export button {
  padding: 10px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 9px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.sn-payroll-export button:first-child {
  background: #27445f;
  color: #fff;
  border-color: #27445f;
}

.sn-payroll-export button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.sn-payroll-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
}

.sn-payroll-scroll table {
  width: 100%;
  min-width: 1580px;
  border-collapse: collapse;
}

.sn-payroll-scroll th,
.sn-payroll-scroll td {
  padding: 11px 9px;
  text-align: center;
  border-bottom: 1px solid #e6ebf1;
  font-size: 12px;
  vertical-align: middle;
}

.sn-payroll-scroll th {
  background: #f3f6fa;
  color: #344256;
  font-weight: 650;
  white-space: nowrap;
}

.sn-payroll-scroll tbody tr:hover {
  background: #f8fafc;
}

.sn-payroll-summary {
  margin-top: 20px;
  padding: 15px 0;
  border-top: 1px solid #e6ebf1;
}

.sn-payroll-summary > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#snJumlahDipilih {
  font-size: 14px;
}

#snTotalDipilih {
  color: #243b53;
  font-size: 16px;
  font-weight: 700;
}

#snJumlahData {
  color: #64748b;
  font-size: 12px;
}

.sn-payroll-export {
  justify-content: flex-end;
  margin-top: 10px;
}

@media (max-width: 700px) {
  .sn-payroll-filters label {
    max-width: none;
  }

  .sn-payroll-export {
    justify-content: stretch;
  }

  .sn-payroll-export button {
    flex: 1 1 100%;
  }
}
