* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  min-height: 100vh;
}

.header {
  background-color: #0c3b5d;
  padding: 18px 30px;
  display: flex;
  align-items: center;
}

.header img {
  display: block;
  height: 50px;
}

.container {
  max-width: 580px;
  margin: 40px auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

h1,
h2 {
  color: #0c3b5d;
  margin-bottom: 8px;
}

h1 {font-size: 1.5rem;}

@media (min-width: 768px) {
  h1 {font-size: 2rem;}
}
h2 {font-size: 1.2rem;}

@media (min-width: 768px) {
  h2 {font-size: 1.5rem;}
}
p { font-size: 1rem;}

.subtitle {
  color: #666;
  font-size: 14px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #0c3b5d;
}

.field-error {
  color: #c0392b;
  font-size: 14px;
}

.field-error:not(:empty) {
  margin-top: 6px;
}

input[type][aria-invalid="true"],
.drop-zone:has(input[aria-invalid="true"]) {
  border-color: #c0392b;
}

.error-summary {
  background-color: #fdecea;
  border: 2px solid #c0392b;
  border-radius: 5px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.error-summary h2 {
  color: #c0392b;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.error-summary ul {
  padding-left: 20px;
  color: #c0392b;
}

.error-summary li {
  margin-bottom: 4px;
}

.error-summary a {
  color: #c0392b;
  font-weight: bold;
}

/* Two-tone focus ring: dark blue ring with a light blue outer outline.
   The thin white inner ring keeps the dark ring visible on navy backgrounds. */
:focus-visible,
.drop-zone:has(input[type="file"]:focus-visible) {
  outline: 3px solid #7cc4f0;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #0c3b5d;
}

.drop-zone {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #fafafa;
  position: relative;
}

.drop-zone:hover,
.drop-zone.dragover {
  border-color: #0c3b5d;
  background-color: #f0f5fa;
}

.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.drop-icon {
  color: #0c3b5d;
  margin-bottom: 10px;
}

.drop-icon svg {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto;
}

.drop-zone p {
  color: #555;
  font-size: 14px;
  margin-bottom: 4px;
}

.drop-zone .hint {
  color: #555555;
  font-size: 12px;
}

.file-list {
  margin-top: 12px;
  text-align: left;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0f5fa;
  border-radius: 5px;
  padding: 8px 12px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #333;
}

.file-item .remove {
  cursor: pointer;
  color: #999;
  font-size: 16px;
  line-height: 1;
  margin-left: 10px;
}

.file-item .remove:hover {
  color: #c00;
}

.submit-btn {
  width: 100%;
  padding: 13px;
  background-color: #0c3b5d;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #0a2f4a;
}

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

.progress-bar-wrap {
  display: none;
  background: #e0e0e0;
  border-radius: 5px;
  height: 10px;
  margin-top: 16px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background-color: #0c3b5d;
  width: 0%;
  transition: width 0.3s;
}

.status-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 5px;
  font-size: 14px;
  display: none;
}

.status-message.success {
  background-color: #e6f4ea;
  color: #2d7a3a;
  border: 1px solid #b7dfbe;
}

.status-message.error {
  background-color: #fdecea;
  color: #c0392b;
  border: 1px solid #f5c6c2;
}

.form-notes {
  width: 100%;
}

.label-example{
  font-size:.9rem;
  display:block;
  font-weight:400;
}