* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f8faf6;
  overflow: hidden;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #01a4db;
  padding: 20px 40px; /* Increased padding for a spacious look */
  flex-wrap: wrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* Optional: adds subtle depth */
}

.logo img {
  height: 50px;
  margin-right: 30px; /* Space between logo and nav links */
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px; /* Slightly increased gap between links */
}


.nav-links li a {
  color: white;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
}

.auth-buttons .btn-auth {
  border: 2px solid white;
  background: transparent;
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
  text-decoration: none;
}

.auth-buttons .btn-auth:hover {
  background: white;
  color: #01a4db;
}

.container {
  display: flex;
  height: calc(100vh - 80px);
  width: 100%;
}

.sidebar {
  width: 25%;
  background: #eaf3e1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 30px;
}

.sidebar img {
  width: 250%;
  height: calc(100vh - 80px);
  object-fit: contain;
}

.main-content {
  width: 90%;
  padding: 20px 30px;
  background: #fff;
  border-top-right-radius: 30px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
}

.back-btn {
  background: none;
  border: none;
  font-size: 22px;
  margin-right: 14px;
  cursor: pointer;
}

.profile-card {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #dbe6d7;
  border-radius: 12px;
  padding: 18px 24px;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.avatar {
  width: 60px;
  height: 60px;
  font-size: 30px;
  margin-right: 20px;
  background: #3bb54a;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-info .name {
  font-weight: bold;
  font-size: 16px;
}

.profile-info .phone {
  color: #555;
  font-size: 14px;
}

.view-profile {
  color: #3bb54a;
  font-size: 12px;
  cursor: pointer;
}

.wallet {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.wallet-icon {
  font-size: 12px;
  color: #555;
  margin-bottom: 4px;
}

.wallet-balance {
  padding: 6px 18px;
  font-size: 16px;
  background: #eaf3e1;
  color: #3bb54a;
  font-weight: bold;
  border-radius: 6px;
}

.actions {
  display: flex;
  justify-content: space-between;
  margin: 30px 0 16px;
  gap: 24px;
}

.action-btn {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  width: 160px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
}

.action-btn i {
  font-size: 24px;
  margin-bottom: 6px;
  color: #3bb54a;
}

.rewards {
  margin: 10px 0 20px;
  font-size: 14px;
}

.rewards span {
  color: #3bb54a;
}

.referral-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #dbe6d7;
  border-radius: 12px;
  padding: 18px 24px;
  margin-bottom: 24px;
}

.referral-label {
  color: #a1c96a;
  font-weight: bold;
  font-size: 18px;
}

.referral-code {
  font-size: 22px;
  font-weight: bold;
  margin-top: 4px;
  color: #222;
}

.share-btn {
  background: #3bb54a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.help-section {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  margin-bottom: 24px;
}

.call-btn {
  background: #eaf3e1;
  color: #3bb54a;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.email-link {
  color: #3bb54a;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.link-btn {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 500;
  color: #222;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #888;
  font-size: 13px;
  padding: 10px 0;
  margin-top: 10px;
  border-top: 1px solid #eee;
}

.logout {
  color: #e74c3c;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }

  .auth-buttons {
    margin-top: 10px;
  }
}
