/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
  color: #333;
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 900px;
  padding: 0;
}

/* Card */
.card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 60px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15), 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Logo */
.logo-container {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  flex-wrap: nowrap;
}

.logo {
  max-width: 340px;
  height: auto;
  object-fit: contain;
}

/* Content */
.content {
  flex: 1;
  text-align: left;
}

/* Typography */
h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
  letter-spacing: -0.5px;
}

p {
  font-size: 15px;
  color: #666;
  margin-bottom: 28px;
  line-height: 1.5;
}

/* Form */
.form-group {
  margin-bottom: 16px;
  text-align: left;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #444;
}

input,
select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #f9f9f9;
}

input:focus,
select:focus {
  border-color: #222; /* Black/Dark focus for high contrast premium feel */
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.row {
  display: flex;
  gap: 12px;
}

.form-group.half {
  flex: 1;
}

/* Button */
.cta-button {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background-color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  margin-top: 8px;
}

.cta-button:hover {
  background-color: #222;
}

.cta-button:active {
  transform: scale(0.98);
}

.feedback {
  margin-top: 12px;
  font-size: 13px;
  min-height: 18px;
}
.error {
  color: #d32f2f;
}
.success {
  color: #2e7d32;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  body {
    background: #ffffff;
    padding: 0;
    align-items: flex-start;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .card {
    padding: 35px 25px;
    box-shadow: none;
    border-radius: 0;
    flex-direction: column;
    gap: 30px;
    min-height: 100vh;
    justify-content: center;
  }

  .logo-container {
    margin-bottom: 0;
  }

  .logo {
    max-width: 200px;
  }

  .content {
    text-align: center;
  }

  h1 {
    font-size: 24px;
    margin-bottom: 8px;
  }

  p {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .form-group {
    text-align: left;
  }
}
