
body {
  font-family: 'Poppins', Arial, sans-serif;
  background: rgba(182, 87, 72, 0.2);
  color: #333;
  margin: 0;
  padding: 0;
}



header img {
  height: 45px;
  vertical-align: middle;
  margin-right: 10px;
}

header h1 {
  display: inline;
  font-size: 20px;
  font-weight: 600;
}

table {
  border-collapse: collapse;
  width: 95%;
  margin: 20px auto;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

th {
  background: #B65748 ;
  color: white;
}

a.button {
  background: #B65748 ;
  color: white;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
}

a.button:hover {
  background: #B6574833;
}

footer {
  background: #B65748 ;
  color: white;
  text-align: center;
  padding: 10px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  font-size: 14px;
}

/* Kotak Login Tengah */
.login-container {
  width: 350px;
  margin: 80px auto;
  padding: 30px 25px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: left;
}

.login-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #B65748 ;
}

.login-container label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.login-container input[type="text"],
.login-container input[type="password"] {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-container input[type="submit"] {
  width: 100%;
  background: #B65748 ;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.login-container input[type="submit"]:hover {
  background: #B6574833;
}

.menu-izin {
  display: flex;
  flex-direction: column;
  align-items: center;      /* biar di tengah */
  gap: 20px;
  margin: 30px 0;
}

.izin-card {
  background: white;
  border: 2px solid #B65748 ;
  color: #B65748 ;
  text-decoration: none;
  padding: 20px 25px;
  border-radius: 12px;
  font-weight: bold;
  width: 320px;            /* lebar kotak */
  text-align: center;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: all 0.25s ease;
}

.izin-card:hover {
  background: #B65748 ;
  color: white;
  transform: translateY(-4px);
}

.izin-card.ikk { border-left: 6px solid #2b7cff; }
.izin-card.ita { border-left: 6px solid #ffaf00; }
.izin-card.itk { border-left: 6px solid #00b35b; }
.izin-card.ipc { border-left: 6px solid #4c1194ff}



.header-left {
  display: flex;
  align-items: center;
}

.header-right {
  position: relative;
}

.profile-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.profile-icon:hover {
  transform: scale(1.1);
}

.header-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.profile-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-info {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: white;
  font-weight: 600;
}

.profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid white;
  margin-right: 10px;
  transition: transform 0.2s ease;
}

.profile-icon:hover {
  transform: scale(1.05);
}

/* Dropdown awalnya tersembunyi */
.profile-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 55px;
  background: white;
  color: #333;
  min-width: 180px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  padding: 10px 0;
  z-index: 100;
}

.profile-dropdown a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #B65748 ;
  font-weight: 500;
}

.profile-dropdown a:hover {
  background: #B65748 ;
  color: white;
}

/* Aktif pas diklik */
.profile-dropdown.show {
  display: block;
}

