/* Application pages (apply-driver.html, apply-owner-operator.html).
   Kept separate from style.css so the two poster pages are untouched. */

.apply-body {
    background: #f4f6f5;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    line-height: 1.45;
}

.apply-wrap {
    max-width: 880px;
    margin: 0 auto;
    padding: 16px 16px 48px;
}

.apply-card {
    background: #fff;
    border: 1px solid #dfe5e1;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 16px;
}

.apply-head {
    text-align: center;
    border-top: 6px solid #15803d;
}

.apply-head img {
    width: 100%;
    max-width: 340px;
    height: auto;
}

.apply-head h1 {
    margin: 8px 0 4px;
    font-size: 24px;
    letter-spacing: 0.5px;
    color: #0b1f14;
}

.apply-head .company {
    margin: 0;
    font-size: 14px;
    color: #4b5563;
}

.apply-head .company a {
    color: #15803d;
    font-weight: bold;
    text-decoration: none;
}

.apply-note {
    margin: 14px 0 0;
    padding: 10px 12px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 14px;
    text-align: left;
}

.apply-card h2 {
    margin: 0 0 14px;
    padding: 8px 12px;
    font-size: 15px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #0b1f14;
    background: #ecf4ef;
    border-left: 5px solid #15803d;
}

.apply-card h3 {
    margin: 0 0 10px;
    font-size: 15px;
    color: #15803d;
}

.hint {
    margin: 0 0 12px;
    font-size: 14px;
    color: #4b5563;
}

.hint.strong {
    color: #b91c1c;
    font-weight: bold;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.field {
    display: block;
}

.field.wide {
    grid-column: 1 / -1;
}

.field > span,
.question > span {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #4b5563;
}

.req {
    color: #b91c1c;
}

/* 16px text keeps iPhones from zooming in when a box is tapped. */
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 10px;
    font-family: inherit;
    font-size: 16px;
    color: #111827;
    background: #fff;
    border: 1px solid #c3ccc6;
    border-radius: 6px;
}

.field textarea {
    min-height: 84px;
    resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 2px solid #15803d;
    outline-offset: 1px;
    border-color: #15803d;
}

.question {
    margin: 12px 0;
}

.question > span {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: 0;
    text-transform: none;
    color: #1f2937;
}

.question small {
    display: block;
    font-weight: bold;
    color: #4b5563;
}

.choices {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 6px;
}

.choices label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    cursor: pointer;
}

.choices input {
    width: 20px;
    height: 20px;
    accent-color: #15803d;
}

.block {
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid #dfe5e1;
    border-radius: 8px;
}

.block:last-child {
    margin-bottom: 0;
}

.is-hidden {
    display: none;
}

.legal p,
.legal li {
    font-size: 14px;
}

.agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.agree input {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    accent-color: #15803d;
}

/* Spam trap: real people never see or fill this box. */
.trap {
    display: none;
}

.apply-submit {
    display: block;
    width: 100%;
    padding: 16px;
    font-family: inherit;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #15803d;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.apply-submit:hover {
    background: #116a32;
}

.apply-submit:disabled {
    background: #8fb39c;
    cursor: wait;
}

.apply-error {
    margin: 0 0 12px;
    padding: 12px;
    font-size: 15px;
    color: #7f1d1d;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
}

.apply-done {
    text-align: center;
    border-top: 6px solid #15803d;
}

.apply-done h2 {
    background: none;
    border: 0;
    padding: 0;
    font-size: 22px;
    text-transform: none;
}

.apply-foot {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
}

.apply-foot a {
    color: #15803d;
    font-weight: bold;
    text-decoration: none;
}

/* Apply links on the two poster pages. */
.apply-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    background: #f4f6f5;
}

.apply-links a {
    padding: 14px 22px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background: #15803d;
    border-radius: 8px;
}

.apply-links a:hover {
    background: #116a32;
}
