/* ================================================================
   PRAXISLY CAREERS PAGE STYLESHEET — careers.css
   Brand Theme: Burgundy Maroon (#7B0D2E), Royal Gold (#FDBB10, #D4A017)
   ================================================================ */

/* ─── 1. CAREERS HERO SECTION ────────────────────────────── */
.careers-hero {
    padding: 80px 0 60px 0;
    text-align: center;
    position: relative;
}

.careers-hero .container {
    max-width: 1000px;
}

.careers-hero .subheading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(123, 13, 46, 0.08);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
    border: 1px solid rgba(123, 13, 46, 0.15);
}

.careers-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.careers-hero h1 span.highlight-gold {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.careers-hero-sub {
    font-size: 18px;
    color: var(--text-light);
    max-width: 720px;
    margin: 0 auto 32px auto;
    line-height: 1.6;
}

.careers-hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-pill-badge i {
    color: var(--secondary);
    font-size: 16px;
}

/* ─── 2. CULTURE & PERKS ─────────────────────────────────── */
.careers-perks-section {
    padding: 40px 0 70px 0;
}

.section-header-center {
    text-align: center;
    margin-bottom: 48px;
}

.section-header-center h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-header-center p {
    font-size: 16px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.perk-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.perk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(123, 13, 46, 0.08);
    border-color: rgba(123, 13, 46, 0.2);
}

.perk-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(123, 13, 46, 0.1) 0%, rgba(212, 160, 23, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 26px;
    margin-bottom: 20px;
}

.perk-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.perk-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ─── 3. OPEN POSITIONS ──────────────────────────────────── */
.careers-openings-section {
    padding: 70px 0;
    background: rgba(123, 13, 46, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.job-cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
}

.job-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.job-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.job-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(123, 13, 46, 0.09);
    border-color: rgba(123, 13, 46, 0.25);
}

.job-card:hover::before {
    opacity: 1;
}

.job-info-left {
    flex: 1;
}

.job-meta-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.job-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 6px;
}

.job-tag.dept-mentorship {
    background: rgba(123, 13, 46, 0.1);
    color: var(--primary);
}

.job-tag.dept-sales {
    background: rgba(212, 160, 23, 0.15);
    color: #926C08;
}

.job-tag.dept-marketing {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.job-tag.type-pill {
    background: #f1f5f9;
    color: #475569;
}

.job-card h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.job-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 14px;
    max-width: 600px;
}

.job-details-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.job-details-row span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.job-details-row i {
    color: var(--secondary);
    font-size: 15px;
}

.job-action-right {
    flex-shrink: 0;
}

.btn-apply-job {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, #52081E 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(123, 13, 46, 0.25);
    border: none;
    cursor: pointer;
}

.btn-apply-job:hover {
    background: var(--secondary);
    color: #1E030B;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 160, 23, 0.35);
}

/* ─── 4. APPLICATION FORM & EMAIL CALLOUT SECTION ────────── */
.careers-apply-section {
    padding: 80px 0;
}

.careers-apply-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 48px;
    align-items: flex-start;
}

/* Left: Info & Official Email Card (Exact Reference Widget) */
.careers-apply-info h2 {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.careers-apply-info p.lead-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 32px;
}

.official-email-callout {
    background: #ffffff;
    border: 1.5px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.official-email-callout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.callout-eyebrow {
    font-size: 12px;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 8px;
    display: block;
}

.callout-email-link {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 6px;
    transition: color 0.2s ease;
}

.callout-email-link:hover {
    color: var(--secondary);
}

.callout-timing {
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.callout-timing i {
    color: var(--secondary);
}

.quick-hiring-faq {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hiring-faq-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.hiring-faq-item i {
    color: #10B981;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.hiring-faq-item strong {
    display: block;
    color: var(--text-dark);
    font-size: 14px;
    margin-bottom: 2px;
}

.hiring-faq-item span {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.4;
}

/* Right: Form Card */
.careers-form-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 36px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.06);
}

.careers-form-card h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.careers-form-card p.form-subtitle {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.careers-form-card .form-group {
    margin-bottom: 18px;
}

.careers-form-card label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.careers-form-card label span.req {
    color: #ef4444;
}

.careers-form-card .input-wrapper {
    position: relative;
}

.careers-form-card .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
    transition: color 0.2s ease;
}

.careers-form-card input[type="text"],
.careers-form-card input[type="email"],
.careers-form-card input[type="tel"],
.careers-form-card select,
.careers-form-card textarea {
    width: 100%;
    padding: 12px 14px 12px 42px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--text-dark);
    background: #f8fafc;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.careers-form-card select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.careers-form-card .select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.careers-form-card textarea {
    padding: 12px 14px;
    min-height: 90px;
    resize: vertical;
}

.careers-form-card input:focus,
.careers-form-card select:focus,
.careers-form-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(123, 13, 46, 0.1);
}

.careers-form-card input:focus + .input-icon {
    color: var(--primary);
}

/* ─── RESUME ATTACHMENT DROPZONE ─────────────────────────── */
.resume-dropzone {
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 12px;
    padding: 22px 18px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.resume-dropzone:hover,
.resume-dropzone.dragover {
    border-color: var(--primary);
    background: rgba(123, 13, 46, 0.03);
}

.resume-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.dropzone-idle i {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 6px;
    display: inline-block;
}

.dropzone-idle .drop-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.dropzone-idle .drop-desc {
    font-size: 12px;
    color: var(--text-light);
}

.dropzone-selected {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    padding: 10px 14px;
}

.dropzone-selected.active {
    display: flex;
}

.selected-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.selected-file-info i {
    font-size: 24px;
    color: #10B981;
}

.selected-file-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selected-file-size {
    font-size: 11px;
    color: var(--text-light);
}

.btn-remove-file {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 16px;
    padding: 4px;
    position: relative;
    z-index: 3;
}

/* Submit Button */
.btn-submit-app {
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, #52081E 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(123, 13, 46, 0.25);
    margin-top: 10px;
}

.btn-submit-app:hover {
    background: var(--secondary);
    color: #1E030B;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 160, 23, 0.35);
}

/* Success & Error Inline Alerts */
.career-success-msg {
    display: none;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 10px;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 16px;
    text-align: center;
}

.career-success-msg.active {
    display: block;
}

.career-error-msg {
    display: none;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
    text-align: center;
}

/* Responsive */
@media (max-width: 991px) {
    .careers-hero h1 {
        font-size: 36px;
    }
    .careers-apply-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-apply-job {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
    .careers-form-card {
        padding: 24px 20px;
    }
}
