/* Import modern English font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Public pages (Login, Register, Index) */
body {
  background: #0d1117;
  font-family: "Inter", sans-serif;     /* Modern English font */
  direction: ltr;                       /* Left-to-right */
  color: #e6edf3;
  margin: 0;
  padding: 0;
  text-align: left;                     /* Left aligned */
}

/* AUTH CONTAINER */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.auth-box {
  background: #161b22;
  padding: 40px 35px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  max-width: 400px;
  width: 100%;
}

.auth-box h2 {
  text-align: center;
  margin-bottom: 25px;
  color: #58a6ff;
  font-weight: 600;
}

/* Form */
.auth-form .form-group {
  margin-bottom: 20px;
}

.auth-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #c9d1d9;
}

.auth-form input {
  width: 100%;
  padding: 10px;
  background: #0d1117;
  border: 1px solid #30363d;
  border-radius: 4px;
  color: #f0f6fc;
  font-family: "Inter", sans-serif;
}

.auth-form input:focus {
  outline: none;
  border-color: #58a6ff;
}

/* Buttons */
.btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
  font-family: "Inter", sans-serif;
}

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

.primary-btn:hover {
  background: #2ea043;
}

/* Footer */
.auth-footer {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
}

.auth-footer a {
  color: #58a6ff;
  text-decoration: none;
}

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

/* HOME PAGE (index.html) */
.hero-container {
  position: relative;
  background: url('/static/img/mining-bg.jpg') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-container .overlay {
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  text-align: center;
  color: #e6edf3;
  z-index: 2;
  max-width: 600px;
  padding: 0 20px;
  direction: ltr;        /* Make sure text stays LTR */
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #f0f6fc;
  font-weight: 600;
}

.hero-content p {
  font-size: 1rem;
  color: #b1bac4;
  margin-bottom: 25px;
}

.hero-buttons .btn {
  width: 220px;
  margin: 8px;
}

.hero-buttons .login-btn {
  background: #21262d;
  color: #58a6ff;
}

.hero-buttons .login-btn:hover {
  background: #30363d;
}
