/* =========================================
   PAYMENT PAGE - GLASS THEME
========================================= */


/* =========================================
   HEADER (shared across all pages)
========================================= */
header {
  /* Semi-transparent background */
  background: rgba(255, 255, 255, 0.4); 
  color: #1e293b;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  /* The "Glass" Effect */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  
  /* Thin white border to define the edge */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  
  /* Soft shadow for depth */
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.1);
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-left h1 {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(to right, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-left a, .header-right a, .header-right button {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  cursor: pointer;
}

.header-left a:hover, .header-right a:hover, .header-right button:hover {
  color: #6366f1;
  transform: translateY(-2px);
}


/* Main Section Wrapper */
.payment-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
  min-height: 80vh; /* Ensures content is vertically centered on the screen */
}

/* Glass Container for Payment Info */
.payment-container {
  background: rgba(255, 255, 255, 0.4); 
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 3rem 2rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
  transition: transform 0.3s ease;
}

/* Page Heading */
.payment-container h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #6366f1, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.payment-container p {
  color: #475569;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* QR Code Styling */
.qr-image {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 16px;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
  margin: 0 auto 2rem auto;
  display: block;
  transition: transform 0.3s ease;
}

.qr-image:hover {
  transform: scale(1.05);
}

/* Instructions Box - Subtle Glass */
.instructions {
  background: rgba(255, 255, 255, 0.5);
  border-left: 4px solid #6366f1;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: left;
  font-size: 0.95rem;
  color: #1e293b;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.instructions strong {
  color: #6366f1;
}

/* Branding Gradient WhatsApp Link */
.whatsapp-link {
  display: flex;          /* Changed from inline-flex to flex */
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #10a833, #0d8a2a); /* Added slight depth to the green */
  color: white !important;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(16, 168, 51, 0.2); /* Changed shadow to match green */
  
  /* The Fix */
  width: 100%;            
  max-width: 100%;        /* Ensures it never exceeds the parent */
  box-sizing: border-box; /* Forces padding to stay inside the width */
}

.whatsapp-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(16, 168, 51, 0.3);
  filter: brightness(1.1);
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */
@media (max-width: 768px) {
  .payment-section {
    padding: 2rem 1.5rem;
  }
  
  .payment-container {
    padding: 2rem 1.5rem;
  }

  .payment-container h2 {
    font-size: 1.8rem;
  }

  .qr-image {
    max-width: 220px;
  }
  
  .whatsapp-link {
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
  }
}
/* =========================================
   FOOTER (shared across all pages)
========================================= */
footer {
  background: rgba(226, 232, 240, 0.5);
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #64748b;
  backdrop-filter: blur(8px);
  border-radius: 16px;
  margin-top: 2rem;
}