/* Base styles */
body {
  font-family: 'Inter', sans-serif;
  background: #0f0f0f;
  margin: 0;
  color: #fff;
}

/* Sidebar (for testing only) */
.sidebar {
  width: 250px;
  height: 100vh;
  background: #181818;
  padding: 20px;
}

/* Profile Button */
.profile-btn {
  width: 100%;
  background: #1f1f1f;
  border: 1px solid #333;
  color: white;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
}
.profile-btn:hover {
  background: #242424;
}

/* ===========================
   FULLSCREEN MODAL
=========================== */
.profile-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;   /* Fullscreen width */
  height: 100vh;  /* Fullscreen height */
  background: rgba(0, 0, 0, 0.65);
  display: none;
  justify-content: flex-end;
  align-items: flex-end;
  z-index: 999999999 !important; /* Highest layer */
  isolation: isolate; /* prevents parent clipping */
}

/* Slide-up content box */
.profile-content {
  width: 100%;
  height: 90vh;
  background: #181a1b;
  border-radius: 20px 20px 0 0;
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.35s ease-in-out;
  overflow-y: auto;
}

.profile-modal.active {
  display: flex;
}

.profile-modal.active .profile-content {
  transform: translateY(0);
}

/* Header */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #2a2a2a;
  padding-bottom: 10px;
}
.modal-header h2 {
  margin: 0;
  color: #ccc;
}
.close-btn {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

/* Body */
.profile-body {
  margin-top: 15px;
}
.balance-box {
  background: #222;
  padding: 15px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.balance-box span {
  color: #bbb;
}
.balance-box h2 {
  margin: 4px 0;
}
.buttons button {
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  margin-left: 8px;
  cursor: pointer;
  font-weight: 600;
}
.deposit {
  background: #04b94d;
  color: white;
}
.withdraw {
  background: #333;
  color: #ccc;
}

/* Menu list */
.menu-list {
  margin-top: 20px;
}
.menu-item {
  background: #1f1f1f;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.menu-item:hover {
  background: #2b2b2b;
}
.menu-item small {
  color: #aaa;
}
