  @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

    * { margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins", sans-serif; }
    body { min-height: 100vh; display: flex; background: #f0faff; }

    /* ===== COLOR THEME ===== */
:root {
  --pink-light: #FFF1F2;
  --pink-soft: #EDBABC;
  --pink-accent: #BB7B85;
  --cream: #FAEDCD;
  --text-dark: #313851;
}

    .sidebar {
      position: fixed;
      top: 0;
      left: 0;
      height: 100vh;
      width: 260px;
      background-color: #BB7B85;
      color: #313851;
      display: flex;
      flex-direction: column;
      padding: 20px 0;
      z-index: 1000;
    }
    .sidebar .logo-section {
      text-align: center;
      margin-bottom: 20px;
    }
    .sidebar .logo-section img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      margin-bottom: 8px;
    }
    .sidebar .logo-section h2 {
      font-size: 20px;
      font-weight: bold;
      color: #313851;
    }
    .sidebar .sidebar-content {
      display: flex;
      flex-direction: column;
      height: 100%;
      justify-content: space-between;
      padding: 0 16px;
    }
    .sidebar .lists {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .sidebar .list {
      margin: 10px 0;
    }
    .sidebar .nav-link {
      display: flex;
      align-items: center;
      text-decoration: none;
      padding: 12px 15px;
      color: #FFF;
      border-radius: 8px;
      transition: background-color 0.3s ease;
    }
    .sidebar .nav-link:hover,
    .sidebar .nav-link.active {
      background-color: #EDBABC;
      color: #313851;
      font-weight: bold;
    }
    .sidebar .nav-link .icon {
      font-size: 18px;
      margin-right: 10px;
    }
    .sidebar .bottom-content {
      margin-top: auto;
      padding-top: 15px;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

    /*Content*/
    .content {
      margin-left: 260px;
      padding: 40px;
      flex: 1;
      background: #FFF1F2;
      box-sizing: border-box;
      min-height: 100vh;
    }

    .page-title {
      font-size: 36px;
      font-weight: 600;
      color: #313851;
      margin-bottom: 20px;
    }

    .add-btn {
      padding: 10px 20px;
      background-color: #BB7B85;
      color: white;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: bold;
      margin-bottom: 30px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .add-btn:hover {
      background-color: #6A327A;
    }

    
/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 80px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(49, 56, 81, 0.4);
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 25px 40px;
  border-radius: 12px;
  width: 40%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  position: relative;
}

.modal-content h2 {
  color: var(--pink-accent);
  margin-bottom: 15px;
}

.modal-content label {
  display: block;
  margin-top: 10px;
  font-weight: 500;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-top: 5px;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.add-rawatan-btn {
  background-color: var(--pink-accent);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 0.9em;
}

.add-rawatan-btn:hover {
  background-color: var(--pink-soft);
  color: var(--text-dark);
}

.rawatan-item {
  position: relative;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  margin-top: 15px;
  background-color: #fff9fa;
}

.remove-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #555;
}

.remove-btn:hover {
  color: #bb7b85;
}

.jenis-container {
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  margin-top: 10px;
}

.jenis-list input {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.jenis-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.jenis-item input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.add-jenis-btn {
  background-color: var(--pink-soft);
  color: var(--text-dark);
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9em;
}

.add-jenis-btn:hover {
  background-color: var(--pink-accent);
  color: #fff;
}

.remove-jenis-btn {
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.8em;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

.close {
  color: #333;
  float: right;
  font-size: 22px;
  cursor: pointer;
}

label {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

input[type="text"], textarea {
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 5px;
}

.rawatan-pair {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.submit-btn {
  background-color: var(--pink-accent);
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  font-size: 1em;
}

.submit-btn:hover {
  background: #45a049;
}

    .alert {
      padding: 10px;
      margin-bottom: 20px;
      border-radius: 5px;
      display: none;
    }

    .alert-success {
      background-color: #d4edda;
      color: #155724;
      border: 1px solid #c3e6cb;
    }

    .alert-danger {
      background-color: #f8d7da;
      color: #721c24;
      border: 1px solid #f5c6cb;
    }


    .packages-section {
    margin-top: 40px;
}

.packages-section h3 {
    color: var(--text-dark);
    margin-bottom: 20px;
    font-size: 24px;
}

.package-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.package-card h4 {
    color: var(--pink-accent);
    margin-bottom: 10px;
    font-size: 20px;
}

.package-card p {
    margin: 8px 0;
    color: var(--text-dark);
}

.rawatan-list {
    margin-top: 15px;
    padding: 15px;
    background: var(--pink-light);
    border-radius: 8px;
}

.rawatan-list ul {
    margin-left: 20px;
    margin-top: 10px;
}

.rawatan-list li {
    margin: 5px 0;
}

.package-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

.btn-edit, .btn-delete {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-edit {
    background-color: var(--pink-accent);
    color: white;
}

.btn-edit:hover {
    background-color: var(--pink-soft);
    color: var(--text-dark);
}

.btn-delete {
    background-color: #dc3545;
    color: white;
}

.btn-delete:hover {
    background-color: #c82333;
}