/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* FULL SCREEN BACKGROUND */
html, body {
  width: 100%;
  min-height: 100%;
}

body {
  background: url("../images/bg1.jpg") no-repeat center center fixed;
  background-size: cover;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #fff;
  position: relative;
}

/* DARK OVERLAY */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;              /* 🔥 LOWER THAN UI */
  pointer-events: none;   /* 🔥 ALLOW CLICKS */
}


/* APP WRAPPER */
.dashboard,
.app {
  max-width: 420px;
  margin: auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

/* CARD */
.card {
  background: rgba(15,15,20,0.92);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  border: 1px solid rgba(255,255,255,0.08);
}

/* BUTTONS */
.btn {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg,#ff2d55,#ff6a00);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

.btn-outline {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid #ff2d55;
  color: #ff2d55;
}

/* INPUTS */
input, select {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: none;
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 12px;
}

input::placeholder {
  color: rgba(255,255,255,0.6);
}
.app,
.dashboard,
.card,
.chat-container,
.auth-card {
  position: relative;
  z-index: 2;
}

.chat-input {
  position: relative;
  z-index: 3;
}

