/* TexasJobs Pro — theme styles */
.tjp-frame {
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}
.tjp-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.tjp-container {
    max-width: 1140px;
    margin: 0 auto;
    background: #fff;
    min-height: 100vh;
    box-shadow: 0 0 24px rgba(0,0,0,0.08);
}

/* Top utility bar */
.tjp-utility-bar {
    background: #1b2432;
    color: #cbd5e1;
    font-size: 13px;
    padding: 6px 0;
}
.tjp-utility-bar a {
    color: #94a3b8;
    text-decoration: none;
    margin-right: 14px;
}
.tjp-utility-bar a:hover { color: #fff; }
.tjp-utility-left, .tjp-utility-right { display: inline-block; vertical-align: middle; }
.tjp-utility-right { float: right; }
.tjp-pipe { color: #475569; margin: 0 6px; }

/* Main header */
.tjp-header {
    padding: 20px 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.tjp-logo {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.tjp-logo-site { color: #111827; }
.tjp-logo-jobs { color: #2b6cb0; }
.tjp-tagline {
    font-size: 14px;
    color: #475569;
    max-width: 420px;
    line-height: 1.4;
}
.tjp-main-nav { margin-left: auto; }
.tjp-main-menu {
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.tjp-main-menu a {
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
.tjp-main-menu a:hover { color: #2b6cb0; }

/* Search hero bar */
.tjp-search-bar {
    background: #f1f5f9;
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.tjp-search-form {
    display: flex;
    gap: 6px;
    flex: 1 1 400px;
}
.tjp-search-form input {
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
}
.tjp-s { flex: 1; }
.tjp-search-btn {
    background: #2b6cb0;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.tjp-search-btn:hover { background: #1e4e87; }
.tjp-radius {
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.tjp-radius select {
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    font-size: 13px;
}

/* Content layout */
.tjp-main {
    display: flex;
    gap: 2rem;
    padding: 24px 0;
}
.tjp-content { flex: 1; min-width: 0; }
.tjp-sidebar {
    width: 340px;
    flex-shrink: 0;
}

/* Home / archive headers */
.tjp-home-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.tjp-home-header h1 {
    margin: 0;
    font-size: 20px;
    color: #111827;
}
.tjp-rss {
    color: #f59e0b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Filters */
.tjp-filters {
    margin-bottom: 14px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}
.tjp-filter-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.tjp-filter-form input.tjp-filter-keyword,
.tjp-filter-form input.tjp-filter-location {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    min-width: 150px;
}
.tjp-filter-form select.tjp-filter-radius {
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
}
.tjp-filter-check {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    cursor: pointer;
}
.tjp-remove-filters {
    font-size: 13px;
    color: #ef4444;
    text-decoration: none;
    margin-left: 10px;
}
.tjp-remove-filters:hover { text-decoration: underline; }

/* Job rows */
.tjp-jobs-list { display: flex; flex-direction: column; gap: 10px; }
.tjp-job-row {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
}
.tjp-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    min-width: 78px;
    text-align: center;
    flex-shrink: 0;
}
.tjp-job-info { flex: 1; min-width: 0; }
.tjp-job-title {
    margin: 0 0 4px;
    font-size: 15px;
}
.tjp-job-title a { color: #2b6cb0; text-decoration: none; font-weight: 700; }
.tjp-job-title a:hover { text-decoration: underline; }
.tjp-job-sub {
    display: flex;
    gap: 6px;
    font-size: 12.5px;
    color: #475569;
}
.tjp-sep { color: #94a3b8; }
.tjp-job-meta {
    display: flex;
    gap: 14px;
    font-size: 12.5px;
    color: #64748b;
    margin-left: auto;
    white-space: nowrap;
}

/* Pagination */
.tjp-pagination {
    margin-top: 18px;
    display: flex;
    gap: 6px;
    justify-content: center;
}
.tjp-pagination a, .tjp-pagination span {
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    color: #111827;
}
.tjp-pagination a:hover { border-color: #2b6cb0; color: #2b6cb0; }
.tjp-pagination span.current {
    background: #2b6cb0;
    color: #fff;
    border-color: #2b6cb0;
}
.tjp-no-jobs { color: #64748b; font-size: 14px; padding: 1rem 0; }

/* Sidebar widgets */
.ajb-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 18px;
    padding: 14px;
}
.ajb-widget-title {
    margin: 0 0 10px;
    font-size: 15px;
    color: #111827;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 6px;
}
.tjp-submit-box {
    background: #eef4fb;
    border: 1px solid #bfdbfe;
    text-align: center;
    padding: 16px;
    border-radius: 6px;
}
.tjp-submit-box .tjp-submit-btn {
    display: inline-block;
    background: #2b6cb0;
    color: #fff;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 6px;
}
.tjp-submit-box .tjp-submit-btn:hover { background: #1e4e87; }
.tjp-submit-caption { font-size: 13px; color: #475569; }

/* Accordion */
.tjp-accordion-details { margin: 8px 0 0 16px; font-size: 13px; color: #475569; }
.tjp-accordion-details a {
    display: block;
    padding: 4px 0;
    color: #2b6cb0;
    text-decoration: none;
}
.tjp-accordion-details a:hover { text-decoration: underline; }
details { cursor: pointer; }
summary {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    padding: 6px 0;
    list-style: none;
    outline: none;
}
summary::-webkit-details-marker { color: #2b6cb0; }

/* Tag cloud */
.tjp-tagcloud a {
    display: inline-block;
    background: #f1f5f9;
    color: #2b6cb0;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 2px 4px 2px 0;
    font-size: 13px;
}
.tjp-tagcloud a:hover { background: #e2e8f0; }
.tjp-muted { color: #94a3b8; font-size: 13px; font-style: italic; }

/* New jobs / categories lists */
.tjp-widget-list { list-style: none; margin: 0; padding: 0; }
.tjp-widget-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}
.tjp-widget-list li:last-child { border-bottom: none; }
.tjp-widget-list a { color: #2b6cb0; text-decoration: none; }
.tjp-widget-list a:hover { text-decoration: underline; }
.tjp-widget-count { float: right; color: #64748b; }

/* Single job */
.tjp-breadcrumbs {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}
.tjp-breadcrumbs a { color: #2b6cb0; text-decoration: none; }
.tjp-login-notice {
    background: #fffbcc;
    border: 1px solid #ffe08a;
    color: #7c5e0a;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 14px;
    font-size: 14px;
}
.tjp-job-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}
.tjp-job-title { margin: 0; font-size: 24px; color: #111827; }
.tjp-job-sub { font-size: 14px; color: #475569; margin-bottom: 6px; }
.tjp-job-meta { font-size: 13px; color: #64748b; display: flex; gap: 12px; flex-wrap: wrap; }
.tjp-job-content {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 1rem;
}
.tjp-map-wrap { margin: 1.5rem 0; }
.tjp-apply-btn {
    display: inline-block;
    background: #262626;
    color: #fff;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    margin: 1rem 0;
    width: 100%;
    box-sizing: border-box;
}
.tjp-apply-btn:hover { background: #111; }
.tjp-job-meta-bar {
    border-top: 1px solid #e2e8f0;
    padding-top: 12px;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
}
.tjp-tag-label { font-weight: 700; color: #111827; }
.tjp-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #2b6cb0;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 6px;
    font-size: 12px;
}
.tjp-job-stats { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.tjp-print {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #333;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}
.tjp-print:hover { background: #e2e8f0; }

/* Save button on single job */
.tjp-save-btn {
    display: inline-block;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #333;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    margin-top: 1rem;
}
.tjp-save-btn:hover { background: #e2e8f0; }
.tjp-save-btn.ajb-saved {
    background: #2b6cb0;
    color: #fff;
    border-color: #1e4e87;
}

.tjp-comments-wrap { margin-top: 2rem; }

/* Online indicator */
.tjp-online-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #1b2432;
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
}
.tjp-online-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: tjp-pulse 2s infinite;
}
@keyframes tjp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Job Chatbot */
.ajb-chatbot {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 340px;
    height: 420px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: none;
}
.ajb-chatbot-header {
    background: #2b6cb0;
    color: #fff;
    padding: 10px 14px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 15px;
}
.ajb-chatbot-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0 4px;
}
.ajb-chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 14px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ajb-msg {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.4;
}
.ajb-msg-bot {
    align-self: flex-start;
    background: #e2e8f0;
    color: #1e293b;
    border-bottom-left-radius: 2px;
}
.ajb-msg-user {
    align-self: flex-end;
    background: #2b6cb0;
    color: #fff;
    border-bottom-right-radius: 2px;
}
.ajb-msg-bot ul { margin: 6px 0 0 18px; padding: 0; font-size: 13px; }
.ajb-msg-bot li { margin: 4px 0; }
.ajb-msg-bot a { color: #2b6cb0; text-decoration: underline; }
.ajb-chatbot-input {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #cbd5e1;
    background: #fff;
    border-radius: 0 0 12px 12px;
}
.ajb-chatbot-input input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
}
.ajb-chatbot-input button {
    background: #2b6cb0;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.ajb-chatbot-input button:hover { background: #1e4e87; }

.ajb-chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    background: #2b6cb0;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(43,108,176,0.3);
    z-index: 9998;
}
.ajb-chatbot-toggle .ajb-chatbot-icon {
    display: inline-block;
}
.ajb-chatbot-toggle #ajb_chatbot_badge {
    position: absolute;
    top: 6px;
    right: 6px;
    background: #ef4444;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 8px;
    padding: 1px 5px;
    min-width: 16px;
    text-align: center;
    line-height: 16px;
}

/* Footer */
.tjp-footer {
    background: #262626;
    color: #94a3b8;
    padding: 30px 0;
    font-size: 13px;
}
.tjp-footer-cols {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.tjp-footer-col { flex: 1; min-width: 200px; }
.tjp-footer-col h4 {
    color: #fff;
    font-size: 15px;
    margin: 0 0 10px;
    border-bottom: 1px solid #3d3d3d;
    padding-bottom: 6px;
}
.tjp-footer-col p { line-height: 1.6; margin: 6px 0; }
.tjp-footer-col a { color: #94a3b8; text-decoration: none; }
.tjp-footer-col a:hover { color: #fff; }

/* Responsive */
@media (max-width: 768px) {
    .tjp-container { max-width: 100%; }
    .tjp-header { flex-direction: column; align-items: flex-start; }
    .tjp-tagline { max-width: 100%; }
    .tjp-main-nav { width: 100%; margin-top: 10px; }
    .tjp-main-menu { gap: 14px; font-size: 13px; }
    .tjp-search-bar { flex-direction: column; align-items: stretch; }
    .tjp-radius { justify-content: space-between; }
    .tjp-main { flex-direction: column; padding: 16px 0; }
    .tjp-sidebar { width: 100%; }
    .tjp-utility-bar { padding: 10px 0; }
    .tjp-utility-left, .tjp-utility-right { display: block; text-align: center; }
    .tjp-utility-right { float: none; margin-top: 8px; }
    .tjp-utility-menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0; margin: 0; list-style: none; }
    .tjp-utility-menu li { margin: 0; }
    .tjp-pipe { display: none; }
    .tjp-job-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .tjp-job-meta { margin-left: 0; justify-content: space-between; width: 100%; }
    .tjp-job-header { flex-direction: column; align-items: flex-start; }
    .tjp-job-meta-bar { flex-direction: column; gap: 8px; }
    .tjp-job-stats { margin-left: 0; flex-wrap: wrap; }
}
.tjp-adsense-placeholder {
    border: 1px dashed #ccc; background: #fafafa; color: #888;
    font-size: 13px; text-align: center; padding: 20px 10px; border-radius: 4px;
    margin: 1rem 0;
}
.tjp-page { max-width: 760px; }
.tjp-page-title { font-size: 24px; margin: 0 0 1rem; color: #111827; }
.tjp-page-content { font-size: 15px; line-height: 1.7; color: #333; }
.tjp-post { max-width: 760px; }
.tjp-post-title { font-size: 26px; margin: 0 0 0.5rem; color: #111827; }
.tjp-post-meta { font-size: 13px; color: #64748b; margin-bottom: 1rem; }
.tjp-post-content { font-size: 15px; line-height: 1.7; color: #333; }
.tjp-post-excerpt { color: #555; }
