/* Background full screen*/
body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  height: 100vh;
  background: url('stefan-stefancik-unsplash2.jpg') left center/cover no-repeat;
  display: flex;
}

/* Container divided by two */
.container {
  display: flex;
  flex: 1;
}

/* --- Left side --- */
.left-side {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;   /* logo ja credit vertically aligned in the middle */
  align-items: center;
  padding: 30px 20px;
}

.logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px 30px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.logo {
  width: 100px;
  margin-bottom: 10px;
}

.logo-box h1 {
  font-size: 2rem;
  color: white;
  margin: 0;
}

.credit {
  font-size: 0.8rem;
  color: rgba(87, 68, 68, 0.85);
  text-align: center;
}

/* --- Right side --- */
.form-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
}

.form-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  padding: 40px 50px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  width: 100%;
  max-width: 520px;
  color: #fff;
}

/* Intro */
.intro {
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.4;
  color: #fff;
}

.signup-form h2 {
  margin-bottom: 20px;
  font-size: 1.4rem;
  color: #fff;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  align-items: center;
  gap: 15px;
}

.form-field label {
  flex: 0 0 120px; /* all labels to have same width*/
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
}

.form-field input {
  flex: 1;
  padding: 12px 10px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  background: rgba(255,255,255,0.25);
  color: #fff;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.form-field input::placeholder {
  color: rgba(255,255,255,0.7);
}

.form-field input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.5);
  outline: none;
}

.form-field input:invalid {
  border-color: #ef4444;
}

/* Button */
.create-account {
  margin-top: 15px;
  padding: 14px;
  width: 100%;
  background: #596d48;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  animation: none;
}

.create-account:hover {
  background: #4a5d3d;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 93, 61, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(74, 93, 61, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(74, 93, 61, 0); }
}

.login-text {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #fff;
  text-align: center;
}

.login-text a {
  color: #5069b5;        /* blueish */
  text-decoration: none; /* removes underline */
  font-weight: 600;
  transition: color 0.2s ease;
}

.login-text a:hover {
  color: #245afd;       /* brighter blue hover */
  text-decoration: underline;
}
