body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f5f7fb;
    margin: 0;
    padding: 0;
    color: #111827;
}

.app-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 24px 28px 40px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(15,23,42,0.12);
}

h1 {
    margin-top: 0;
    font-size: 28px;
    font-weight: 700;
    color: #111827;
}

h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

h3 {
    font-size: 18px;
    margin-top: 16px;
    margin-bottom: 8px;
}

.brand-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-top: -4px;
    margin-bottom: 12px;
}

.brand-disclaimer {
    font-size: 10px;
    color: #9ca3af;
    margin-top: 4px;
    line-height: 1.5;
}

.step-indicator {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 16px 0 24px;
}

.step-indicator .step {
    padding: 10px 8px;
    text-align: center;
    border-radius: 999px;
    background: #e5e7eb;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
}

.step-indicator .step.active {
    background: #111827;
    color: #f9fafb;
}

.form-step { display: none; }
.form-step.active { display: block; }

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 4px;
    color: #111827;
}

input[type="text"],
input[type="email"],
input[type="date"],
select,
textarea {
    padding: 8px 9px;
    border-radius: 9px;
    border: 1px solid #d1d5db;
    font-size: 13px;
    outline: none;
    transition: all .15s ease;
    background: #f9fafb;
}

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

input:focus,
select:focus,
textarea:focus {
    border-color: #111827;
    background: #ffffff;
    box-shadow: 0 0 0 1px rgba(17,24,39,0.05);
}

.alert-success {
  margin-top: 20px;
  padding: 15px;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  color: #065f46;
  font-size: 15px;
  line-height: 1.5;
}


.btn-primary,
.btn-secondary {
    border: none;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.btn-primary {
    background: #111827;
    color: #f9fafb;
}

.btn-secondary {
    background: #e5e7eb;
    color: #111827;
}

.btn-primary:hover { opacity: 0.92; }
.btn-secondary:hover { background: #d1d5db; }

.applicant-block {
    padding: 16px 14px;
    margin: 10px 0;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.form-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    gap: 10px;
    flex-wrap: wrap;
}

.note {
    font-size: 11px;
    color: #6b7280;
    margin-top: 6px;
}

@media (max-width: 992px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
    .grid-4 { grid-template-columns: 1fr; }
    .app-container {
        margin: 12px;
        padding: 16px;
    }
}
