:root {
  --primary: #70F7DF;
  --secondary: #38BBAF;
  --danger: #ff4d4d;
}

/* ================= BASE ================= */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--primary);
  color: black;
}

/* ================= LANDING ================= */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 40px;
}

.footer {
  text-align: center;
  margin-top: 120px;
  padding-bottom: 30px;
  font-size: 14px;
  opacity: 0.7;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding: 40px 80px;
  background: white;
  border-radius: 70px;
}

.name {
  font-size: 25px;
  font-weight: bold;
}

.nav {
  display: flex;
  gap: 12px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 90px;
  gap: 80px;
}

.hero-img {
  width: 420px;
  height: 420px;
  border-radius: 35px;
  object-fit: cover;
}

.hero-text {
  max-width: 650px;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 15px;
}

.desc {
  font-size: 18px;
  line-height: 1.4;
  max-width: 520px;
}

/* ================= BUTTONS ================= */
.btn {
  padding: 14px 26px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: 0.3s;
  display: inline-block;
}

.dark {
  background: black;
  color: white;
}

.dark:hover {
  background: #333;
}

.gray {
  background: #777;
  color: white;
}

.gray:hover {
  background: #555;
}

/* GLOBAL BUTTON (dashboard only safe) */
button {
  padding: 10px 15px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

/* ================= AUTH ================= */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.box {
  background: white;
  padding: 35px;
  border-radius: 20px;
  width: 320px;
  text-align: center;
}

.auth-page input {
  width: 100%;
  max-width: 260px;
  padding: 12px;
  margin: 8px 0;
  border-radius: 10px;
  border: 1px solid #ccc;
  text-align: center;
}

/* ================= DASHBOARD ================= */
.dashboard {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  background: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.main {
  flex: 1;
  padding: 30px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  max-width: 750px;
}

input {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  border-radius: 10px;
  border: 1px solid #ccc;
}

/* ================= LINKS ================= */
.link {
  background: #f4f4f4;
  padding: 10px;
  border-radius: 10px;
  margin-top: 8px;
}

/* ================= STATUS ================= */
.pub {
  color: green;
  font-weight: bold;
}

.nopub {
  color: red;
  font-weight: bold;
}

/* ================= MODAL ================= */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hidden {
  display: none;
}

/* ================= ACTION COLORS ================= */
.cancel {
  background: #ccc;
}

.submit {
  background: black;
  color: white;
}

.danger {
  background: var(--danger);
  color: white;
}