/* Career page — desktop form styling.
   Scoped under #career-section so it cannot leak into other pages
   (the markup also re-uses some IDs from support_view, but those rules live
   in support.css and would not match because the IDs differ.). */

#career-section {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
}

#career-section-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
    text-align: left;
    font-weight: 700;
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#career-form-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: start;
}

.career-col h3 {
    font-size: 1.15rem;
    text-align: left;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.career-col h3 .highlight-bar {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #3764FF;
    flex: 0 0 auto;
}

/* Two-column field grid inside Personal Details for short inputs */
.career-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
}

.career-fields .career-full {
    grid-column: 1 / -1;
}

.career-fields input,
.career-fields textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    background-color: #f1f1f1;
    color: #000;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.career-fields input:focus,
.career-fields textarea:focus {
    outline: none;
    border-color: #3764FF;
    box-shadow: 0 0 0 3px rgba(55, 100, 255, 0.18);
}

.career-fields textarea {
    min-height: 120px;
    resize: vertical;
}

/* Resume column */
.resume-help {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 10px;
}

.resume-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 28px 16px;
    border: 2px dashed rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.04);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.resume-drop:hover,
.resume-drop.is-hover {
    border-color: #3764FF;
    background-color: rgba(55, 100, 255, 0.08);
}

.resume-drop .resume-icon {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.65);
}

.resume-drop .resume-primary {
    font-size: 0.95rem;
    color: #fff;
}

.resume-drop .resume-secondary {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.resume-drop input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.resume-filename {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #cfe1ff;
    word-break: break-all;
    min-height: 1.2em;
}

.career-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 22px;
    font-size: 0.85rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.career-privacy input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #3764FF;
}

#career-submit-btn {
    width: 100%;
    background-color: #ff0f39;
    color: #fff;
    padding: 14px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

#career-submit-btn:hover:not(:disabled) {
    background-color: #d50d30;
}

#career-submit-btn:active:not(:disabled) {
    transform: translateY(1px);
}

#career-submit-btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Collapse to single column on narrower viewports / tablets */
@media (max-width: 900px) {
    #career-form-container {
        grid-template-columns: 1fr;
    }
    .career-fields {
        grid-template-columns: 1fr;
    }
}

/* Spinner (used inside the submit button while submitting) */
.spinner-border {
    display: inline-block;
    vertical-align: middle;
    border: 0.15em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}
