/* Global styles for Antrean RSSA */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, -apple-system, Roboto, Helvetica, sans-serif;
  background-color: #EAEEF3;
  margin: 0;
  padding: 0;
}

.header {
  width: 100%;
  height: 43px;
  background-color: #00A65A;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #A7DFC2;
  font-size: 18px;
  font-weight: 700;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-name {
  color: #85D3AC;
  font-size: 12px;
  font-weight: 700;
}

.sidebar {
  width: 210px;
  height: 100vh;
  background-color: #fff;
  position: fixed;
  top: 43px;
  left: 0;
  overflow-y: auto;
  border-right: 1px solid #e0e0e0;
}

.sidebar-menu {
  padding: 8px 0;
}

.sidebar-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #8B8A8D;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  gap: 12px;
  transition: background-color 0.2s;
}

.sidebar-item:hover {
  background-color: #f5f5f5;
}

.sidebar-item.active {
  background-color: #e8f5e8;
  color: #00A65A;
  font-weight: 700;
}

.main-content {
  margin-left: 210px;
  margin-top: 43px;
  padding: 20px;
  min-height: calc(100vh - 43px);
}

.breadcrumb {
  background-color: #EBEFF4;
  padding: 12px 20px;
  margin: -20px -20px 20px -20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item {
  color: #6F6C70;
  font-size: 20px;
  font-weight: 400;
}

.breadcrumb-link {
  color: #9D9FA4;
  font-size: 10px;
  text-decoration: none;
}

.section {
  background-color: #fff;
  border-radius: 6px;
  margin-bottom: 20px;
  overflow: hidden;
}

.section-header {
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  position: relative;
}

.section-header.late-visitors {
  background-color: #F4A221;
  color: #F6BB63;
}

.section-header.visitors {
  background-color: #DD4B39;
  color: #E78982;
}

.section-content {
  padding: 20px;
}

.form-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  color: #757476;
}

.form-input {
  padding: 8px 12px;
  border: 1px solid #A3C9DF;
  border-radius: 2px;
  font-size: 12px;
  color: #C8C8CB;
}

.form-input:focus {
  outline: none;
  border-color: #00A65A;
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary {
  background-color: #00C0EF;
  color: #A8E8F8;
  border: 1px solid #3ECFF2;
}

.btn-primary:hover {
  background-color: #00A8CC;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.data-table th {
  background-color: #f8f9fa;
  padding: 12px 8px;
  text-align: left;
  font-weight: 700;
  color: #7F7A7F;
  border-bottom: 1px solid #e0e0e0;
}

.data-table td {
  padding: 12px 8px;
  border-bottom: 1px solid #f0f0f0;
  color: #A1A0A5;
}

.data-table tr:hover {
  background-color: #f8f9fa;
}

.status-btn {
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 400;
  border: 1px solid;
  display: inline-block;
  margin: 2px;
}

.status-btn.tiket {
  background-color: #00A65A;
  color: #8CD5AD;
  border-color: #41AF7C;
}

.status-btn.tiket-pengantar {
  background-color: #00A65A;
  color: #8AD5B1;
  border-color: #47B281;
}

.status-btn.bypass {
  background-color: #00BDF2;
  color: #92E2F7;
  border-color: #40BBC9;
}

.table-controls {
  display: flex;
  justify-content: between;
  align-items: center;
  padding: 16px;
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
}

.table-controls-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.select-control {
  padding: 6px 24px 6px 8px;
  border: 1px solid #D5D7E0;
  border-radius: 2px;
  font-size: 11px;
  color: #AEAFAF;
  background-color: #fff;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 12px;
  appearance: none;
}

.search-input {
  padding: 6px 8px;
  border: 1px solid #E4E7EB;
  border-radius: 2px;
  font-size: 12px;
  color: #A1A1A5;
  width: 153px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background-color: #fff;
}

.pagination-info {
  color: #A2A1A6;
  font-size: 12px;
}

.pagination-controls {
  margin-left: auto;
  display: flex;
  gap: 4px;
}

.pagination-btn {
  padding: 8px 12px;
  border: 1px solid #E0DCD9;
  border-radius: 2px;
  font-size: 12px;
  color: #BDBDBF;
  background-color: #FFFEFF;
  cursor: pointer;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.no-data {
  text-align: center;
  padding: 40px;
  color: #9B9A9C;
  font-size: 12px;
}
