/* styles.css - DeoPay Blue Gradient Theme without Logo */

body {
  margin: 0;
  padding: 0;
  font-family: 'Outfit', sans-serif;
  background-color: #f3f7ff;
  color: #1b1f3b;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  color: #1b1f3b;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #29caff, #005edc);
  padding: 80px 20px;
  text-align: center;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: white;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
}

.hero .btn {
  background-color: #ffffff;
  color: #005edc;
  padding: 12px 26px;
  font-weight: 600;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.3s ease-in-out;
  border: none;
}

.hero .btn:hover {
  background-color: #e1efff;
  transform: translateY(-2px);
}

.hero-topright {
  position: absolute;
  top: 20px;
  right: 30px;
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-topright .btn {
  background-color: #ffffff;
  color: #005edc;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 6px;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: all 0.3s ease-in-out;
  border: none;
}

.hero-topright .btn:hover {
  background-color: #e1efff;
  transform: translateY(-2px);
}


/* Features */
.features {
  padding: 60px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.feature-box {
  background: #ffffff;
  padding: 32px 24px;
  border: 1px solid #dde3f0;
  border-radius: 8px;
  text-align: center;
  transition: 0.3s ease-in-out;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
}

.feature-box .icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
  color: #005edc;
}

/* Docs */
#docs {
  padding: 60px 20px;
  background: #f7faff;
  text-align: center;
}

.doc-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.doc-card + .doc-card {
  margin-top: 40px; /* atau 32px sesuai preferensi */
}

.doc-card h3 {
  color: #005edc;
  margin-bottom: 10px;
}

.code-block {
  position: relative;
  border-left: 5px solid #005edc;
  background: #f0f6ff;
  border-radius: 12px;
  margin: 18px 0;
  overflow-x: auto;
}

pre {
  margin: 0;
  padding: 16px;
  font-family: monospace;
  font-size: 0.95rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.code-block .copy-button {
  position: absolute;
  top: 8px;
  right: 12px;
  background: #005edc;
  color: white;
  border: none;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.param-list {
  padding-left: 20px;
  margin: 0 0 24px;
}

.param-list li {
  margin-bottom: 8px;
  list-style: disc;
}

.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
 background: linear-gradient(135deg, #29caff, #005edc);
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
  font-weight: 600;
  z-index: 999;
}

.why-deopay {
  background: #f2f8ff;
  padding: 60px 20px;
  text-align: center;
}
.why-deopay h2 {
  color: #005edc;
  margin-bottom: 30px;
}
.why-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.why-item {
  background: white;
  padding: 18px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  font-weight: 600;
  color: #005edc;
}

/* Login & Register Styles */
/* Make login page use full height */
body.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: linear-gradient(to bottom, #f0f4f8, #e4e9ef);
}

/* Push main content to center */
.auth-main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

/* Auth box refined */
.auth-container {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.auth-container input {
  width: 100%;
  margin: 12px 0;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.auth-container button {
  width: 100%;
  padding: 12px;
  background-color: #005edc;
  color: white;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.auth-container button:hover {
  background-color: #004bb5;
}

.auth-container .error-msg {
  color: red;
  font-size: 0.9rem;
  margin-top: 10px;
}

.auth-container .bottom-text {
  margin-top: 20px;
  font-size: 14px;
}

.auth-container .bottom-text a {
  color: #005edc;
  text-decoration: none;
  font-weight: 500;
}

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


/* Navbar */
.navbar {
  background-color: #ffffff;
  padding: 16px 24px;
  border-bottom: 1px solid #ddd;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #005edc;
  text-decoration: none;
}

.nav-links a,
.nav-links .btn-light-sm {
  margin-left: 20px;
  color: #005edc;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav-links .btn-light-sm:hover {
  color: #29caff;
}

/* Dashboard Section */
.dashboard {
  padding: 40px 20px;
  text-align: center;
}

.dashboard h2 {
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.dashboard-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  max-width: 900px;
  margin: 0 auto;
}

.card {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  font-size: 1.4rem;
  font-weight: bold;
  color: #005edc;
}

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.modal.hidden {
  display: none;
}
.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-family: 'Outfit', sans-serif;
}
.modal-content h3 {
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 600;
}
.info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}
.info-row label {
  font-weight: 600;
}
.code-text {
  font-family: monospace;
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 4px;
}
.button-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}
.btn-copy, .btn-close {
  padding: 8px 14px;
  background-color: #007bff;
  color: white;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}
.btn-copy:hover, .btn-close:hover {
  background-color: #0056b3;
}

.form-group {
  margin-bottom: 14px;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.btn-withdraw {
  margin-top: 10px;
  padding: 6px 12px;
  background-color: #28a745;
  color: white;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}
.btn-withdraw:hover {
  background-color: #1e7e34;
}


footer {
  background: linear-gradient(135deg, #29caff, #005edc);
  color: white;
  text-align: center;
  padding: 24px 10px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

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

  .section-title {
    font-size: 1.6rem;
  }
}
