/* Reset */
* {
  box-sizing: border-box;
}

/* Typography */
html, body {
  margin: 0;
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: #e2e8f0;
}

h1 {
  font-weight: 750;
  font-size: 1.1rem;
  color: #1D1473;
  font-style: italic;
  margin: 0;
}

/* Layout */
body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}

.container {
  background: white;
  max-width: 700px;
  width: 100%;
  padding: 2rem 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Logo */
.logo {
  width: 250px;
  height: 250px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Link list grid */
.link-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  max-width: 500px;
  width: 100%;
}

.link-list li {
  width: 100%;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #1D1473;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  user-select: none;
  background: none;
  transition: color 0.3s ease;
  width: 100%;
}

.link-list a:hover {
  color: #005bb5;
}

/* Icon style */
.link-icon {
  width: 20px;
  height: 20px;
  fill: #1D1473;
  stroke: #1D1473;
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 1;
}

/* Footer */
footer {
  width: 100%;
  max-width: 700px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 520px) {
  .link-list {
    grid-template-columns: 1fr;
    max-width: 300px;
  }
}

/* Reset */
* {
  box-sizing: border-box;
}

/* Base styles */
html, body {
  margin: 0;
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: #e2e8f0;
}

/* Body layout */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 2rem 1rem;
  align-items: center;
}

/* Container */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  max-width: 850px;
  width: 100%;
  padding: 2rem 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  gap: 3rem;
}

/* Page title */
h1.page-title {
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
  color: #1D1473;
  margin: 0;
  text-align: center;
  width: 100%;
}

/* Form row */
.form-row {
  display: flex;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

/* Logo */
.form-logo {
  width: 250px;
  height: 250px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Form layout */
form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

/* Labels */
label {
  font-weight: 600;
  color: #1D1473;
  font-size: 1rem;
}

/* Inputs & textarea */
input[type="text"],
input[type="email"],
textarea {
  padding: 0.6rem 0.8rem;
  font-size: 1rem;
  border: 1.5px solid #1D1473;
  border-radius: 8px;
  font-family: 'Inter', Arial, sans-serif;
  resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: #005bb5;
  box-shadow: 0 0 5px rgba(0, 91, 181, 0.5);
}

textarea {
  min-height: 100px;
}

/* Submit button */
button {
  background-color: #1D1473;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Inter', Arial, sans-serif;
  align-self: center;
  margin-top: 0.5rem;
  min-width: 120px;
}

button:hover {
  background-color: #005bb5;
}

/* Footer */
footer {
  width: 100%;
  max-width: 700px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 700px) {
  .container {
    padding: 2rem 1.5rem;
  }

  .form-row {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .form-logo {
    width: 140px;
    height: 140px;
  }

  form {
    width: 100%;
  }

  button {
    width: 100%;
    min-width: unset;
    padding: 0.75rem 0;
    text-align: center;
  }
}

/* Body layout */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #e2e8f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 2rem 1rem;
}

/* Main container */
.centered-page.container {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Logo */
.logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto;
}

/* Title */
.page-title {
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem;
  color: #1D1473;
  margin: 0;
}

/* Button row */
.button-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Buttons */
.primary-button {
  display: inline-block;
  background-color: #1D1473;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  min-width: 120px;
  text-align: center;
}

.primary-button:hover {
  background-color: #005bb5;
}

/* Footer */
footer {
  width: 100%;
  max-width: 700px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 2rem;
}