/* Back Button Hover Fix */
.btn-back {
  transition: 0.3s ease;
}

.btn-back:hover {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

.btn-back-white {
    border: 2px solid #fff !important;
    color: #fff;
    transition: 0.3s ease;
}

.btn-back-white:hover {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.profile-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.4rem 1.7rem;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
}

.profile-avatar {
  width: 95px;
  height: 95px;
  background: linear-gradient(135deg, #000, #555);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 32px;
  color: #fff;
  margin: 0 auto 1rem;
  letter-spacing: 1px;
}

.user-name {
  font-weight: 600;
  font-size: 1.25rem;
  color: #222;
  margin-bottom: 1.4rem;
}

.profile-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
  background: #fafafa;
  border: 1px solid #e5e5e5;
  border-radius: 14px;
  margin-bottom: 0.8rem;
  text-decoration: none;
  color: #111 !important;
  font-weight: 500;
  transition: 0.3s ease;
}

.profile-link:hover {
  background-color: #000;
  color: #fff !important;
  border-color: #000;
  transform: translateX(4px);
}

.profile-link i {
  font-size: 1.2rem;
}

.logout-link {
  margin-top: 1.8rem;
  display: inline-block;
  width: 100%;
  padding: 0.75rem;
  border-radius: 50px;
  border: 2px solid #d10000;
  font-weight: 600;
  background: #d10000;
  color: #fff;
  text-decoration: none;
  transition: 0.3s ease;
}

.logout-link:hover {
  background: #d10000;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .profile-card {
    border-radius: 18px;
    padding: 2rem 1.2rem;
  }
}

/* Address */
.address-card {
  background: #fff;
  transition: 0.3s ease;
}

.address-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.custom-badge {
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
}

.border-dashed:hover {
  background: #f1f1f1;
  transition: 0.3s ease;
}