@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600&display=swap");

/* ================= THEME ================= */
:root {
  --primary: #ff8c00;
  --primary-dark: #140c09;
  --primary-light: #ffa94d;

  --bg-start: #ff8c00;
  --bg-mid: #ff4500;
  --bg-end: #a72500;
  
--btn-deposit: #3b82f6;
--btn-withdraw: #a72500;
--btn-history: #140c09;
--btn-team: #16a34a;
--text-color: #ffffff;
--bg-warning: #ffa94d;
--bg-input: #b24903;
  --glow: rgba(255,140,0,0.7);
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

a:hover {
  color: var(--text-color);
}

/* ================= BODY ================= */
html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;

  min-height: 100vh;

  font-family: 'Poppins', sans-serif;
  color: var(--text-color);

  background: radial-gradient(circle at top, var(--bg-start), var(--bg-mid), var(--bg-end));

  overflow-x: hidden;
  overflow-y: auto;

  position: relative;

  animation: fadeIn 0.3s ease;
}

/* background glow */
body::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--glow), transparent);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* ================= LAYOUT ================= */
.app {
  width: 460px;
  padding: 20px;
  z-index: 2;
}

/* ================= CARD ================= */
.card {
  background: var(--primary);
  backdrop-filter: blur(18px);
  border-radius: 26px;
  padding: 35px 28px;
  border: 1px solid var(--primary-light);
  box-shadow: 0 25px 60px var(--primary-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* glow */
.card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--glow), transparent);
  top: -60px;
  right: -60px;
  pointer-events: none;
}

/* ================= ICON ================= */
.icon {
  width: 75px;
  height: 75px;
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 28px;
  margin-bottom: 18px;
  box-shadow: 0 0 20px var(--glow);
}

/* ================= TEXT ================= */
.title {
  font-size: 22px;
  font-weight: 600;
}

.subtitle {
  font-size: 13px;
  opacity: .8;
  margin-bottom: 25px;
}

/* ================= INPUT ================= */
.input-group {
  background: var(--bg-input);
  border: 1px solid var(--primary-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-bottom: 15px;
}

.input-group i {
  color: var(--primary-light);
  margin-right: 10px;
}

.input-group input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-color);
  width: 100%;
}

/* ================= BUTTON ================= */
.btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 30px;
   background: radial-gradient(circle, var(--primary-dark), transparent);
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: .3s;
}

.btn:hover {
  box-shadow: 0 0 15px var(--glow);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

/* ================= BUTTON LOADING ================= */
.btn.btn-loading span {
  visibility: hidden;
}

.btn.btn-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-color);
  border-top: transparent;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ================= LINKS ================= */
.signup, .login-link {
  margin-top: 15px;
  font-size: 13px;
}

.signup a, .login-link a {
  color: var(--primary-light);
}

/* ================= ALERT ================= */
.alert {
  color: var(--primary-light);
}

/* ================= FEATURES ================= */
.features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature {
  font-size: 11px;
  text-align: center;
}

.feature i {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--primary-light);
}



/* ================= SIDEBAR restrt ================= */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;

  width: 260px;
  height: 100%;

  background: var(--primary-dark);
  backdrop-filter: blur(16px);

  transition: 0.3s;
  z-index: 9999;

  display: flex;
  flex-direction: column;
}

/* ACTIVE */
.sidebar.active {
  left: 0;
}

/* ================= HEADER ================= */
.sidebar-header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  border-bottom: 1px solid var(--primary);
}

.sidebar-header h3 {
  font-size: 16px;
}

.sidebar-header button {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-color);
}

/* ================= MENU ================= */
.sidebar-menu {
  padding: 10px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px;
  border-radius: 10px;

  color: var(--text-color);
  text-decoration: none;
  font-size: 13px;

  transition: 0.3s;
}

.sidebar-menu a i {
  width: 18px;
}

/* HOVER */
.sidebar-menu a:hover {
  background: var(--bg-end);
}

/* LOGOUT */
.sidebar-menu .logout {
  margin-top: 10px;
 background: linear-gradient(135deg, var(--primary), var(--primary-end));
}

/* ================= SAVED USERS ================= */
.saved-user {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: var(--btn-history);
}

.saved-user button {
  background: var(--primary);
  border: none;
  color: var(--text-color);
  border-radius: 6px;
  padding: 4px 8px;
}

/* ================= PREVIEW IMAGE ================= */
.preview-img {
  width: 120px;
  display: none;
  margin: 10px auto;
  border-radius: 10px;
}