* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial;
}

body {
}


/* Layout */
.container {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 220px;
  height: 100vh;
  background: #1e1e2f;
  color: white;
  padding: 20px;
  overflow: hidden;
}

h2{
  display: inline-block;
  margin: 0;
}

/* button style */
#toggleBtn {
  font-size: 16px;
  color:#FFFFFF;
  padding: 4px 8px;
  cursor: pointer;
  border: none;
  background: transparent;
}

/* bila tutup */
.sidebar.close {
  width: 50px;
  padding: 10px;
}

.sidebar.close h2,
.sidebar.close ul li {
  display: none;
}

/* main auto ikut */
.main {
  flex: 1;
  padding: 20px;
  background: #f5f6fa;
  transition: all 0.3s ease;
}

.sidebar h2 {
  margin-bottom: 20px;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  padding: 10px;
  cursor: pointer;
}

.sidebar ul li:hover {
  background: #333;
}

.logout{
  margin-top:20px;
  color:#ff6b6b;
}

/* Header */
.header {
  margin-bottom: 20px;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 250px;
  min-width: 200px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.card:hover{
    background-color: papayawhip;
}


/* TEAM CARD */
.team-section{
  margin-top:30px;
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.team-card{
  background:white;
  padding:20px;
  border-radius:12px;
  width:250px;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.team-card button{
  margin-top:10px;
  padding:8px 12px;
  border:none;
  background:#6c63ff;
  color:white;
  border-radius:6px;
  cursor:pointer;
}

.open-btn:hover{
    background-color: darkslateblue;
}

/* SEARCH */
.search-box{
  margin-top:20px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.search-box input, .search-box button{
  padding:10px;
  border-radius:6px;
  border:1px solid #ccc;
}

.search-box button{
  background:#6c63ff;
  color:white;
  border:none;
}

.search-btn:hover{
    background-color:darkslateblue;
}
/* Table container supaya scroll bila kecil screen */
.table-container {
  overflow-x: auto;
  margin-top: 20px;
}

/* Table Style */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
}

.styled-table thead {
  background-color: #1e90ff; /* biru */
  color: white;
}

.styled-table th, .styled-table td {
  padding: 12px 15px;
  text-align: center;
}

.styled-table tbody tr {
  background-color: #f9f9f9;
  border-bottom: 1px solid #ddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f1f1f1; /* stripe effect */
}

.styled-table tbody tr:hover {
  background-color: #e0f0ff;
}

.styled-table button {
  padding: 6px 12px;
  background-color: #1e90ff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.styled-table button:hover {
  background-color: #0d6efd;
}

/* Table header container */
.table-header {
  display: flex;
  justify-content: space-between; /* title kiri, button kanan */
  align-items: center;
  margin-top: 20px;
  margin-bottom: 10px;
}

/*Group button*/
.button-group{
    display: flex;
    gap: 10px;
}

/* Download button */
.download-btn {
  padding: 6px 12px;
  background-color: #1e90ff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.download-btn:hover {
  background-color: #0d6efd;
}

/* Report button */
.report-btn{
    padding: 6px 12px;
    background-color: #ff6b6b;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.report-btn:hover{
    background-color: lightpink;
}

/* REPORT CARD */
.report-section{
  margin-top:30px;
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.report-card{
  background:white;
  padding:130px;
  border-radius:12px;
  width:1700px;
  position: relative;
}

.report-top{
      position: absolute;
      top: 10px;
      left: 10px;
      display: flex;
      gap: 10px;
}

/* Today button */
.today-btn {
  padding: 6px 12px;
  background-color: #269404;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.today-btn:hover {
  background-color: #6fa771;
}

/* Month button */
.month-btn{
    padding: 6px 12px;
    background-color: #7a1b72da;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.month-btn:hover{
    background-color: rgb(155, 118, 177);
}

