/* Arcadia Renewables Auth Theme */
/* Navy blue, white, and red - Modern Outline */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f9;
  color: #071a3d;
  min-height: 100vh;
}

header {
  background: #071a3d;
  color: white;
  padding: 28px 20px;
  text-align: center;
  border-bottom: 5px solid #c1121f;
}

header h1 {
  margin: 0 0 8px;
  font-size: 32px;
}

header p {
  margin: 0;
  font-size: 16px;
}

main {
  min-height: calc(100vh - 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.auth-card {
  width: 100%;
  max-width: 460px;
  background: white;
  border: 1px solid #d8deea;
  border-radius: 14px;
  padding: 32px;
  box-shadow: 0 8px 28px rgba(7, 26, 61, 0.10);
}

.auth-card.small {
  max-width: 420px;
}

.auth-card h2 {
  margin: 0 0 10px;
  color: #071a3d;
  border-bottom: 3px solid #c1121f;
  padding-bottom: 12px;
  font-size: 26px;
}

.subtitle,
.auth-card p {
  color: #555;
  line-height: 1.5;
}

.subtitle {
  margin: 0 0 26px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #071a3d;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px;
  font-size: 16px;
  margin-bottom: 18px;
  border-radius: 6px;
  border: 2px solid #071a3d;
  background: white;
  color: #071a3d;
  font-family: Arial, sans-serif;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #c1121f;
  box-shadow: 0 0 0 3px rgba(193, 18, 31, 0.12);
}

.auth-button,
button {
  width: 100%;
  background: transparent;
  color: #071a3d;
  border: 2px solid #071a3d;
  padding: 13px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.auth-button:hover,
button:hover {
  background: #071a3d;
  color: white;
}

.auth-button.red {
  border-color: #c1121f;
  color: #c1121f;
}

.auth-button.red:hover {
  background: #c1121f;
  color: white;
}

.forgot-row {
  text-align: right;
  margin-top: -8px;
  margin-bottom: 22px;
}

.forgot-row a,
.auth-link {
  color: #c1121f;
  font-weight: bold;
  text-decoration: none;
}

.forgot-row a:hover,
.auth-link:hover {
  text-decoration: underline;
}

.auth-divider {
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #d8deea;
}

.auth-divider p {
  margin: 0 0 10px;
}

.back-home {
  text-align: center;
  margin-top: 20px;
}

.back-home a {
  color: #071a3d;
  text-decoration: none;
  font-weight: bold;
}

.back-home a:hover {
  color: #c1121f;
}

.message {
  padding: 12px 14px;
  border-radius: 6px;
  margin-bottom: 18px;
  line-height: 1.5;
}

.message.success {
  background: #eef8f1;
  border: 1px solid #b7dfc2;
  color: #145c2e;
}

.message.error {
  background: #fff0f1;
  border: 1px solid #efb5bb;
  color: #8d0f19;
}

.message.info {
  background: #eef2f8;
  border: 1px solid #b9c3d5;
  color: #071a3d;
}

@media (max-width: 520px) {
  header h1 {
    font-size: 26px;
  }

  main {
    padding: 28px 16px;
    align-items: flex-start;
  }

  .auth-card {
    padding: 24px;
  }
}
