/* Careers page - Allyted Solutions
   Brand: red #cf0a2c, black #000, grey #8d8d8d, font Poppins (already loaded by style.css) */

.cr-wrap {
    font-family: "Poppins", sans-serif;
    color: #222;
}

.cr-wrap * {
    box-sizing: border-box;
}


/* ---------- Hero ---------- */

.cr-hero {
    background: #000;
    padding: 170px 0 80px;
    position: relative;
    overflow: hidden;
}

.cr-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: #cf0a2c;
    opacity: .18;
}

.cr-hero .cr-tag {
    display: inline-block;
    color: #cf0a2c;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.cr-hero h1 {
    color: #fff;
    font-size: 46px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 18px;
    max-width: 720px;
}

.cr-hero h1 span {
    color: #cf0a2c;
}

.cr-hero p {
    color: #cfcfcf;
    font-size: 16px;
    line-height: 1.8;
    max-width: 620px;
    margin: 0 0 30px;
}

.cr-btn {
    display: inline-block;
    padding: 11px 26px;
    border-radius: 5px;
    background: #cf0a2c;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 0;
    cursor: pointer;
    transition: all .4s ease;
}

.cr-btn:hover,
.cr-btn:focus {
    background: #101010;
    color: #fff;
    text-decoration: none;
}

.cr-hero .cr-btn:hover {
    background: #fff;
    color: #cf0a2c;
}


/* ---------- Openings ---------- */

.cr-openings {
    padding: 70px 0 40px;
    background: #fff;
}

.cr-title {
    text-align: center;
    margin-bottom: 40px;
}

.cr-title h2 {
    font-size: 36px;
    font-weight: 500;
    color: #222;
    margin: 0 0 10px;
}

.cr-title h2 span {
    color: #cf0a2c;
}

.cr-title p {
    color: #8d8d8d;
    font-size: 15px;
    margin: 0;
}

.cr-list {
    max-width: 960px;
    margin: 0 auto;
}

.cr-job {
    border: 1px solid #ececec;
    border-radius: 10px;
    margin-bottom: 16px;
    background: #fff;
    transition: box-shadow .3s ease, border-color .3s ease;
}

.cr-job:hover {
    box-shadow: 0 6px 22px rgba(0, 0, 0, .07);
}

.cr-job.open {
    border-color: #cf0a2c;
    box-shadow: 0 6px 22px rgba(207, 10, 44, .10);
}

.cr-job-head {
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    padding: 22px 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: "Poppins", sans-serif;
}

.cr-job-head:focus-visible {
    outline: 2px solid #cf0a2c;
    outline-offset: 2px;
    border-radius: 10px;
}

.cr-job-title {
    font-size: 19px;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px;
}

.cr-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cr-chip {
    font-size: 12.5px;
    color: #555;
    background: #f4f4f4;
    padding: 4px 12px;
    border-radius: 20px;
}

.cr-chip.red {
    background: #f8d9de;
    color: #cf0a2c;
    font-weight: 500;
}

.cr-arrow {
    flex: 0 0 34px;
    height: 34px;
    border-radius: 50%;
    background: #f4f4f4;
    position: relative;
    transition: all .3s ease;
}

.cr-arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #222;
    border-bottom: 2px solid #222;
    transform: translate(-50%, -70%) rotate(45deg);
    transition: transform .3s ease;
}

.cr-job.open .cr-arrow {
    background: #cf0a2c;
}

.cr-job.open .cr-arrow::before {
    border-color: #fff;
    transform: translate(-50%, -30%) rotate(-135deg);
}

.cr-job-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease;
}

.cr-jd {
    padding: 4px 26px 28px;
    border-top: 1px dashed #e3e3e3;
    margin: 0 26px;
    padding-left: 0;
    padding-right: 0;
}

.cr-jd h4 {
    font-size: 16px;
    font-weight: 600;
    color: #cf0a2c;
    margin: 22px 0 10px;
}

.cr-jd p {
    font-size: 14.5px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.cr-jd ul {
    margin: 0;
    padding-left: 20px;
}

.cr-jd li {
    font-size: 14.5px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 4px;
}

.cr-jd .cr-btn {
    margin-top: 24px;
}

.cr-empty {
    text-align: center;
    color: #8d8d8d;
    padding: 30px 0;
}


/* ---------- Form ---------- */

.cr-apply {
    padding: 70px 0 90px;
    background: #f7f7f7;
    scroll-margin-top: 20px;
}

.cr-card {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 6px 26px rgba(0, 0, 0, .06);
}

.cr-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
}

.cr-full {
    grid-column: 1 / -1;
}

.cr-field label {
    display: block;
    font-size: 13.5px;
    color: #8d8d8d;
    margin-bottom: 6px;
    font-weight: 400;
}

.cr-field label b {
    color: #cf0a2c;
    font-weight: 500;
}

.cr-field input[type=text],
.cr-field input[type=email],
.cr-field input[type=tel],
.cr-field select,
.cr-field textarea {
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14.5px;
    font-family: "Poppins", sans-serif;
    color: #222;
    background: #fff;
    outline: none;
    height: 44px;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.cr-field textarea {
    height: 110px;
    resize: vertical;
}

.cr-field input:focus,
.cr-field select:focus,
.cr-field textarea:focus {
    border-color: #cf0a2c;
    box-shadow: 0 0 0 3px rgba(207, 10, 44, .12);
}

.cr-field input[type=file] {
    width: 100%;
    border: 1px dashed #bdbdbd;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 14px;
    background: #fafafa;
    cursor: pointer;
}

.cr-hint {
    font-size: 12px;
    color: #9e9e9e;
    margin-top: 6px;
}

.cr-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.cr-submit {
    text-align: right;
    margin-top: 28px;
}

.cr-alert {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 14.5px;
}

.cr-alert.ok {
    background: #e8f6ec;
    color: #1d6b36;
}

.cr-alert.err {
    background: #fdecee;
    color: #a3001d;
}


/* ---------- Responsive ---------- */

@media (max-width: 767px) {
    .cr-hero {
        padding: 130px 0 60px;
    }
    .cr-hero h1 {
        font-size: 32px;
    }
    .cr-title h2 {
        font-size: 28px;
    }
    .cr-job-head {
        padding: 18px;
    }
    .cr-job-title {
        font-size: 17px;
    }
    .cr-jd {
        margin: 0 18px;
    }
    .cr-card {
        padding: 24px 18px;
    }
    .cr-grid {
        grid-template-columns: 1fr;
    }
    .cr-submit {
        text-align: center;
    }
    .cr-submit .cr-btn {
        width: 100%;
    }
}


/* ---------- Agreement note + radios (added) ---------- */

.cr-note {
    margin-top: 22px;
    padding: 16px 18px;
    background: #fdf3f5;
    border-left: 4px solid #cf0a2c;
    border-radius: 6px;
}

.cr-note b {
    display: block;
    font-size: 14.5px;
    color: #cf0a2c;
    font-weight: 600;
    margin-bottom: 6px;
}

.cr-note p {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.cr-radios {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.cr-field .cr-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    color: #222;
    margin: 0;
    cursor: pointer;
}

.cr-radio input {
    width: 18px;
    height: 18px;
    accent-color: #cf0a2c;
    margin: 0;
    cursor: pointer;
}