/* Header */
.job-page-sec {
    padding: 20px 0 0 !important;
    margin-bottom: 0;
    margin-top: 80px;
    border-top: 1px solid var(--surface---border, #DCDFE5);
    box-shadow: 0px 1px 2px -1px #151C280A;
    box-shadow: inset 0px 1px 3px 0px #151C280A;
}
.app-header {
    display: flex;
    justify-content: space-between;
    padding: 15px 40px;
    background: #fff;
    border-bottom: 1px solid #eee;
}

/* Layout */
.main {
    display: flex;
}

/* Sidebar */
.sidebar {
    width: 428px;
    padding: 30px;
}
.sidebar p {
    display: flex;
    justify-content: space-between;
    color: #6A7181;
    font-size: 12px;
    font-family: 'Helvetica Neue';
}
	span#percent {
    color: #0E3E81;
    font-size: 14px;
    font-weight: 700;
}
.progress-bar {
    height: 5px;
    background: #F3F5F9 !important;
    margin: 10px 0 20px;
}

.progress {
    height: 5px;
    width: 0%;
    background: #12308D !important;
    transition: 0.3s;
}

.steps {
    list-style: none;
    padding: 0;
}

.steps li {
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 8px;
    color: #6F747C;
	display: flex;
	font-family: 'Helvetica Neue';
    font-size: 14px;
	gap:12px;
	align-items: center;
}

.sidebar .steps li p {
    display: flex;
    justify-content: space-between;
    color: #6A7181;
    font-size: 14px;
	font-weight: 400;
    font-family: 'Helvetica Neue';
    flex-direction: column;
	margin:0;
}
.sidebar .steps li p span{
    font-size: 12px;
}	
.sidebar .steps li span.number {
    width: 28px;
    height: 28px;
    background: #EEEFF2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    font-size: 12px;
    font-weight: bold;
    color: #A2A7B1;
}
.sidebar .steps li.active span.number {
    background: #12308D;
    color: #fff;
}
.steps li.active {
    background: #12308D0D;
    color: #2b5cff;
    font-weight: bold;
    border: 1px solid #12308D33;
}
.sidebar .steps li.active p {
    color: #12308D;
}
.sidebar .steps li.active p span{
    color: #6A7181;
}
/* Content */
.content {
    flex: 1;
    padding: 40px;
}

.card {
    background: #fff;
    padding: 30px;
    border-radius: 10px !important;
}

/* ✅ INNER SEGMENTED PROGRESS */
.inner-progress-steps {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.inner-step-bar {
    flex: 1;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    transition: 0.3s;
}

.inner-step-bar.active {
    background: #2b5cff;
}

/* Inner steps */
.inner-step {
    display: none;
    padding: 0 0 0px 0;
}

.inner-step.active {
    display: block;
}

/* Buttons */
.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

button {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.nextInner{
    background: #12308D;
    color: #fff;
    border-radius: 8px;
    padding-top: 10px;
    padding-right: 58px;
    padding-bottom: 10px;
    padding-left: 58px;
}

.prevInner {
    background: #EBF0F4;
    border-radius: 8px;
    padding-top: 11px;
    padding-right: 58px;
    padding-bottom: 11px;
    padding-left: 58px;
}

.form-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-family: Helvetica Neue;
    font-weight: 500;
    font-size: 14px !important;
    color: #151C28;
}

input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: none;
    background: #F6F7F9;
    font-size: 14px;
    outline: none;
    border: 1px solid #DCDFE5;
	color:#242E42;
}
    .card h2 {
        margin: 0;
		font-family: "Space Grotesk", sans-serif;
		font-weight: 700;
		font-size: 20px;
		line-height: 24px;
		letter-spacing: 0%;
		vertical-align: middle;

    }
.card h4{
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: 0%;
	vertical-align: middle;

}
.card h5 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 14px;
	line-height: 24px;
	letter-spacing: 0%;
	vertical-align: middle;

}
.card h3 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 700;
	font-size: 20px;
	line-height: 24px;
	letter-spacing: 0%;
	vertical-align: middle;

}
.completw-content h3{
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 500;
	font-size: 14px;
	line-height: 24px;
	letter-spacing: 0%;
	vertical-align: middle;
	color:#242E42;

}
.completw-content p{
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-weight: 500;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0%;
	vertical-align: middle;
	color:#6A7181;

}
.form-group {
    margin-bottom: 24px !important;
}
.experience-wrapper {
    margin-top: 40px;
}

textarea {
    height: 90px;
    resize: none;
}

.add-btn {
    width: 100%;
    padding: 12px;
    border: none;
    background: #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}
.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.full {
    width: 100%;
}
.experience-box, .reference-box {
    position: relative;
    background: #fff;
    border: 1px solid #DCDFE5;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}
.reference-box1 .delete-btn {
    display: none;
}
.policy-box, .reference-box {
    margin-top: 40px;
}
.delete-btn {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    color: red;
    font-size: 16px;
}

.experience-box.show-delete .delete-btn {
    display: block;
}
/* Optional: make select arrow nice */
select {
    appearance: none;
}	
.form-container label.upload-box {
  display: block;
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 40px;
  text-align: center;
  cursor: pointer;
  background: #f9f9f9;
  transition: 0.3s;
}

.upload-box:hover {
  border-color: #007bff;
  background: #f1f7ff;
}

.upload-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.upload-box h3 {
  margin: 10px 0 5px;
}

.upload-box p {
  color: #666;
  font-size: 14px;
}

#file-list {
  margin-top: 15px;
}

.file-item {
  font-size: 14px;
  margin-bottom: 5px;
}
.experience-box1 .delete-btn {
    display: none;
}
.reference-box {
    position: relative;
}
.hidden-fields {
    display: none;
}
.checkbox-row {
    display: flex;
    gap: 6px;
}
.checkbox-row input[type="checkbox"] {
    width: auto;
}
.form-container label {
    display: flex;
	
    gap: 5px;
}
.form-container label input[type="checkbox"] {
    width: auto;
}
.signature-box canvas {
    border: 1px dashed var(--Input-outline, #DCDFE5);
    border-radius: 8px;
	width:100%;
	margin: 10px 0 0;
}
.policy-box-color{
    border: 1px solid var(--Input-outline, #DCDFE5);
    padding: 20px 13px;
    border-radius: 8px;
    background: #F6F7F9;
	margin: 0 0 15px;

}
.policy-icon-box {
    display: flex;
    gap: 10px;
}
.policy-icon-box span{
    background: #12308d36;
    width: 36px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.policy-icon-box span img {
    width: 24px;
    height: 24px;
}
.policy-title h4 {
    font-size: 14px;
    margin: 0;
    font-weight: 700;
}
.complete-box {
    border: 1px solid var(--left_progress-sucess-outline, #CCF1CC);
    background: var(--left_progress-success-fill, #F2FCF2);
    border-radius: 10px;
    gap: 12px;
    padding: 14px;
    display: flex;
    margin: 0 0 10px;
	align-items: center;
}
.completw-content p {
    margin: 0;
}
.form-group select {
    width: 100%;
    padding: 12px 45px 12px 15px;
    font-size: 16px;
    border: 1px solid #DCDFE5;
    border-radius: 6px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #F6F7F9;
    background-image: url("data:image/svg+xml;utf8,%3Csvg width='10' height='5' viewBox='0 0 10 5' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M9.14053 0.197199C9.07855 0.134713 9.00482 0.0851169 8.92358 0.0512711C8.84234 0.0174253 8.7552 0 8.6672 0C8.57919 0 8.49205 0.0174253 8.41081 0.0512711C8.32957 0.0851169 8.25584 0.134713 8.19386 0.197199L5.14053 3.25053C5.07855 3.31302 5.00482 3.36261 4.92358 3.39646C4.84234 3.43031 4.7552 3.44773 4.6672 3.44773C4.57919 3.44773 4.49205 3.43031 4.41081 3.39646C4.32957 3.36261 4.25584 3.31302 4.19386 3.25053L1.14053 0.197199C1.07855 0.134713 1.00482 0.0851169 0.92358 0.0512711C0.84234 0.0174253 0.755203 0 0.667195 0C0.579187 0 0.49205 0.0174253 0.41081 0.0512711C0.329571 0.0851169 0.255837 0.134713 0.193862 0.197199C0.0696944 0.322107 0 0.491075 0 0.667199C0 0.843323 0.0696944 1.01229 0.193862 1.1372L3.25386 4.1972C3.62886 4.57173 4.13719 4.78211 4.6672 4.78211C5.1972 4.78211 5.70553 4.57173 6.08053 4.1972L9.14053 1.1372C9.2647 1.01229 9.33439 0.843323 9.33439 0.667199C9.33439 0.491075 9.2647 0.322107 9.14053 0.197199Z' fill='%236A7181'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 10px 5px;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: #007bff;
}
.signature-actions{
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 10px;
}
.signature-actions p{
    color: #6A7181;
    font-weight: 300;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0%;
    vertical-align: middle;
    margin: 0;
}
.signature-actions button {
    padding: 0;
    background: none;
    color: #DC2828;
}
.sidebar .steps li.completed span.number {
    background: url(https://shinematrexcom.in/Development/gworkforcesolutions/wp-content/uploads/2026/04/Vector.png);
    font-size: 0;
}
.inner-step-bar.completed {
    background: #00BA00;
}
.experience-box h3{
    margin: 0 0 25px;
}
.line_boder {
    padding: 30px 0 0;
    border-top: 1px solid var(--card-outline, #DCDFE5);
    margin-top: 30px !important;
}
/* Mobile Responsive */
@media (max-width: 767px) {
.main{
    display: flex;
    flex-direction: column;
}
.sidebar {
    width: 100%;
    padding: 30px 0;
}
.steps li {
    display: none;
}
.steps li.active {
    display: flex;
}
.content {
    flex: 1;
    padding: 0;
}
.form-row {
    display: flex;
    gap: 0;
    flex-direction: column;
}
.form-container {
    max-width: 100%;
    margin: 20px auto;
}
.prevInner {
    padding-right: 25px;
    padding-left: 25px;
    font-size: 14px;
}
.nextInner {
    padding-right: 25px;
    padding-left: 25px;
    font-size: 14px;
}
}




.header {
    display: flex;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    align-items: center;
    padding: 10px 20px;
}

.header img {
    width: 60px;
}

.header-center {
    text-align: center;
    flex: 1;
}

.header-center h2 {
    margin: 0;
    font-size: 16px;
}

.header-right {
    font-size: 12px;
}
.inner-step .container{
    border: 1px solid #eee;
    padding: 0;
    margin: 40px 0 0;
	height: 764px;
    overflow: auto;
}
.section-title {
    background: #eaeaea;
    border: 1px solid #000;
    padding: 4px;
    font-weight: bold;
    margin-top: 10px;
	font-size: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    border: 1px solid #000 !important;
    padding: 4px;
    vertical-align: top;
}

.label {
    font-size: 9px;
}

.input {
    border-bottom: 1px solid #000;
}
/* .input input {
    border: none;
    background: antiquewhite;
    width: 100%;
	padding: 0;
    border-radius: 0;
} */
.td-box {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
}
.inner-step tr p {
    color: #6A7181;
    font-size: 12px;
}
tr label {
    display: flex;
    font-size: 12px;
}
.checkbox-area p {
    color: #6A7181;
    font-size: 12px;
}
.td-box-item{
    width: 60px;
    flex: 1;
}
input:focus-visible{
    border: none;
    outline: 0;
    outline-offset: 0;
}
.checkbox {
    margin-right: 5px;
	width:auto;
}

.small {
    font-size: 9px;
}
.gray {
    background: #e6e6e6;
}

.section-title {
    font-weight: bold;
}

.small {
    font-size: 11px;
}

.checkbox-line {
    padding: 6px;
}

.footer {
    border-top: 1px solid #000;
}

.flex {
    display: flex;
}

.flex > div {
    flex: 1;
    border-right: 1px solid #000;
    padding: 6px;
}

.flex > div:last-child {
    border-right: none;
}

/* input[type="text"] {
    width: 100%;
    border: none;
    outline: none;
} */


.inner-header p {
    margin: 0;
}
.inner-header {
    display: flex;
    flex-direction: column;
    padding: 0 0 15px;
    gap: 0;
    border-top: 1px solid #000;
}
.doc-table {
  width: 100%;
  border-collapse: collapse;
}

.doc-table th {
  background: #ddd;
  padding: 10px;
  text-align: center;
  font-weight: bold;
}

.doc-table td {
  border: 1px solid #999;
  padding: 8px;
}

/* .doc-table input {
  width: 100%;
  border: none;
  outline: none;
  padding: 6px;
} */

.checkbox-area input[type="checkbox"] {
    width: auto;
    font-size: 10px;
}
.doc-table td {
    border: 1px solid #999 !important;
    padding: 8px;
    font-size: 10px;
}
td, td ol li, td ul li {
    font-size: 12px;
    margin: 0 0 5px;
}
.state_zip_box {
    display: flex;
    gap: 5px;
}
/* PAGE SIZE */
.w4-page {
    height: 10in;
    background: #fff;
    margin: 20px auto;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid #000;
    overflow: auto;
}

/* HEADER */
.w4-header {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #000;
  padding-bottom: 10px;
}

.w4-header__center {
  text-align: center;
  flex: 1;
}

.w4-header__center h1 {
  margin: 0;
  font-size: 20px;
}

.w4-header__center p {
  font-size: 12px;
}

/* SECTIONS */
.w4-section {
  margin-top: 15px;
}

.w4-step-title {
  font-weight: bold;
  border-bottom: 1px solid #000;
  margin-bottom: 8px;
}

/* GRID */
.w4-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* FIELDS */
.w4-field label {
  font-size: 11px;
  display: block;
}

/* .w4-field input {
  width: 100%;
  border: 1px solid #000;
  height: 24px;
} */
.w4-text input {
    width: auto;
}
.inner-step .w4-section p {
    display: flex;
    justify-content: space-between;
}
/* CHECKBOX */
.w4-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
}

/* TEXT */
.w4-text, .w4-section p {
  font-size: 12px;
}


.w4-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* FOOTER */
.w4-footer {
  font-size: 10px;
}
.w4-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 15px;
}

.w4-col {
  font-size: 12px;
  line-height: 1.4;
}

.w4-col h2 {
  font-size: 16px;
  margin-bottom: 10px;
}

.w4-col h3 {
  font-size: 13px;
  margin-top: 10px;
}
/* MONEY LINE */
.w4-money {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #000;
  min-width: 180px;
  margin-left: 10px;
}

.w4-money span {
  margin-right: 4px;
}

/* .w4-money input {
  border: none;
  outline: none;
  flex: 1;
  height: 20px;
} */

/* SUB ROW (a, b, c) */
.w4-sub {
  display: flex;
  align-items: flex-start;
  margin: 6px 0 6px 25px;
}

.w4-sub-label {
  width: 20px;
}




/* ROW */
.w4-row {
  display: flex;
  align-items: flex-start;
  margin: 10px 0;
}

.w4-num {
  width: 25px;
  font-weight: bold;
}

.w4-content {
  flex: 1;
  font-size: 12px;
}
.w4-section input[type="checkbox"] {
    width: auto;
    /* margin: 10px 0 0; */
}
.line {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #000;
    padding: 6px 0;
  }
  .line span {
    flex: 1;
  }
  .line .amount {
    text-align: right;
    min-width: 120px;
  }
  .indent {
    margin-left: 20px;
  }
/* Base wrapper (optional but recommended) */


/* Section titles */
.w4-section-title {
  margin: 30px 0 10px;
  padding-top: 10px;
  border-top: 2px solid #000;
  font-size: 18px;
  font-weight: bold;
}

/* Table wrapper for horizontal scroll */
.w4-table-wrapper {
  overflow-x: auto;
  margin-bottom: 20px;
}

/* Base table style */


/* Header */
.w4-table thead th {
  background: #f1f1f1;
  font-weight: bold;
  text-align: center;
  border: 1px solid #000;
  padding: 6px;
  font-size:10px;
}

/* Cells */
.w4-table td {
  border: 1px solid #000;
  padding: 5px;
  text-align: right;
  font-size:10px;
}

/* First column (labels) */
.w4-table td:first-child,
.w4-table th:first-child {
  text-align: left;
  font-weight: bold;
  background: #fafafa;
  font-size:10px;
}

/* Row hover effect */


/* Alternate row shading */
.w4-table tbody tr:nth-child(even) {
  background: #fcfcfc;
}

/* Section-specific tweaks (optional customization) */
.w4-mf-table {
  border: 2px solid #333;
}

.w4-single-table {
  border: 2px solid #444;
}

.w4-hoh-table {
  border: 2px solid #555;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .w4-section-title {
    font-size: 16px;
  }

  .w4-table {
    font-size: 11px;
  }

  .w4-table th,
  .w4-table td {
    padding: 4px;
  }
}



.tnankyou-page-wrapper {
    margin: 80px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
    width: 100%;
    text-align: center;
}
.thank-you-section {
    width: 100%;
    max-width: 418px;
    font-family: "Space Grotesk", sans-serif;
}
.thank-you-section h2 {
    color: #151C28;
    font-size: 20px;
    font-weight: 700;
}
.thank-you-content{
    margin: 10px 0 20px;
}
.thank-you-btn {
	text-decoration:none;
    background: #12308D;
    color: #fff;
    border-radius: 8px;
    padding-top: 10px;
    padding-right: 58px;
    padding-bottom: 10px;
    padding-left: 58px;
}
.w4-header__left {
    width: 150px;
    text-align: center;
}
.w4-header__right {
    width: 150px;
    text-align: center;
}


.w4-topbar{
        display:flex;
        justify-content:space-between;
        align-items:center;
        margin-bottom:10px;
        font-size:14px;
    }

    .w4-title{
        text-align:center;
        font-weight:700;
        font-size:24px;
        margin-bottom:6px;
    }

    .w4-subtitle{
        text-align:center;
        font-size:15px;
        margin-bottom:14px;
    }

    .w4-note{
        font-size:13px;
        margin-bottom:16px;
    }

    .w4-table{
        width:100%;
        border-collapse:collapse;
    }

    .w4-table tr{
        border-bottom:none !important;
    }

    .w4-table td{
        vertical-align:top;
        padding:8px 6px;
        font-size:14px;
        line-height:1.4;
		border:none !important;
		text-align: left;
		background: none !important;
    }

    .w4-num{
        width:42px;
        font-weight:bold;
    }

    .w4-desc{
        width:auto;
    }

    .w4-table td.w4-amount{
        width:180px;
        text-align:right;
        white-space:nowrap;
        font-weight:bold;
    }

    .w4-subitem{
        margin-top:6px;
        padding-left:18px;
    }

    .w4-line{
        display:inline-block;
        border-bottom:1px solid #000;
        width:120px;
        margin-left:6px;
        height:18px;
    }
.w4-privacy-wrap{
	display:flex;
	gap:40px;
	border-top:2px solid #000;
	padding-top:14px;
	margin-top:20px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	line-height:1.35;
	color:#000;
}

.w4-privacy-col{
	flex:1;
	text-align:justify;
}

.w4-privacy-title{
	font-weight:700;
}

.wrapper{
	margin:0 auto;
	padding:0;
}

.wrapper table{
	width:100%;
	border-collapse:collapse;
	table-layout:fixed;
	border-top:2px solid #4b4b4b;
}

.wrapper th,
.wrapper td{
	border:1px solid #6b6b6b;
	padding:6px 4px;
	font-size:13px;
	color:#111;
	text-align:center;
	vertical-align:middle;
	line-height:1.1;
	font-weight:normal;
}

.title{
	font-size:16px;
	font-weight:bold;
	padding:10px 0;
	border-left:none;
	border-right:none;
}

.left-header{
	width:170px;
	font-weight:bold;
	text-align:left;
	padding-left:8px;
}

.row-head{
	text-align:left;
	padding-left:8px;
	width:170px;
}

.subhead{
	font-weight:bold;
	font-size:12px;
}

.blank{
	border-left:none;
}

.top-group{
	font-weight:bold;
	font-size:14px;
}



 /* --------- Header --------- */
  .top-header {
    display: grid;
    grid-template-columns: 1.3fr 3fr 1.1fr;
    border-bottom: 2px solid #000;
    padding-bottom: 4px;
  }
  .top-header .left { display: flex; flex-direction: column; justify-content: space-between; }
  .form-name { font-size: 22pt; font-weight: bold; line-height: 1; }
  .form-year { font-size: 22pt; font-weight: bold; text-align: right; line-height: 1; }
  .top-header .center { text-align: center; padding: 0 8px; }
  .center .title { font-size: 14pt; font-weight: bold; margin-top: 2px; }
  .center .purpose {
    font-style: italic;
    font-size: 8pt;
    margin-top: 5px;
    line-height: 1.25;
  }
  .top-header .right { text-align: right; font-size: 8pt; }
  .omb { font-weight: bold; font-size: 8.5pt; }

  /* --------- Steps --------- */
  .step-row {
    display: grid;
    grid-template-columns: 1.1in 1fr;
    border-bottom: 1px solid #000;
    min-height: 0.4in;
  }
  .step-label {
    background: #d9d9d9;
    padding: 6px;
    border-right: 1px solid #000;
    font-size: 9pt;
  }
  .step-label .num { font-weight: bold; }
  .step-content { padding: 6px 8px; }

  /* Step 1 specific */
  .step1-grid {
    display: grid;
    grid-template-columns: 3fr 1.4fr;
  }
  .step1-left { border-right: 1px solid #000; padding-right: 6px; }
  .step1-right { padding-left: 6px; font-size: 8.5pt; line-height: 1.3; }
  .input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 6px;
  }
  .input-row .input-label, .field-label {
    font-size: 8pt;
    margin-top: 1px;
  }
  .ssn-row { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
  .ssn-sep { font-weight: bold; }

  .filing-status { font-size: 8.5pt; }
  .filing-status > div { margin-bottom: 2px; }
  .caution {
    font-size: 8pt;
    font-style: italic;
    margin-top: 4px;
    line-height: 1.3;
  }
  .caution strong { font-weight: bold; font-style: normal; }

  /* Tip block */
  .tip-block, .complete-block {
    border-top: 1px solid #000;
    padding: 4px 8px;
    font-size: 8.5pt;
    line-height: 1.3;
  }

  .dots { letter-spacing: 1.5px; }

  /* Step 3 / 4 amount rows */
  .amt-row {
    display: grid;
    grid-template-columns: 1fr auto 1.05in;
    align-items: end;
    gap: 6px;
    margin-bottom: 4px;
  }
  .amt-row .desc { font-size: 8.5pt; line-height: 1.3; }
  .amt-row .ref { font-weight: bold; font-size: 9pt; white-space: nowrap; }
  .amt-row .box-wrap {
    display: flex;
    align-items: center;
    border: 1px solid #000;
    background: #fffbe6;
    height: 18px;
  }
  .amt-row .box-wrap::before {
    content: "$";
    padding: 0 3px;
    font-size: 9pt;
  }
  .amt-row .box-wrap input {
    border: none !important;
    height: 100%;
    background: transparent;
  }

  /* Step 5 */
  .step5-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 8px;
    align-items: end;
    margin-top: 6px;
  }
  .sig-line {
    border-bottom: 1px solid #000;
    height: 26px;
    background: #fffbe6;
    padding: 2px 4px;
    font-family: 'Brush Script MT', cursive;
    font-size: 14pt;
  }
  .sig-line input {
    background: transparent !important;
    font-family: 'Brush Script MT', cursive;
    font-size: 14pt;
    border: none !important;
  }
  .sig-label { font-size: 8pt; text-align: center; margin-top: 2px; }

  /* Employer footer */
  .employer-row {
    display: grid;
    grid-template-columns: 1.1in 2fr 1fr 1fr;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    min-height: 0.5in;
  }
  .employer-row > div {
    padding: 4px 6px;
    border-right: 1px solid #000;
    font-size: 8.5pt;
  }
  .employer-row > div:last-child { border-right: none; }
  .employer-row .bg { background: #d9d9d9; font-weight: bold; }
  .employer-row textarea {
    width: 100%;
    border: none;
    background: #fffbe6;
    font-family: inherit;
    font-size: 9pt;
    resize: none;
    outline: none;
    height: 30px;
  }
  .employer-row textarea:focus { background: #fff3a0; }

  .page-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 7.5pt;
  }

  /* Pages 2-5 */
  .page-header-mini {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #000;
    padding-bottom: 3px;
    margin-bottom: 8px;
    font-size: 8.5pt;
  }
  .page-header-mini .page-no { font-weight: bold; font-size: 9pt; }

  h2.section-head {
    font-size: 11pt;
    font-weight: bold;
    margin: 8px 0 4px 0;
    border-bottom: 1px solid #000;
    padding-bottom: 2px;
  }
  .two-col {
    column-count: 2;
    column-gap: 18px;
    text-align: justify;
  }
  .two-col p { margin: 0 0 5px 0; font-size: 8.5pt; line-height: 1.35; }
  .two-col .run-in { font-weight: bold; font-style: italic; }
  .two-col .heading { font-weight: bold; }
  .caution-icon {
    display: inline-block;
    background: #000;
    color: #fff;
    font-weight: bold;
    padding: 0 4px;
    margin-right: 4px;
    font-size: 9pt;
  }

  /* Worksheets */
  .worksheet-title {
    text-align: center;
    font-weight: bold;
    font-size: 11pt;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 4px;
    margin: 8px 0;
  }
  .worksheet-title em { font-weight: normal; font-style: italic; font-size: 9pt; }

  .ws-row {
    display: grid;
    grid-template-columns: 22px 1fr 30px 1in;
    gap: 4px;
    margin-bottom: 4px;
    align-items: end;
  }
  .ws-row .num { font-weight: bold; font-size: 9pt; }
  .ws-row .desc { font-size: 8.5pt; line-height: 1.3; text-align: justify; }
  .ws-row .ref { font-weight: bold; font-size: 9pt; text-align: right; }
  .ws-row .ws-box {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
    height: 18px;
    background: #fffbe6;
  }
  .ws-row .ws-box.dollar::before {
    content: "$ ";
    padding-left: 2px;
    font-size: 9pt;
  }
  .ws-row .ws-box input {
    border: none !important;
    background: transparent !important;
    height: 100%;
  }
  .ws-row .ws-box.no-input {
    background: transparent;
    border: none;
  }
  .ws-sub { padding-left: 28px; }

  /* Brace utilities for worksheet */
  .brace-row {
    display: grid;
    grid-template-columns: 22px auto 1fr 30px 1in;
    gap: 4px;
    align-items: center;
    margin-bottom: 4px;
  }
  .brace-row .num { font-weight: bold; font-size: 9pt; }
  .brace-row .lbl { font-weight: bold; font-size: 9pt; padding-right: 4px; }
  .brace-row .opts {
    border-left: 2px solid #000;
    border-right: 2px solid #000;
    padding: 2px 8px;
    font-size: 8.5pt;
  }
  .brace-row .opts div { margin: 1px 0; }
  .brace-row .ref { font-weight: bold; font-size: 9pt; text-align: right; }
  .brace-row .ws-box {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000;
    height: 18px;
    background: #fffbe6;
  }
  .brace-row .ws-box.dollar::before { content: "$ "; padding-left: 2px; font-size: 9pt; }
  .brace-row .ws-box input { border: none !important; background: transparent !important; height: 100%; }

  /* Tables for page 5 */
  table.wage-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 7.5pt;
    margin-bottom: 10px;
  }
  table.wage-table caption {
    font-weight: bold;
    font-size: 10pt;
    padding: 4px;
    text-align: center;
    background: #d9d9d9;
    border: 1px solid #000;
  }
  table.wage-table th,
  table.wage-table td {
    border: 1px solid #000;
    padding: 3px 2px;
    text-align: center;
    vertical-align: middle;
  }
  table.wage-table thead th {
    background: #d9d9d9;
    font-size: 7pt;
  }
  table.wage-table tbody td:first-child {
    background: #f0f0f0;
    text-align: left;
    padding-left: 4px;
    font-weight: bold;
    font-size: 7pt;
  }

  /* Privacy notice */
  .privacy {
    border-top: 1px solid #000;
    padding-top: 6px;
    margin-top: 10px;
    column-count: 2;
    column-gap: 18px;
    font-size: 7.5pt;
    line-height: 1.3;
    text-align: justify;
  }
  .privacy p { margin: 0 0 4px 0; }
  .privacy .run-in { font-weight: bold; }

  /* Required indicator on focused fields */
  .required-mark {
    color: #c00;
    font-weight: bold;
    margin-left: 2px;
  }

  /* Help tooltip */
  .help-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #1a4480;
    color: #fff;
    border-radius: 50%;
    font-size: 8pt;
    text-align: center;
    line-height: 12px;
    cursor: help;
    margin-left: 3px;
  }


/* --------- Form Inputs --------- */
  .job-page-sec .page input[type="text"],
  .job-page-sec .page input[type="number"],
  .job-page-sec .page input[type="date"],
  .job-page-sec .page input[type="email"] {
    font-family: inherit;
    font-size: 9.5pt;
    border: none;
    background: #fffbe6;
    padding: 1px 3px;
    width: 100%;
    outline: none;
  }
  .job-page-sec .page . input[type="text"]:focus,
  .job-page-sec .page input[type="number"]:focus,
  .job-page-sec .page input[type="date"]:focus,
  .job-page-sec .page input[type="email"]:focus {
    background: #fff3a0;
    box-shadow: inset 0 -2px 0 #1a4480;
  }
  .job-page-sec .page input[type="text"]:hover,
  .job-page-sec .page input[type="number"]:hover,
  .job-page-sec .page input[type="date"]:hover {
    background: #fff5b8;
  }
tr label input {
    width: auto;
    margin: 0 10px;
}




@media (max-width: 767px) {
   .custom-header {
        padding: 15px 0px;
    } 
    .w4-grid-2 {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
    .inner-step .w4-section p {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
    .w4-columns {
        display: flex;
        gap: 20px;
        margin-top: 15px;
        flex-direction: column;
    }
    .w4-row {
        display: flex;
        align-items: flex-start;
        margin: 10px 0;
        flex-direction: column;
    }
    .w4-sub {
        display: flex;
        align-items: flex-start;
        margin: 6px 0 6px 25px;
        flex-direction: column;
    }
    .w4-table tr {
        border-bottom: none !important;
        display: flex;
        flex-direction: column;
    }
    .wrapper {
        margin: 0 auto;
        padding: 0;
        width: 100%;
        overflow: auto;
    }
    .wrapper table {
        width: 100%;
        border-collapse: collapse;
        table-layout: inherit;
        border-top: 2px solid #4b4b4b;
        max-width: 1200px;
    }
    .formi9 tr {
        border-color: inherit;
        border-style: solid;
        border-width: 0;
        display: flex;
        flex-direction: column;
    }
    .header {
        display: flex;
        border-bottom: 2px solid #000;
        padding-bottom: 5px;
        align-items: center;
        padding: 10px 20px;
        flex-direction: column;
    }
    .w4-header__left {
        width: auto;
        text-align: center;
    }
    .w4-header {
        display: flex;
        justify-content: space-between;
        border-bottom: 2px solid #000;
        padding-bottom: 10px;
        flex-direction: column;
    }
    .w4-header__right {
        width: auto;
        text-align: center;
    }
    .w4-title {
        text-align: center;
        font-weight: 700;
        font-size: 14px;
        margin-bottom: 6px;
    }
    dl, ol, ul {
        margin-top: 0;
        margin-bottom: 1rem;
        text-align: left;
    }
    ol ol, ol ul, ul ol, ul ul {
        margin-bottom: 0;
        padding: 0;
        text-align: left;
    }
    .job-main-page .login-box {
        padding: 30px 10px;
        margin-top: 100px;
    }
}

