
* {
  box-sizing: border-box;
}


/* =====================
   FEEDBACK MESSAGES
===================== */
.error {
  color: #ff5c5c;
  margin-bottom: 15px;
}

.success {
  color: #4dff9a;
  margin-bottom: 15px;
}

/* =====================
   GLOBAL
===================== */
body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #121212 0%, #000 70%);
  display: flex;
  align-items: center;
  justify-content: center;

  color: #e6e6e6;
  font-family: "Trebuchet MS", Arial, sans-serif;
}

/* =====================
   LOGIN CONTAINER
===================== */
.loginform {
  width: 90%;
  display: grid;
  place-items: center; /* 👈 THIS centers the form */
}


.loginform form {
  width: 420px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;

  background: linear-gradient(
    145deg,
    rgba(18, 18, 18, 0.9),
    rgba(10, 10, 10, 0.95)
  );

  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.9);
}

/* =====================
   INPUTS
===================== */
input {
  width: 100%;
  padding: 14px 16px;

  background: rgba(0, 0, 0, 0.6);
  color: #fff;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;

  font-size: 15px;
  outline: none;

  transition: border-color 0.25s ease,
              box-shadow 0.25s ease,
              background-color 0.25s ease;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

input:focus {
  background: rgba(0, 0, 0, 0.8);
  border-color: #2efff8;
  box-shadow: 0 0 12px rgba(46, 255, 248, 0.3);
}

/* =====================
   BUTTON
===================== */
button {
  width: 100%;
  padding: 14px 16px;

  background-color: #000000;
  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;

  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;

  cursor: pointer;
  position: relative;
  overflow: hidden;

  transition: transform 0.2s ease,
              box-shadow 0.2s ease;
}



button:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}


button:active {
  transform: scale(0.98);
}
