/* form.css - registration & login */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f172a, #0ea5e9);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-wrap {
  background: #fff;
  width: 420px;
  padding: 36px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(2,6,23,0.5);
  text-align: center;
}

.form-wrap h2 { margin: 0 0 18px; color: #0f172a; }

.form input[type="text"],
.form input[type="email"],
.form input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #e6e9ee;
  font-size: 14px;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg,#06b6d4,#0ea5e9);
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
  text-decoration: none;
}

.msg { padding: 10px; border-radius: 8px; margin-bottom: 10px; }
.msg.error { background: #ffe7e7; color: #9b1c1c; }
.msg.success { background: #e6ffef; color: #0b6b3a; }

/* Upload-looking button */
.upload-box { margin: 12px 0; text-align: left; }
.upload-label {
  display: block;
  border: 2px dashed #0ea5e9;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
  color: #0369a1;
  font-weight: 600;
  transition: background .2s, box-shadow .2s, transform .05s;
}
.upload-label:hover { background: #f0fcff; box-shadow: 0 6px 20px rgba(14,165,233,0.12); transform: translateY(-2px); }
.upload-label .file-input { display: none; }
.upload-label .upload-text { display: block; font-size: 15px; }
.upload-hint { display: block; color: #6b7280; font-size: 12px; margin-top: 6px; }
.foot { margin-top: 14px; color: #334155; font-size: 14px; }
.foot a { color: #0ea5e9; text-decoration: none; font-weight: 600; }
