/** @format */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap");

* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top, #2a2a72, #0f0c29);
  margin: 0;
  color: #ffffff;
}

/* ---------- LOGIN ---------- */

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.card {
  width: 360px;
  padding: 35px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.card h2 {
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: 1px;
}

input {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  font-weight: 600;
  color: #000;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.5);
}

.error {
  color: #ff9c9c;
  margin-top: 10px;
}

/* ---------- NAVBAR ---------- */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

.navbar h2 {
  font-weight: 700;
}

.navbar a {
  color: #00f2fe;
  text-decoration: none;
  font-weight: 600;
}

/* ---------- TABS ---------- */

.tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 30px 0;
}

.tabs button {
  width: auto;
  padding: 12px 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 500;
}

.tabs button:hover {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  color: #000;
}

/* ---------- CONTENT ---------- */

.container {
  padding: 0 40px 40px;
}

.tab-content {
  animation: fadeIn 0.4s ease;
  background: rgba(255, 255, 255, 0.12);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.tab-content h3 {
  margin-bottom: 20px;
  font-weight: 600;
}

/* ---------- TABLE ---------- */

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  padding: 12px;
  color: #00f2fe;
  font-weight: 600;
}

td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* ---------- WALLET ---------- */

.wallet-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.balance {
  font-size: 28px;
  font-weight: 700;
  color: #00f2fe;
}

/* ---------- ANIMATION ---------- */

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
