/* =========================================================
   Cons Recruitment - Stylesheet
   ========================================================= */

:root {
    --cr-orange: #f1592a;
    --cr-orange-dark: #d8481e;
    --cr-text: #2b2b2b;
    --cr-muted: #767676;
    --cr-border: #ececec;
    --cr-bg-soft: #f7f6f4;
    --cr-radius: 12px;
}

.cr-wrapper * { box-sizing: border-box; }

.cr-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

/* Breadcrumb */
.cr-breadcrumb {
    font-size: 14px;
    color: var(--cr-muted);
    margin-bottom: 18px;
}
.cr-breadcrumb a { color: var(--cr-muted); text-decoration: none; }
.cr-breadcrumb span { color: var(--cr-text); font-weight: 600; }

/* ===== LAYOUT CHI TIẾT ===== */
.cr-detail-area {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.cr-left-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.cr-main-col {
    background: #fff;
    border: 1px solid var(--cr-border);
    border-radius: var(--cr-radius);
    padding: 32px;
}
.cr-sidebar { width: 340px; flex-shrink: 0; }

@media (max-width: 900px) {
    .cr-detail-area { flex-direction: column; }
    .cr-sidebar { width: 100%; }
    .cr-main-col { padding: 20px; }
}

/* Badges */
.cr-badges {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.cr-badge-type {
    background: #fbeae3;
    color: var(--cr-orange);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 999px;
}
.cr-views { color: var(--cr-muted); font-size: 13px; }

.cr-job-detail-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 22px;
}

/* Info row: địa điểm, ngày đăng, kinh nghiệm */
.cr-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    padding: 18px 0;
    border-top: 1px solid var(--cr-border);
    border-bottom: 1px solid var(--cr-border);
    margin-bottom: 26px;
}
.cr-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cr-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cr-bg-soft);
    color: var(--cr-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cr-info-label {
    display: block;
    font-size: 11px;
    color: var(--cr-muted);
    letter-spacing: .03em;
    margin-bottom: 2px;
}
.cr-info-item strong { font-size: 14px; color: var(--cr-text); }

/* Nội dung công việc */
.cr-job-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--cr-text);
}
.cr-job-content p { margin: 0 0 14px; }
.cr-job-content img { max-width: 100%; border-radius: 8px; }

/* Khối chia sẻ - nền tối - cùng chiều rộng cột nội dung bên trái */
.cr-share-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #1b1b1b;
    color: #fff;
    border-radius: var(--cr-radius);
    padding: 22px 26px;
}
.cr-share-box strong { display: block; font-size: 
	25px; margin-bottom: 4px; }
.cr-share-box p { margin: 0; font-size: 15px; color: #bdbdbd; }
.cr-share-icons { display: flex; gap: 10px; flex-shrink: 0; }
.cr-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background .2s ease;
}
.cr-share-btn:hover { background: var(--cr-orange); color:#fff;}

/* ===== SIDEBAR: FORM ỨNG TUYỂN ===== */
.cr-apply-box {
    background: #fff;
    border: 1px solid var(--cr-border);
    border-radius: var(--cr-radius);
    padding: 26px;
    margin-bottom: 20px;
}
.cr-apply-box h3 {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .03em;
    margin: 0 0 12px;
}
.cr-apply-divider {
    width: 50px;
    height: 3px;
    background: var(--cr-orange);
    margin: 0 auto 24px;
    border-radius: 2px;
}

.cr-form-group { margin-bottom: 16px; }
.cr-form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--cr-muted);
    letter-spacing: .04em;
    margin-bottom: 6px;
}
.cr-form-group input,
.cr-form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--cr-border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}
.cr-form-group input:focus,
.cr-form-group textarea:focus {
    outline: none;
    border-color: var(--cr-orange);
}

.cr-submit-btn {
    width: 100%;
    background: var(--cr-orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .03em;
    cursor: pointer;
    transition: background .2s ease;
}
.cr-submit-btn:hover { background: var(--cr-orange-dark); }
.cr-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.cr-form-message {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}
.cr-form-message.success { background: #e6f7ee; color: #18794e; }
.cr-form-message.error { background: #fdecea; color: #c0392b; }

/* Lưu ý khi ứng tuyển - nền tối */
.cr-note-box {
    background: #1b1b1b;
    color: #fff;
    border-radius: var(--cr-radius);
    padding: 22px 24px;
}
.cr-note-box h4 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
	color:#fff;
}
.cr-note-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.cr-note-box li {
    position: relative;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #d9d9d9;
}

/* ===== SHORTCODE: DANH SÁCH TUYỂN DỤNG ===== */
.cr-job-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cr-job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--cr-border);
    border-radius: var(--cr-radius);
    padding: 22px 26px;
    transition: box-shadow .2s ease;
}
.cr-job-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.06); }

.cr-job-badge {
    display: inline-block;
    background: #fbeae3;
    color: var(--cr-orange);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.cr-job-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--cr-text);
}
.cr-job-meta {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: var(--cr-muted);
}

.cr-job-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #181818;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 8px;
    white-space: nowrap;
    transition: background .2s ease;
}
.cr-job-btn:hover { background: var(--cr-orange); color: #fff; }

@media (max-width: 600px) {
    .cr-job-card { flex-direction: column; align-items: flex-start; }
    .cr-job-btn { width: 100%; justify-content: center; }
}
