/* Minification failed. Returning unminified contents.
(4,28): run-time error CSS1039: Token not allowed after unary operator: '-orkin-dark-gray'
(102,17): run-time error CSS1039: Token not allowed after unary operator: '-orkin-red'
(113,17): run-time error CSS1039: Token not allowed after unary operator: '-orkin-light-gray'
(123,17): run-time error CSS1039: Token not allowed after unary operator: '-orkin-light-gray'
(127,24): run-time error CSS1039: Token not allowed after unary operator: '-orkin-red'
(161,17): run-time error CSS1039: Token not allowed after unary operator: '-orkin-red'
(168,17): run-time error CSS1039: Token not allowed after unary operator: '-orkin-red'
(174,17): run-time error CSS1039: Token not allowed after unary operator: '-orkin-gray'
 */
.form-table,
.form-table th,
.form-table td {
    border: 1px solid var(--orkin-dark-gray);
    border-collapse: collapse;
}

.form-table th,
.form-table td {
    padding: 2px 8px 2px 8px;
}

.table-noborder,
.table-noborder th,
.table-noborder td {
    border: none !important;
}

.email-modal-background {
    position: fixed;
    left: 0;
    top: 0;
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

/*
    Email / language pop-up on Job/Apply.
    CHANGED 2026-10 (all postings):
      - padding so the title no longer touches the edge of the pop-up;
      - max-width so the pop-up fits smaller screens instead of being cut off;
      - .email-modal-title: centred, slightly smaller title that wraps onto balanced lines
        (the French title is long and used to break awkwardly);
      - the email fields keep their 500px column but can shrink on small screens.
    NEW 2026-10: .email-modal-consent, .consent-needed and .consent-box* style the applicant notice &
    consent box shown on every new application.
    REVIEW NOTE 2026-10: these classes are only used by Views/Job/Apply.cshtml (the email pop-up), so no
    other page is affected. IMPACT: LOW (layout only), for every new application in every province.
*/
.email-modal {
    width: 850px;
    max-width: calc(100vw - 32px);
    height: 450px;
    padding: 32px 48px;
    background: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.email-modal-title {
    max-width: 640px;
    margin: 0 0 14px 0;
    font-size: 26px;
    line-height: 1.25;
    text-align: center;
    text-wrap: balance;
}

.email-modal .form-floating {
    width: 500px;
    max-width: 100%;
}

.email-modal .form-floating .form-control {
    max-width: 100%;
}

/* The pop-up shows the notice & consent box, so it grows to fit */
.email-modal-consent {
    height: auto;
    min-height: 450px;
}

.consent-needed {
    text-align: center;
}

/* Consent box: dashed pink while the consent is still needed, green (.consent-box-ok) once accepted */
.consent-box {
    width: 500px;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px dashed #d9aab2;
    border-radius: 8px;
    background: #fdf6f7;
    font-size: 15px;
}

.consent-box a {
    color: var(--orkin-red);
    font-weight: 600;
}

.consent-box-ok {
    border: 1px solid #a9d3b9;
    background: #f2faf5;
}

.consent-box-icon {
    font-size: 22px;
    color: var(--orkin-light-gray);
}

.consent-box-ok .consent-box-icon {
    color: #1c7c4a;
}

.consent-box-meta {
    display: block;
    font-size: 13px;
    color: var(--orkin-light-gray);
}

.form-control:focus {
    border-color: var(--orkin-red);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(204, 9, 47, 0.6);
}

.form-inline .form-control {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

.form-input-grow {
    display: flex;
    align-items: center;
}

.form-input-grow .form-control {
    flex-grow: 1;
    margin-left: 8px;
    margin-right: 5px;
}

.form-input-disabled {
    cursor: not-allowed;
    background-color: #E9ECEF;
}

.form-input-disabled:focus {
    cursor: not-allowed;
    background-color: #E9ECEF;
}

.form-required::after {
    content: '*';
    display: inline-block;
    color: var(--orkin-red);
}

.btn-basic-link {
    background: none !important;
    border: none;
    padding: 0 !important;
    color: var(--orkin-red);
    text-decoration: underline;
    cursor: pointer;
}

.btn-basic-link:hover {
    color: var(--orkin-gray);
}
