/* Application page - simple black and white professional */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #000000;
  font-family: 'Noto Sans Display', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.application-main {
  min-height: 100vh;
  padding: 0 24px 80px;
}

.application-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 0 24px;
  border-bottom: 1px solid #e0e0e0;
}

.application-title {
  margin: 0;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.application-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.application-container {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 24px;
}

.application-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #000000;
}

.application-intro {
  margin: 0;
  font-size: 15px;
  color: #333333;
  line-height: 1.6;
}

.application-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.application-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.application-form label {
  font-size: 15px;
  font-weight: 400;
  color: #000000;
}

.application-form textarea,
.application-form input[type="text"],
.application-form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #000000;
  background: #ffffff;
  border: 1px solid #000000;
  border-radius: 4px;
  resize: vertical;
  min-height: 100px;
}

.application-form input[type="email"],
.application-form input[type="text"] {
  min-height: unset;
  resize: none;
}

.application-form textarea::placeholder,
.application-form input::placeholder {
  color: #888888;
}

.application-form textarea:focus,
.application-form input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.application-form textarea.error,
.application-form input.error {
  border-color: #dc3545;
  box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.4), 0 0 12px rgba(220, 53, 69, 0.3);
}

.form-actions {
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.submit-btn {
  display: block;
  width: 100%;
  max-width: 280px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 400;
  font-family: 'Noto Sans Display', sans-serif;
  color: #ffffff;
  background: #000000;
  border: 1px solid #000000;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.submit-btn:hover {
  background: #333333;
  border-color: #333333;
}

.submit-btn:disabled {
  background: #999999;
  border-color: #999999;
  cursor: not-allowed;
}

.form-message {
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 4px;
  border: 1px solid #000000;
}

.form-message.success {
  background: #f5f5f5;
  color: #000000;
}

.form-message.error {
  background: #ffffff;
  color: #000000;
}

@media (max-width: 640px) {
  .application-main {
    padding: 0 20px 60px;
  }

  .application-topbar {
    padding: 24px 0 20px;
  }

  .application-title {
    font-size: 22px;
  }

  .application-logo {
    height: 36px;
  }

  .application-form {
    gap: 28px;
  }

  .submit-btn {
    max-width: 100%;
  }
}
