/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: hsl(0, 0%, 13%);
}

html {
  overflow-y: auto;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
  scroll-behavior: smooth;
}

body {
  background: #f9f9f9;
  line-height: 1.6;
  font-size: 16px;
  padding-top: 70px;
  margin: 0;
  width: 100%;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

/* HEADER - Fixed for all pages */
.header {
  background: lightseagreen;
  color: #fff;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.header-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo Area */
.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
}

.logo img {
  height: 32px;
  width: auto;
}

.logo span {
  color: #ffffff;
  white-space: nowrap;
}

/* Navigation Links - Desktop */
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  white-space: nowrap;
  padding: 0.5rem 0.8rem;
}

.nav a:hover {
  color: #58a6ff;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #ffffff;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1002;
  position: relative;
  line-height: 1;
}

.menu-toggle:hover {
  color: #58a6ff;
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background: lightseagreen;
    position: absolute;
    top: 70px;
    right: 0;
    width: 250px;
    padding: 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1001;
  }

  .nav a {
    margin: 0;
    padding: 1rem 1.5rem;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
  }

  /* Show menu when active class is added */
  .nav.active {
    display: flex !important;
  }

  /* Show toggle button on mobile */
  .menu-toggle {
    display: block;
  }

  .logo a {
    font-size: 0.95rem;
  }
}

/* Even smaller screens */
@media (max-width: 480px) {
  .nav {
    width: 200px;
  }

  .nav a {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .logo a {
    font-size: 0.9rem;
  }

  .logo img {
    height: 28px;
  }
}

/* Navigation Links */
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav a {
  color: #c9d1d9;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav a:hover {
  color: #58a6ff;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #c9d1d9;
  cursor: pointer;
  background: none;
  border: none;
}

@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background: #0d1117;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  .nav a {
    margin: 0.8rem 0;
  }

  .nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  position: relative;
  background: url('hero-bg.jpg') center/cover no-repeat;
  background-color: aqua;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 17, 23, 0.80);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 3rem;
  color: #fff;
  z-index: 2;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-logo {
  height: 80px;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  padding: 0.9rem 2.2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background-color: #58a6ff;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1f6feb;
}

.btn-outline {
  background: transparent;
  border: 2px solid #58a6ff;
  color: #58a6ff;
}

.btn-outline:hover {
  background-color: #58a6ff;
  color: #fff;
}

.hero-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* RESPONSIVE HERO */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-right {
    width: 100%;
    max-width: 500px;
  }

  .hero-image {
    width: 100%;
    max-width: 80%;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    height: 60px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* TRUST/WHY CHOOSE US SECTION */
.trust {
  background: #1a1f2e;
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.trust h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #58a6ff;
}

.trust-subtext {
  font-size: 1.1rem;
  color: #c9d1d9;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.crypto-chart {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.crypto-chart img {
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: contain;
}

.trust-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.trust-item {
  flex: 1 1 220px;
  max-width: 280px;
  background: #1f2937;
  padding: 2rem;
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.trust-item:hover {
  transform: translateY(-8px);
  background: #222b3b;
}

.trust-item i {
  font-size: 2rem;
  color: #58a6ff;
  margin-bottom: 1rem;
}

.trust-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  color: #ffffff;
}

.trust-item p {
  color: #c9d1d9;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .trust h2 {
    font-size: 2rem;
  }

  .trust-subtext {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .trust-container {
    flex-direction: column;
    align-items: center;
  }

  .trust-item {
    width: 100%;
    max-width: 400px;
  }

  .crypto-chart img {
    max-width: 300px;
    height: auto;
  }
}

/* INVESTMENT PLANS */
.plans-section {
  padding: 4rem 1rem;
  background: #fff;
  text-align: center;
}

.plans-section h2 {
  margin-bottom: 2rem;
  font-size: 2.2rem;
  color: #0a9396;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.plan-card {
  background: #e0f2f1;
  padding: 1.8rem;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-card h3 {
  margin-bottom: 1rem;
  color: #005f73;
  font-weight: 700;
}

.plan-card h4 {
  color: #ffffff !important;
}

.plan-card p {
  margin: 0.5rem 0;
  font-weight: 600;
  color: #004d40;
  word-wrap: break-word;
}
.overview{
  color: black
}

@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .plan-card {
    padding: 1.5rem;
  }
}

/* ACHIEVEMENTS SECTION */
.achievements {
  background: lightseagreen;
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
}

.achievements h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #58a6ff;
}

.achievements-container {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.achievement {
  flex: 1 1 200px;
  max-width: 250px;
  background: grey;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.achievement:hover {
  transform: translateY(-8px);
  background: #1f2937;
}

.achievement h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #58a6ff;
}

.achievement p {
  font-size: 1.1rem;
  color: white;
}

@media (max-width: 768px) {
  .achievements h2 {
    font-size: 2rem;
  }

  .achievements-container {
    flex-direction: column;
    align-items: center;
  }

  .achievement {
    width: 100%;
    max-width: 300px;
  }
}

/* FAQ SECTION */
.faq-section {
  background: #f0fdfa;
  padding: 4rem 1rem;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #0a9396;
  font-weight: 700;
  font-size: 2.2rem;
}

.faq {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-item:hover {
  background: #e0f2f1;
}

.faq-question {
  padding: 1rem 1.5rem;
  font-weight: 700;
  position: relative;
  word-wrap: break-word;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '-';
}

.faq-answer {
  max-height: 0;
  padding: 0 1.5rem;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-weight: 500;
  color: #004d40;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .faq-section h2 {
    font-size: 1.8rem;
  }

  .faq-question {
    padding-right: 50px;
  }
}

/* TESTIMONIALS */
.testimonials-section {
  background: #e0f2f1;
  padding: 4rem 1rem;
  text-align: center;
}

.testimonials-section h2 {
  margin-bottom: 2rem;
  color: #0a9396;
  font-weight: 700;
  font-size: 2.2rem;
}

.testimonial-slider {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  min-height: 150px;
}

.testimonial-slide {
  display: none;
  padding: 1rem 2rem;
  font-style: italic;
  font-weight: 600;
  color: #004d40;
  word-wrap: break-word;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-author {
  margin-top: 1rem;
  font-weight: 700;
  color: #005f73;
}

@media (max-width: 768px) {
  .testimonials-section h2 {
    font-size: 1.8rem;
  }

  .testimonial-slide {
    padding: 1rem;
    font-size: 0.95rem;
  }
}

/* CONTACT SECTION */
/* CONTACT SECTION - MOBILE RESPONSIVE FIX */
.contact-section {
  background: #fff;
  padding: 4rem 1rem;
  width: 100%;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.contact-info,
.contact-box {
  padding: 2rem;
  background: #f0fdfa;
  border-radius: 10px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.contact-info h3,
.contact-box h3 {
  margin-bottom: 1rem;
  color: #0a9396;
  font-size: 1.8rem;
  font-weight: 700;
  word-wrap: break-word;
}

.contact-info p {
  margin-bottom: 1.5rem;
  color: #444;
  font-size: 1.05rem;
  line-height: 1.6;
  word-wrap: break-word;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #004d40;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  word-wrap: break-word;
  word-break: break-word;
  line-height: 1.6;
}

.contact-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-form {
  width: 100%;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #005f73;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.8rem;
  margin-bottom: 1.2rem;
  border: 1px solid #a7c7c5;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background: #0a9396;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 100%;
  font-size: 1rem;
  box-sizing: border-box;
}

.contact-form button:hover {
  background: #005f73;
}

/* Desktop view - side by side */
@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Tablet view */
@media (max-width: 991px) {
  .contact-section {
    padding: 3rem 1rem;
  }

  .contact-info,
  .contact-box {
    padding: 1.5rem;
  }

  .contact-info h3,
  .contact-box h3 {
    font-size: 1.6rem;
  }
}

/* Mobile view */
@media (max-width: 768px) {
  .contact-section {
    padding: 2rem 0.5rem;
  }

  .contact-grid {
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .contact-info,
  .contact-box {
    padding: 1.5rem 1rem;
  }

  .contact-info h3,
  .contact-box h3 {
    font-size: 1.4rem;
    text-align: center;
  }

  .contact-info p {
    font-size: 1rem;
    text-align: center;
  }

  .contact-info ul {
    display: block;
    width: 100%;
  }

  .contact-info li {
    font-size: 0.95rem;
    padding: 0.5rem 0;
  }

  .contact-form button {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  .contact-section {
    padding: 1.5rem 0.25rem;
  }

  .contact-info,
  .contact-box {
    padding: 1rem 0.75rem;
  }

  .contact-info h3,
  .contact-box h3 {
    font-size: 1.2rem;
  }

  .contact-info p {
    font-size: 0.9rem;
  }

  .contact-info li {
    font-size: 0.85rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.7rem;
    font-size: 0.95rem;
  }
}

/* TERMS & BOTTOM SECTIONS */
.bottom-sections {
  background: #fff;
  padding: 4rem 1rem;
  width: 100%;
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.terms-box {
  background: #f0fdfa;
  padding: 2rem;
  border-radius: 10px;
  color: #004d40;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.6;
  word-wrap: break-word;
  width: 100%;
  box-sizing: border-box;
}

.terms-box h3 {
  color: #0a9396;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .bottom-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* AUTH PAGES */
.auth-section {
  padding: 4rem 1rem;
  background: #fff;
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.auth-container {
  max-width: 400px;
  width: 100%;
  background: #f0fdfa;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.auth-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-logo img {
  max-width: 120px;
  height: auto;
}

.auth-container h2 {
  margin-bottom: 1.5rem;
  color: #0a9396;
  font-weight: 700;
  text-align: center;
}

.auth-form label {
  display: block;
  margin-bottom: 0.4rem;
  color: #005f73;
  font-weight: 600;
}

.auth-form input,
.auth-form select {
  width: 100%;
  max-width: 100%;
  padding: 0.8rem;
  margin-bottom: 1.2rem;
  border: 1px solid #a7c7c5;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
}

.auth-form select {
  background: lightseagreen;
  color: #fff;
}

.auth-form button {
  width: 100%;
  background: #0a9396;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 25px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s ease;
}

.auth-form button:hover {
  background: #005f73;
}

.auth-form p {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #004d40;
  text-align: center;
}

.auth-form a {
  color: #0a9396;
  text-decoration: none;
  font-weight: 700;
}

.auth-form a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .auth-container {
    padding: 1.5rem;
  }

  .auth-container h2 {
    font-size: 1.5rem;
  }
}

/* ABOUT PAGE */
.about-section {
  background: #fff;
  padding: 5rem 1rem;
}

.about-flex {
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  color: #0a9396;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.about-text p {
  margin-bottom: 1.2rem;
  color: #004d40;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
}

@media (max-width: 768px) {
  .about-flex {
    flex-direction: column;
    text-align: center;
  }

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 1rem;
  }
}

/* FOOTER */
.footer {
  background: lightseagreen;
  color: #c9d1d9;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.footer .container {
  max-width: 100%;
  width: 100%;
  padding: 0 1rem;
}

.footer a {
  color: #58a6ff;
  text-decoration: none;
  margin: 0 0.5rem;
  display: inline-block;
}

.footer a:hover {
  text-decoration: underline;
}

.footer p {
  color: #c9d1d9;
  margin: 0.8rem 0;
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 0.5rem;
  }

  .footer a {
    margin: 0.3rem 0.3rem;
    font-size: 0.85rem;
  }

  .footer p {
    font-size: 0.85rem;
  }
}

/* ADMIN DASHBOARD */
.admin-body {
  background-color: #0d1117;
  padding-top: 70px;
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  margin: 0;
}

.admin-header {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(90deg, #0d1117, #111827);
  border-bottom: 1px solid #1f2937;
}

.admin-header h1 {
  font-size: 1.8rem;
  color: #00ff80;
  margin-bottom: 0.5rem;
}

.admin-header p {
  color: #9ca3af;
  font-size: 0.95rem;
}

.admin-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1rem;
  padding-bottom: 4rem;
}

.admin-section {
  background-color: #161b22;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 255, 128, 0.05);
  padding: 1.5rem;
  margin-bottom: 2rem;
  width: 100%;
  overflow: hidden;
}

.admin-section h2 {
  color: #00ff80;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.admin-section label {
  display: block;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.admin-section input,
.admin-section select,
.admin-section textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #1f2937;
  border-radius: 5px;
  background-color: #0d1117;
  color: #ffffff;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.admin-section textarea {
  min-height: 80px;
  resize: vertical;
}

.btn-primary {
  display: inline-block;
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: #00ff80;
  color: #0d1117;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.btn-primary:hover {
  background-color: #00cc66;
}

.status-msg {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #f9fafd;
  word-wrap: break-word;
}

/* Admin Mobile Menu Toggle */
.admin-menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #c9d1d9;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .admin-body .header-container {
    position: relative;
  }

  .admin-body .nav {
    display: none;
    flex-direction: column;
    background: #0d1117;
    position: absolute;
    top: 70px;
    right: 0;
    width: 200px;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1001;
  }

  .admin-body .nav a {
    margin: 0.8rem 0;
    color: #c9d1d9;
  }

  .admin-body .nav.active {
    display: flex;
  }

  .admin-menu-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  .admin-container {
    padding: 0.5rem;
  }

  .admin-section {
    padding: 1rem;
  }

  .admin-header h1 {
    font-size: 1.5rem;
  }

  .admin-header p {
    font-size: 0.85rem;
  }
}

/* DASHBOARD STYLES */
:root {
  --bg: lightseagreen;
  --card: #0f1720;
  --muted: #9aa6b2;
  --accent: #00d18a;
  --accent-2: #f5c84b;
  --glass: lightseagreen;
}

.layout {
  display: flex;
  padding: 84px 1rem 2rem;
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--card);
  border-radius: 12px;
  padding: 18px;
  position: sticky;
  top: 84px;
  height: calc(100vh - 100px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}

.logo-compact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-compact img {
  height: 36px;
  max-width: 100%;
}

.menu {
  list-style: none;
  padding: 16px 0;
  margin: 16px 0 0 0;
}

.menu li {
  margin: 8px 0;
}

.menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu a.active,
.menu a:hover {
  background: linear-gradient(90deg, rgba(0, 209, 138, 0.06), rgba(245, 200, 75, 0.02));
  color: #fff;
}

.main {
  flex: 1;
  min-width: 0;
  overflow-x: hidden;
}

.main-inner {
  padding: 18px 0;
}

.main-inner h3,
.section h3 {
  color: black !important;
  /* White headers */
}

.main-inner p,
.section p {
  color: black !important;
  /* Light gray text */
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 1rem;
}

.welcome {
  font-size: 2.1rem;
  color: black;
}

.badge {
  background: var(--glass);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.02));
  padding: 18px;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.card h4 {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.card p {
  font-size: 1.45rem;
  margin: 8px 0 0;
  font-weight: 700;
  color: #fff;
  word-wrap: break-word;
}

.green {
  border-left: 4px solid var(--accent);
}

.blue {
  border-left: 4px solid #3fb0ff;
}

.yellow {
  border-left: 4px solid var(--accent-2);
}

.red {
  border-left: 4px solid #ff6b6b;
}

.deposit-box {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.08), rgba(255, 255, 255, 0.02));
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  overflow: hidden;
  color: black !important;
}

.btc-address {
  display: flex;
  gap: 8px;
  width: 100%;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btc-address input {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #0b0f12;
  color: #fff;
  width: 100%;
  max-width: 400px;
  outline: none;
  box-sizing: border-box;
}

.btn {
  background: linear-gradient(90deg, var(--accent), #00b36b);
  color: #02120b;
  padding: 10px 14px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
}

.btn.secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  overflow-x: auto;
  display: block;
}

thead,
tbody,
tr {
  display: table;
  width: 100%;
  table-layout: fixed;
}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted);
  word-wrap: break-word;
}

tbody tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.status.success {
  color: #10b981;
}

.status.pending {
  color: #f59e0b;
}

.status.failed {
  color: #ef4444;
}

.notif {
  background: var(--card);
  padding: 12px;
  border-radius: 10px;
  color: #c9d1d9 !important;
  word-wrap: break-word;
}

/* Mobile Menu Toggle for Dashboard */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 80px;
  left: 20px;
  z-index: 1001;
  background: var(--accent);
  color: #02120b;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 209, 138, 0.3);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

/* RESPONSIVE DASHBOARD */
@media (max-width: 1000px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .sidebar {
    position: fixed;
    left: -280px;
    top: 64px;
    height: calc(100vh - 64px);
    width: 260px;
    z-index: 1000;
    transition: left 0.3s ease;
  }

  .sidebar.open {
    left: 0;
  }

  .sidebar-overlay.active {
    display: block;
  }

  .layout {
    padding: 84px 0.5rem 2rem;
  }

  .main {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .welcome {
    font-size: 1.5rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  table {
    font-size: 0.85rem;
  }

  th,
  td {
    padding: 8px 4px;
  }
}

@media (max-width: 600px) {
  .btc-address {
    flex-direction: column;
  }

  .btc-address input {
    width: 100%;
  }

  .sidebar {
    width: 220px;
  }

  .welcome {
    font-size: 1.3rem;
  }

  .card p {
    font-size: 1.2rem;
  }
}

/* TOAST NOTIFICATIONS */
.toast-container {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  min-width: 300px;
  max-width: 400px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease-out;
  position: relative;
  overflow: hidden;
}

.toast::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  animation: progress 3s linear;
}

.toast.success {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.toast.error {
  background: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
}

.toast.warning {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.toast.info {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.toast-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
  word-wrap: break-word;
}

.toast-title {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}

.toast-message {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.4;
}

.toast-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.2s;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

@keyframes slideIn {
  from {
    transform: translateX(400px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes progress {
  from {
    width: 100%;
  }

  to {
    width: 0%;
  }
}

@media (max-width: 768px) {
  .toast-container {
    left: 20px;
    right: 20px;
    top: 80px;
  }

  .toast {
    min-width: auto;
    max-width: 100%;
    width: 100%;
  }
}

/* UTILITY CLASSES */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* Prevent text overflow */
.text-wrap {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Ensure images never overflow */
img {
  max-width: 100%;
  height: auto;
}

/* Fix for any remaining overflow issues */
* {
  max-width: 100%;
}

input,
textarea,
select,
button {
  max-width: 100%;
}