:root {
  --primary-color: #4f46e5;
  --primary-hover: #4338ca;
  --secondary-color: #f3f4f6;
  --danger-color: #dc2626;
  --text-color: #1f2937;
  --text-secondary: #4b5563;
  --gray-light: #f9fafb;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* Global Styles */
body {
  background-color: #f8fafc;
  color: var(--text-color);
  line-height: 1.5;
}

/* Page Title */
.lo_title01 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 2rem 0;
  text-align: center;
  letter-spacing: -0.025em;
}

/* Profile Top Section */
.profile_top {
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.profile_top:hover {
  box-shadow: var(--shadow-lg);
}

.profile_bx {
  padding: 2rem;
}

.pro_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--secondary-color);
}

.pro_top .left {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.25rem;
  color: var(--text-color);
  font-weight: 600;
}

.pro_top .left img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  padding: 0.5rem;
  background: var(--gray-light);
}

.right {
 display: flex;
}

.adminad {
  background: var(--primary-color);
  color: var(--white) !important;
  padding: 0.5rem 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.adminad:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* Form Fields */
.pro_bottom {
  margin-bottom: 1.5rem;
}

.pro_bottom b {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--secondary-color);
  border-radius: 0.75rem;
  font-size: 1rem;
  background: var(--white);
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-control[readonly] {
  background: var(--gray-light);
  border-color: transparent;
}

/* Wallet Section */
.profile_con {
  background: var(--white);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  padding: 2rem;
  margin-bottom: 2rem;
}

.my_title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.profile_con ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.profile_con li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-light);
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.profile_con li a:hover {
  transform: translateY(-2px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.wallet_img {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
}

.wallet_img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Banner */
.card-body {
  margin-top: 2rem;
}

.card-body img {
  width: 100%;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.card-body img:hover {
  transform: scale(1.01);
}

/* Warning Text */
.pro_bottom p {
  font-size: 0.875rem;
  color: var(--danger-color);
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile_bx {
    padding: 1.5rem;
  }

     .connect-wallet-btn {
        width: 100%;
        justify-content: center;
    }
  
  .pro_top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .lo_title01 {
    font-size: 1.75rem;
  }

  .profile_con {
    padding: 1.5rem;
  }

  .profile_con ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .profile_bx {
    padding: 1rem;
  }

  .lo_title01 {
    font-size: 1.5rem;
  }

  .form-control {
    font-size: 0.875rem;
  }
}