/**
* recruitment.css
* 招商加盟页面
* 作者：莫哥
* 日期：2026/06/01
* 版本：1.0.0
*/
/* ========== 验证码与提交按钮同行布局优化 ========== */
.recruitment-page {
    padding-top: 90px !important;
    min-height: 100vh; 
}

.recruitment-card-list {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}
.recruitment-card-list:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 30px rgba(0,0,0,0.1);
}
.recruitment-card-list .card-body {
    padding: 20px 22px 14px;
    flex: 1;
}
.recruitment-card-list .card-footer {
    padding: 12px 22px 20px;
    background: transparent;
    border-top: none;
    text-align: right;
}
.position-title-list {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 8px;
}
.position-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}
.position-meta-list .badge {
    font-size: 13px;
    padding: 4px 12px;
}
.job-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---------- 详情模式 ---------- */
.recruitment-card {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
}
.card-header {
    background: linear-gradient(135deg, #4A90D9, #764ba2);
    color: #fff;
    padding: 30px 35px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}
.header-left {
    flex: 1;
}
.header-right {
    flex-shrink: 0;
    padding-top: 4px;
}
.position-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}
.position-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.position-meta .badge {
    font-size: 14px;
    padding: 6px 14px;
}
.btn-resume {
    background: rgba(255,255,255,0.95);
    color: #4A90D9;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}
.btn-resume:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-resume i {
    margin-right: 6px;
}
.card-body {
    padding: 30px 35px;
}
.card-body p {
    margin-bottom: 8px;
    font-size: 16px;
}
.position-content h5 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}
.card-footer {
    padding: 16px 35px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}


/* ========== 招商模块 - 紧凑布局（覆盖） ========== */
.franchise-section .franchise-form-card .form-title,
.franchise-section .franchise-intro-card .intro-title {
    font-size: 14px !important;
    margin-bottom: 10px;
}
.franchise-section .franchise-form-card label,
.franchise-section .franchise-form-card .form-label,
.franchise-section .franchise-intro-card .intro-content,
.franchise-section .franchise-intro-card .intro-contact li,
.franchise-section .franchise-intro-card .intro-wechat p {
    font-size: 11px !important;
}
.franchise-section .franchise-form-card .form-control,
.franchise-section .franchise-form-card .form-select,
.franchise-section .franchise-form-card .btn {
    font-size: 11px !important;
}
.franchise-section .franchise-form-card .form-section-title {
    font-size: 13px;
    margin-bottom: 10px;
    padding-bottom: 4px;
}
.franchise-section .franchise-form-card .row > .mb-3 {
    margin-bottom: 8px !important;
}
.franchise-section .franchise-form-card,
.franchise-section .franchise-intro-card {
    padding: 15px 18px !important;
}
.franchise-section .franchise-form-card .form-section-title:not(:first-child) {
    margin-top: 12px;
}
.franchise-section .franchise-intro-card .intro-contact {
    padding: 10px 15px;
    margin-top: 10px;
}
.franchise-section .franchise-intro-card .intro-contact h6 {
    font-size: 12px;
}
.franchise-section .franchise-intro-card .intro-wechat img {
    max-width: 120px !important;
}

/* ========== 验证码与提交按钮同行布局优化（强力覆盖） ========== */
.captcha-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap; /* 强制不换行 */
}

.captcha-row .form-control.captcha-input {
    width: 130px !important; /* 输入框固定宽度 */
    height: 38px;
    flex-shrink: 0;
    font-size: 14px !important; /* 覆盖全局 11px */
}

.captcha-row .captcha-img {
    height: 38px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    cursor: pointer;
    flex-shrink: 0;
}

.captcha-row .btn.captcha-submit {
    height: 38px;
    padding: 0 15px;
    font-size: 14px !important; /* 覆盖全局 11px */
    white-space: nowrap;
    flex-shrink: 0;
    flex-grow: 1; /* 自动撑满剩余宽度 */
    max-width: 150px; /* 最大宽度限制 */
}

/* ---------- 响应式 ---------- */
@media (max-width: 767.98px) {
    .card-header {
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
    }
    .header-right {
        align-self: flex-end;
    }
    .position-title {
        font-size: 22px;
    }
    .card-body {
        padding: 20px;
    }
    .card-body p {
        font-size: 14px;
    }
    .content-text {
        font-size: 14px;
    }
}