* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}
body { 
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; 
    background: #f4f7fd; 
    color: #1b2430; 
    line-height: 1.4; 
    padding: 20px; 
    margin: 0; 
}
.app-shell { 
    display: grid; 
    grid-template-columns: 1fr 1.35fr; 
    min-height: 100vh; 
    width: min(1200px, 100%); 
    margin: 0 auto; 
    background: #fff; 
    border-radius: 16px; 
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    overflow: hidden;
}
.left-panel { 
    background-image:
      linear-gradient(180deg, rgba(233,114,69,0.35), rgba(0,0,0,0.85)),
      url('staff.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.right-panel {
    padding: 20px;
    min-height: 100vh;
    background: #f9fbff;
}
.page-wrap { 
    width: 100%; 
    max-width: 820px; 
    margin: 0 auto;
    background: #fff; 
    border-radius: 14px; 
    box-shadow: 0 6px 18px rgba(0,0,0,0.07); 
    padding: 24px; 
}
header { 
    margin-bottom: 18px; 
}
@media (max-width: 980px) {
  .app-shell { grid-template-columns: 1fr; }
  .left-panel { min-height: 220px; }
  .right-panel { padding: 12px; }
}

header h1 { 
    font-size: 1.65rem; 
    margin-bottom: 6px; 
    color: #0d1d3f; 
    
}
header p { 
    color: #4b5563; 
    
}
form { 
    display: grid; gap: 14px; 
    
}
.steps-indicator { 
    display: flex; gap: 8px; 
    margin-bottom: 8px; 
    
}
.step-pill { 
    border: 1px solid #e5e7eb; 
    border-radius: 999px; 
    padding: 6px 10px; 
    font-size: 0.8rem; 
    color: #374151; 
    background: #fff; 
    
}
.step-pill.active { 
    background: #e97245; 
    color: #fff; 
    border-color: #e97245; 
    
}
.step {
  visibility: hidden;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.step.active-step {
  visibility: visible;
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.card { 
    border: 1px solid #e5e7eb; 
    border-radius: 10px; 
    padding: 14px 16px; 
    background: #fff; 
    
}
.card h2 { 
    font-size: 1rem; 
    margin-bottom: 10px; 
    color: #112f62; 
    
}
label { 
    margin-top: 10px; 
    display: block; 
    font-weight: 600; 
    font-size: 0.94rem; 
    color: #1f2937; 
    
}
input[type=text], input[type=email], input[type=tel], input[type=number], select, input[type=file] { width: 100%; margin-top: 5px; padding: 10px 10px; border: 1px solid rgba(233,114,69,0.2); border-radius: 8px; background: #fff; font-size: 0.95rem; }
input[type=text]:focus, input[type=email]:focus, input[type=tel]:focus, input[type=number]:focus, select:focus { outline: none; border-color: #e97245; box-shadow: 0 0 0 3px rgba(233,114,69,0.15); }
.grid-3 { 
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; 
    margin-top: 6px; 
    
}
.grid-3 label { 
    border: 1px solid #d1d5db; 
    border-radius: 8px; 
    padding: 9px; 
    font-weight: 500; 
    background: #f9fbff; 
    cursor: pointer; 
    display: flex; 
    align-items: center; gap: 8px; 
    
}
.grid-3 input { 
    transform: translateY(1px); 
    
}
.actions { 
    text-align: right; 
    padding: 2px; 
    
}
button { 
    border: none; 
    border-radius: 9px; 
    background: #e97245; 
    color: white; 
    font-weight: 700; 
    padding: 11px 18px; 
    font-size: 0.97rem; 
    cursor: pointer; 
    box-shadow: 0 5px 12px rgba(233,114,69,0.35); 
    
}
button:hover { 
    background: #ca5f39; 
    
}
.prev-step { 
    background: #f3f4f6; 
    color: #111827; 
    box-shadow: none; 
    border: 1px solid #d1d5db; 
    
}
.prev-step:hover { 
    background: #111827; 
    color: #fff; 
    
}
.hint { 
    margin-top: 8px; 
    font-size: 0.9rem; 
    color: #4b5563; 
    
}

.file-preview {
  margin-top: 8px;
  font-size: 0.9rem;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  padding: 8px 10px;
  border-radius: 6px;
  margin-top: 6px;
}

.file-success {
  color: #16a34a;
  font-weight: 600;
}

.file-name {
  color: #111827;
}

@media (max-width: 760px) { 
    .grid-3 { grid-template-columns: 1fr; } .actions { text-align: left; } }

.submit-loader {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.submit-loader.show {
  display: flex;
}
.loader-box {
  background: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.spinner {
  width: 36px;
  height: 36px;
  border: 4px solid #f3f4f6;
  border-top: 4px solid #e97245;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 10px;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
