/* BRA Careers — public internship / job application form */

.cr-page {
    --cr-ink: #122833;
    --cr-teal: #055d78;
    --cr-teal-dark: #033d50;
    --cr-teal-soft: #e7f4f8;
    --cr-gold: #a97816;
    --cr-line: #d5e1e6;
    --cr-muted: #5c7080;
    --cr-bg: #e8eef2;
    --cr-danger: #9d3040;
    --cr-danger-soft: #fdecee;
    --cr-ok: #1b6b4a;
    --cr-ok-soft: #e8f6ef;
    --cr-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    box-sizing: border-box;
    background:
        radial-gradient(1200px 420px at 50% -80px, rgba(5, 93, 120, 0.07), transparent 70%),
        var(--cr-bg);
    color: var(--cr-ink);
    font-family: var(--cr-font);
    padding: 28px clamp(20px, 3.5vw, 48px) 64px;
}

.cr-page *,
.cr-page *::before,
.cr-page *::after {
    box-sizing: border-box;
}

.cr-wrap {
    width: min(920px, 100%);
    margin: 0 auto;
}

.cr-kicker {
    margin: 0 0 6px;
    color: var(--cr-gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cr-heading__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.cr-page h1 {
    margin: 0;
    color: var(--cr-ink);
    font-size: clamp(1.7rem, 2.2vw, 2.1rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.cr-page h1::before,
.cr-page h1::after {
    content: none !important;
    display: none !important;
}

.cr-lead {
    max-width: 46rem;
    margin: 12px 0 0;
    color: var(--cr-muted);
    font-size: 0.98rem;
    line-height: 1.55;
}

.cr-lead strong {
    color: var(--cr-teal-dark);
}

.cr-ad-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 999px;
    color: var(--cr-teal-dark);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(8, 40, 54, 0.04);
    white-space: nowrap;
}

.cr-ad-link:hover {
    border-color: var(--cr-teal);
    color: var(--cr-teal);
}

.cr-notice {
    margin-top: 20px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #fffdf8 0%, #fff 100%);
    border: 1px solid #ead9b0;
    border-left: 4px solid var(--cr-gold);
    border-radius: 14px;
}

.cr-notice__title {
    margin: 0 0 8px;
    color: var(--cr-teal-dark);
    font-size: 0.95rem;
    font-weight: 800;
}

.cr-notice__list {
    margin: 0;
    padding: 0 0 0 1.15rem;
    color: var(--cr-ink);
    font-size: 0.9rem;
    line-height: 1.55;
}

.cr-notice__list li + li {
    margin-top: 6px;
}

.cr-support {
    margin-top: 20px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(8, 40, 54, 0.04);
}

.cr-support__title {
    margin: 0 0 4px;
    color: var(--cr-teal-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

.cr-support__text {
    margin: 0;
    color: var(--cr-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.cr-support__text a {
    color: var(--cr-teal);
    font-weight: 700;
    text-decoration: none;
}

.cr-support__text a:hover {
    text-decoration: underline;
}

.cr-card {
    margin-top: 22px;
    padding: clamp(22px, 2.4vw, 36px) clamp(20px, 2.8vw, 40px) clamp(20px, 2vw, 28px);
    background: #fff;
    border: 1px solid rgba(8, 40, 54, 0.08);
    border-top: 3px solid var(--cr-teal);
    border-radius: 20px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.8) inset,
        0 18px 48px rgba(8, 40, 54, 0.07),
        0 2px 6px rgba(8, 40, 54, 0.04);
}

.cr-must {
    margin: 0 0 18px;
    color: var(--cr-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.cr-banner {
    margin: 0 0 16px;
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    background: var(--cr-danger-soft);
    color: var(--cr-danger);
}

.cr-banner.is-ok {
    background: var(--cr-ok-soft);
    color: var(--cr-ok);
}

.cr-set {
    margin: 0 0 22px;
    padding: 0;
    border: 0;
}

.cr-set legend {
    display: block;
    width: 100%;
    margin: 0 0 16px;
    padding: 10px 16px;
    background: linear-gradient(90deg, #eef6f9 0%, #f7fbfd 100%);
    border: 1px solid #d5e4ea;
    border-left: 4px solid var(--cr-teal);
    border-radius: 10px;
    float: none;
}

.cr-legend-en {
    color: var(--cr-teal-dark);
    font-size: 0.92rem;
    font-weight: 800;
}

.cr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
}

.cr-span-2 {
    grid-column: 1 / -1;
}

.cr-field {
    min-width: 0;
}

.cr-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0 0 6px;
}

.cr-label-en {
    color: var(--cr-ink);
    font-size: 0.86rem;
    font-weight: 700;
}

.cr-req {
    margin-left: 3px;
    color: var(--cr-danger);
    text-decoration: none;
    font-weight: 800;
}

.cr-opt {
    margin-left: 6px;
    color: var(--cr-muted);
    font-size: 0.75rem;
    font-weight: 600;
}

.cr-input,
.cr-textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--cr-line);
    border-radius: 10px;
    color: var(--cr-ink);
    font-family: var(--cr-font);
    font-size: 0.95rem;
    line-height: 1.35;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cr-textarea {
    min-height: 96px;
    resize: vertical;
}

.cr-input:focus,
.cr-textarea:focus {
    outline: none;
    border-color: var(--cr-teal);
    box-shadow: 0 0 0 3px rgba(5, 93, 120, 0.12);
}

.cr-input.is-invalid,
.cr-file.is-invalid + .cr-upload__ui,
.cr-check.is-invalid {
    border-color: var(--cr-danger);
}

.cr-input.is-invalid {
    background: #fff8f8;
}

.cr-hint {
    margin: 6px 0 0;
    color: var(--cr-muted);
    font-size: 0.78rem;
    line-height: 1.4;
}

.cr-error {
    margin: 6px 0 0;
    color: var(--cr-danger);
    font-size: 0.8rem;
    font-weight: 600;
}

.cr-doc-note {
    margin: -4px 0 14px;
    padding: 10px 12px;
    background: var(--cr-teal-soft);
    border-radius: 10px;
    color: var(--cr-teal-dark);
    font-size: 0.84rem;
    line-height: 1.45;
}

.cr-upload {
    display: block;
    cursor: pointer;
}

.cr-file {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.cr-upload__ui {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 10px;
    background: #f7fbfd;
    border: 1px dashed #b7cbd5;
    border-radius: 10px;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.cr-upload:hover .cr-upload__ui,
.cr-upload:focus-within .cr-upload__ui {
    border-color: var(--cr-teal);
    background: #eef7fa;
}

.cr-upload__ui.is-ok {
    border-style: solid;
    border-color: #9dccb4;
    background: var(--cr-ok-soft);
}

.cr-upload__ui.is-bad {
    border-style: solid;
    border-color: #e3a4ad;
    background: var(--cr-danger-soft);
}

.cr-upload__btn {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    background: var(--cr-teal);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.cr-upload__name {
    min-width: 0;
    overflow: hidden;
    color: var(--cr-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0;
    padding: 14px;
    background: #f8fbfd;
    border: 1px solid var(--cr-line);
    border-radius: 12px;
    color: var(--cr-ink);
    font-size: 0.88rem;
    line-height: 1.5;
    cursor: pointer;
}

.cr-check input {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--cr-teal);
}

.cr-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--cr-line);
}

.cr-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    background: linear-gradient(180deg, #06708f 0%, var(--cr-teal-dark) 100%);
    border: 0;
    border-radius: 12px;
    color: #fff;
    font-family: var(--cr-font);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(3, 61, 80, 0.22);
}

.cr-btn:hover {
    filter: brightness(1.05);
}

.cr-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    filter: none;
}

.cr-actions__note {
    margin: 0;
    max-width: 28rem;
    color: var(--cr-muted);
    font-size: 0.8rem;
    line-height: 1.45;
}

@media (max-width: 720px) {
    .cr-grid {
        grid-template-columns: 1fr;
    }

    .cr-span-2 {
        grid-column: auto;
    }

    .cr-heading__top {
        flex-direction: column;
    }
}
