:root {
  --color000: #eaf0d6;
  --color00:#BDC5A2; /*+60%*/
  --color0: #A5AC8D; /* +40% */
  --color1: #80866E; /* +20% */
  --color2: #767B65; 
  --color3: #565A4A; /* -20% */


  --soft-black: #333333;
  --soft-black-light: #3B3B3B; /* +10% */
  --soft-black-dark: #2D2D2D; /* -0% */

  --color00-light: #FAF7F2; /* +10% */
  --color00-dark: #E8E3D9; /* -10% */
  --white:#FFFFFF;
  --black:#000000;
}


.layout {
  display: flex;
  height: auto;
}

.sidebar {
  width: 250px;
  background: white;
  border-right: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.profile-header {
  text-align: center;
  margin-bottom: 30px;
}

.avatar {
  background: var(--color3);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.name {
  font-size: 18px;
  font-weight: bold;
}

.meta {
  font-size: 12px;
  color: #888;
}

.menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu a {
  text-decoration: none;
  color: #333 !important;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 4px;
  transition: background 0.2s;
}

.menu a:hover {
  background: var(--colo00);
}

.menu a.active {
  background: var(--color00);
  border-left: 4px solid var(--color3);
  padding-left: 12px;
  color: var(--white);
  font-weight: bold;
}

.content {
  flex: 1;
  padding: 30px;
  background: #fafafa;
  overflow-y: auto;
}

.content h1 {
  margin-bottom: 20px;
}

.card {
  background: white;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--color1);
  color:white !important;
  margin-bottom: 10px;
  background-color: var(--color1) !important;

}

.card-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: bold !important;
  color: white !important;
}

.edit-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
}

.edit-btn:hover {
  color: #000;
}

.card-body p {
  margin: 8px 0;
}

/* My Schedule Tabs */
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.tabs button {
  padding: 8px 16px;
  border: 0px solid #ccc;
  background: #fff;
  cursor: pointer;
  border-radius: 4px;
}

.tabs button.active {
  background: #fff;
  color: var(--color2);
  font-weight: bold;
  border-bottom: 4px solid var(--color2);
}

.schedule-list {
  margin-top: 10px;
}

.schedule-item {
  background: var(--white);
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--color0);
  border-left: 3px solid var(--color2);
  border-radius: 4px;
}

.schedule-item a{
  color:#000 !important;
  font-weight: bold;
}

.bank-account-list {
  background: #fff;
  padding: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--color2);
  border-radius: 4px;
  padding:10px;
}

.schedule-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border-bottom:1px solid #ccc !important;
}

.schedule-controls select {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.schedule-book {
  margin-top: 20px;
  text-align: center;
}

.schedule-book button {
  padding: 5px 30px;
  background: var(--color2);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.content-section { display: none; }
.content-section.active { display: block; }

  .avatar-img img {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 10px;
  }

  .signature_area {
    border:0px solid #fff !important;
    background-color:#fff;
    margin-bottom: 10px;
  }

.credit_balance_member{
  width: 20vw; /* proporsional terhadap viewport width */
  max-width: 120px; /* batasi ukuran maksimum */
  min-width: 60px;  /* batasi ukuran minimum */

  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: rgba(182, 106, 80, 0.01);
  border: 1px solid var(--color2);
  color: var(--color2-dark);

  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.8rem;
  margin-bottom: 8px       
}

@media (max-width: 768px) {
  .layout {
    flex-direction: column;
    height: auto;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding: 15px;
  }

  .content {
    padding: 20px;
  }

  .card {
    padding: 15px;
  }

  .card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu a {
    padding: 10px 6px;
  }

  .schedule-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
	border-bottom:1px solid #ccc !important;
  }

  .schedule-book {
    text-align: left;
  }



  
}
