/* =================================================
   Register Page – Beige / Black / Grey Theme
   ================================================= */

:root{
  --bg: #f4efe6;
  --bg2: #e9e1d6;
  --text: #111;
  --muted: rgba(17,17,17,0.65);
  --border: rgba(0,0,0,0.14);

  --panel: rgba(255,255,255,0.90);
  --shadow: 0 18px 45px rgba(0,0,0,0.16);

  --black: #111;
  --gray: #6b6b6b;
  --beige: #f4efe6;

  --radius: 16px;
  --radius2: 22px;
}

/* Reset */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body{
  height: 100%;
}

body{
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg), var(--bg2));
  line-height: 1.6;
}

/* =================================================
   Register Section
   ================================================= */

.register-section{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
}

.register-container{
  width: 100%;
  max-width: 520px;
  background: var(--panel);
  border-radius: var(--radius2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 34px 30px 30px;
}

/* Header */
.register-container h1{
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--black);
}

.register-subtitle{
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 26px;
}

/* =================================================
   Form
   ================================================= */

.register-form{
  display: grid;
  gap: 16px;
}

.form-group{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label{
  font-size: 13px;
  font-weight: 700;
  color: rgba(17,17,17,0.75);
}

.form-group input{
  padding: 14px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.95);
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input::placeholder{
  color: rgba(17,17,17,0.45);
}

.form-group input:focus{
  border-color: rgba(0,0,0,0.40);
  box-shadow: 0 0 0 4px rgba(0,0,0,0.08);
}

/* =================================================
   Button
   ================================================= */

.btn{
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  padding: 14px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-primary{
  background: linear-gradient(180deg, #1b1b1b, #0e0e0e);
  color: var(--beige);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.btn-primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.btn-primary:active{
  transform: translateY(0);
  opacity: 0.94;
}

/* =================================================
   Login Link
   ================================================= */

.login-link{
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}

.login-link a{
  color: var(--black);
  font-weight: 800;
  text-decoration: none;
}

.login-link a:hover{
  text-decoration: underline;
}


@media (max-width: 480px){
  .register-container{
    padding: 28px 20px 26px;
  }

  .register-container h1{
    font-size: 26px;
  }
}
