/* ==========================================================================
   CTA FORM (Nộp CV ứng tuyển) — partial dùng chung toàn site (common/cta-form)
   Dùng :root + .shell từ shell.css
   ========================================================================== */
.cta-form {
    font-family: var(--font-shell);
    position: relative;
    padding: 72px 0 88px;
    color: #fff;
}

.cta-form__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: fill;
    z-index: 0;
}

.cta-form__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 520px;
    gap: 56px;
    align-items: stretch;
}

.cta-form__content {
    display: flex;
    flex-direction: column;
    padding: 40px 0;
}

/* Left content */
.cta-form__title {
    margin: 0;
    text-transform: uppercase;
    font-weight: 800;
}

.cta-form__line {
    display: block;
    line-height: 1.16;
}

.cta-form__line--sm {
    font-size: 40px;
    color: #fff;
}

.cta-form__line--xl {
    font-size: 114px;
    line-height: 1.2;
    margin: 10px 0;
    padding-top: .08em;
    background: linear-gradient(180deg, #FDDA35 36.06%, #FE9C2B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.cta-form__lead {
    margin: 24px 0 0;
    max-width: 520px;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    color: #fff;
}

.cta-form__list {
    list-style: none;
    margin: auto 0 0;
    padding: 40px 0 0;
    max-width: 560px;
}

.cta-form__point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 0;
    font-size: 22px;
    font-weight: 400;
    line-height: 23px;
    color: #fff;
    border-bottom: 1px dashed rgba(255, 255, 255, .35);
}

.cta-form__point:last-child { border-bottom: 0; }
.cta-form__check { flex: 0 0 auto; margin-top: 1px; }

/* Right card */
.cta-form__card {
    background: #fff;
    border-radius: 24px;
    padding: 32px 34px;
    color: var(--ink);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}

.cta-form__card-title {
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 24px;
    color: #1a1a1a;
}

.cta-form__card-sub {
    margin: 8px 0 22px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

.cta-form__alert {
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 14px;
}

.cta-form__alert--ok { background: #e7f7ee; color: #15803d; }
.cta-form__alert--err { background: #fdecec; color: #b91c1c; }

.cta-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cta-field { margin-bottom: 16px; }

.cta-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.cta-label span { color: var(--brand); }

.cta-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 13px 15px;
    font-size: 15px;
    font-family: inherit;
    color: #111827;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.cta-input::placeholder { color: #9ca3af; }

.cta-input:focus {
    outline: 0;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(219, 31, 31, .12);
    background: #fff;
}

.cta-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 38px;
}

.cta-textarea { resize: vertical; min-height: 92px; }

.cta-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
    padding: 26px 16px;
    border: 1.5px dashed #e7a9ac;
    border-radius: 14px;
    background: #fdeeee;
    cursor: pointer;
    transition: border-color .18s var(--ease), background .18s var(--ease);
}

.cta-dropzone:hover { border-color: var(--brand); background: #fce4e4; }
.cta-dropzone__main { font-size: 14px; color: #4b5563; font-weight: 500; word-break: break-word; }
.cta-dropzone__hint { font-size: 12.5px; color: #9ca3af; }

.cta-submit {
    width: 100%;
    margin-top: 22px;
    border: 0;
    border-radius: 12px;
    padding: 15px;
    background: var(--brand);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background .18s var(--ease), opacity .18s var(--ease);
}

.cta-submit:hover { background: var(--brand-dark); }
.cta-submit[disabled] { opacity: .7; cursor: not-allowed; }

.cta-spinner {
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    display: inline-block;
    vertical-align: -.15em;
    margin-right: .5em;
    animation: cta-spin .7s linear infinite;
}

@keyframes cta-spin { to { transform: rotate(360deg); } }

.cta-form__note {
    margin: 8px 0 0;
    text-align: center;
    font-size: 12.5px;
    color: #9ca3af;
}

.cta-form__note a { color: var(--brand); text-decoration: none; }

@media (max-width: 991px) {
    .cta-form { padding: 56px 0 64px; }
    .cta-form__inner { grid-template-columns: 1fr; gap: 40px; }
    .cta-form__content { padding: 0; }
    .cta-form__line--xl { font-size: 84px; }
    .cta-form__card { max-width: 560px; margin: 0 auto; width: 100%; }
}

@media (max-width: 560px) {
    .cta-form__line--sm { font-size: 30px; }
    .cta-form__line--xl { font-size: 60px; }
    .cta-form__lead,
    .cta-form__point { font-size: 18px; }
    .cta-form__point { line-height: 1.35; }
    .cta-field-row { grid-template-columns: 1fr; gap: 0; }
    .cta-form__card { padding: 24px 20px; }
}
