/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: #f5f6fa;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: #fff;
}

.back-btn {
  background: none;
  border: none;
  margin-right: 16px;
  cursor: pointer;
}

.header h1 {
  font-size: 20px;
  font-weight: 600;
}

.user-info {
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: #fff;
}

.avatar {
  width: 48px;
  height: 48px;
  background-color: #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-icon {
  color: #8b5cf6;
}

.user-details {
  margin-left: 16px;
}

.user-details h2 {
  font-size: 18px;
  font-weight: 600;
}

.user-details p {
  font-size: 14px;
  color: #6b7280;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px;
  background-color: #fff;
}

.link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.icon-container {
  width: 48px;
  height: 48px;
  background-color: #f3f4f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon {
  font-size: 24px;
  color: #4b5563;
}

.link-item p {
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
}

.banner {
  margin: 16px;
  padding: 16px;
  background-color: #1a3c34;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.banner-content {
  color: #fff;
}

.banner-title {
  color: #facc15;
  font-weight: 600;
}

.banner-text {
  margin-top: 4px;
  font-size: 14px;
}

.banner-btn {
  margin-top: 8px;
  background-color: #facc15;
  color: #000;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.banner-image img {
  width: 80px;
  height: 80px;
}

.zepto-cash {
  margin: 16px;
  padding: 16px;
  background-color: #f3e8ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.zepto-cash-info {
  display: flex;
  align-items: center;
}

.zepto-cash-details {
  margin-left: 16px;
}

.zepto-cash-title {
  font-weight: 600;
}

.new-tag {
  color: #10b981;
  font-size: 12px;
}

.zepto-cash-balance {
  font-size: 14px;
  color: #6b7280;
}

.add-balance-btn {
  background-color: #fff;
  color: #8b5cf6;
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.section {
  margin: 16px;
}

.section h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.section-content {
  background-color: #fff;
  border-radius: 8px;
}

.section-item {
  width: 100%;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  border-top: 1px solid #e5e7eb;
  cursor: pointer;
}

.section-item:first-child {
  border-top: none;
}

.item-content {
  display: flex;
  align-items: center;
}

.item-content p {
  margin-left: 16px;
}

.arrow {
  font-size: 24px;
  color: #4b5563;
}

.logout-section {
  margin: 16px;
  padding-bottom: 70px;
}

.logout-btn {
  width: 100%;
  padding: 16px;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  /* padding-bottom: 65px; */
}

.logout-btn:hover {
  background-color: #f44600;
}

.app-version {
  margin: 16px;
  text-align: center;
}

.app-version p {
  font-size: 14px;
  color: #6b7280;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
}

.modal-content h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.modal-content label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.modal-content input,
.modal-content textarea {
  width: 100%;
  padding: 8px;
  margin-bottom: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
}

.modal-content button {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal-content .save-btn {
  background-color: #8b5cf6;
  color: #fff;
}

.modal-content .cancel-btn {
  background-color: #e5e7eb;
  margin-left: 8px;
}

/* About Us Section */
.about-us-content {
  padding: 16px;
  background-color: #fff;
  border-radius: 8px;
}

.about-us-content p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 8px;
}
/*==================== Bottom Navigation Bar ====================*/
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background-color: #fff;
  border-top: 1px solid #ddd;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-align: center;
  color: #777;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-item i {
  display: block;
  font-size: 20px;
  margin-bottom: 4px;
}

.nav-item.active,
.nav-item:hover {
  color: #ff5722; /* active or primary color */
}

/* Bottom Navigation Bar Cart Icon Badge */
.icon-wrapper {
  position: relative;
  display: inline-block;
}

.cart-badge {
  position: absolute;
  top: -9px;
  right: -11px;
  background-color: red;
  color: white;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 50%;
  font-weight: bold;
  line-height: 1;
}

/* Snackbar styling */
.snackbar {
  visibility: hidden;
  min-width: 180px;
  background-color: #f44336;
  color: white;
  text-align: center;
  border-radius: 6px;
  padding: 10px 16px;
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  font-size: 14px;
}

.snackbar.show {
  visibility: visible;
  opacity: 1;
  bottom: 100px;
}

/* Bump animation */
/* Bump animation for cart badge */
.bump {
  animation: bump 0.3s ease;
}

@keyframes bump {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

/* Bump animation for snackbar */
.snackbar.bump {
  animation: bump 0.3s ease;
}

@keyframes bump {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
