:root {
    --ritej-ink: #2f2418;
    --ritej-muted: #756a5c;
    --ritej-blue: #f0b050;
    --ritej-blue-dark: #a87934;
    --ritej-aqua: #9d463c;
    --ritej-soft: #fff8ec;
    --ritej-line: rgba(47, 36, 24, 0.12);
    --ritej-shadow: 0 18px 45px rgba(47, 36, 24, 0.13);
    --ritej-brand-rgb: 240, 176, 80;
    --ritej-brand-dark-rgb: 168, 121, 52;
    --ritej-accent-rgb: 157, 70, 60;
}

body {
    color: var(--ritej-ink);
    background: #ffffff;
    text-rendering: optimizeLegibility;
}

a {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn {
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary,
.find-jobs-btn {
    border-color: var(--ritej-blue);
    background: var(--ritej-blue);
    color: #2f2418;
    box-shadow: 0 12px 26px rgba(var(--ritej-brand-rgb), 0.28);
}

.btn-primary:hover,
.find-jobs-btn:hover {
    border-color: var(--ritej-blue-dark);
    background: var(--ritej-blue-dark);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--ritej-blue-dark);
    border-color: rgba(var(--ritej-brand-rgb), 0.48);
    background: rgba(255, 255, 255, 0.86);
}

.btn-outline-primary:hover {
    color: #ffffff;
    border-color: var(--ritej-blue);
    background: var(--ritej-blue);
}

header.bg-light {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid var(--ritej-line);
    box-shadow: 0 10px 30px rgba(16, 32, 51, 0.06);
    backdrop-filter: blur(14px);
}

body.has-ritej-ticker {
    padding-top: 44px;
}

body.has-ritej-ticker header.bg-light {
    top: 44px;
}

body.has-ritej-guide-banner {
    padding-bottom: 56px;
}

.header-logo img {
    max-height: 58px;
    object-fit: contain;
}

.navbar .nav-link {
    color: var(--ritej-ink) !important;
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 13px !important;
}

.navbar-nav.align-items-center {
    gap: 2px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--ritej-blue-dark) !important;
    background: rgba(var(--ritej-brand-rgb), 0.14);
}

.header-btn-grp .btn,
.header-btn-grp .nav-link.btn {
    min-width: 118px;
    min-height: 44px;
    padding: 10px 18px !important;
    border-radius: 8px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.header-btn-grp .btn-secondary,
.header-btn-grp .nav-link.btn-secondary {
    color: #ffffff !important;
    border: 1px solid var(--ritej-blue-dark) !important;
    background: var(--ritej-blue-dark) !important;
    box-shadow: 0 10px 22px rgba(var(--ritej-brand-dark-rgb), 0.22);
}

.header-btn-grp .btn-secondary:hover,
.header-btn-grp .nav-link.btn-secondary:hover {
    color: var(--ritej-ink) !important;
    border-color: var(--ritej-blue) !important;
    background: var(--ritej-blue) !important;
}

.header-btn-grp .btn-primary {
    min-width: 118px;
    color: var(--ritej-ink) !important;
}

.submenu {
    border: 1px solid var(--ritej-line);
    border-radius: 8px;
    box-shadow: var(--ritej-shadow);
    overflow: hidden;
}

.home-page {
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 46%, #ffffff 100%);
}

.hero-section {
    min-height: 720px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 12% 16%, rgba(var(--ritej-brand-rgb), 0.22), transparent 30%),
        linear-gradient(135deg, #fff8ec 0%, #ffffff 48%, #fff1d8 100%) !important;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 32, 51, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 32, 51, 0.04) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 82%);
    pointer-events: none;
}

.banner-carousel,
.banner-carousel .bg-image {
    position: absolute;
    inset: 0;
}

.banner-carousel .bg-image {
    filter: saturate(0.92) contrast(0.95);
}

.banner-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(47, 36, 24, 0.82), rgba(47, 36, 24, 0.38), rgba(47, 36, 24, 0.62));
}

.hero-content {
    max-width: 760px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid rgba(var(--ritej-brand-rgb), 0.36);
    border-radius: 8px;
    color: var(--ritej-blue-dark);
    background: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-content h1 {
    color: var(--ritej-ink);
    font-size: clamp(42px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: 0;
    font-weight: 900;
}

.banner-carousel ~ .container .hero-content h1,
.banner-carousel ~ .container .hero-content p {
    color: #ffffff !important;
    text-shadow: 0 8px 32px rgba(0, 0, 0, 0.24);
}

.hero-content p {
    max-width: 650px;
    color: var(--ritej-muted) !important;
    line-height: 1.8;
}

.hero-actions {
    gap: 12px;
    margin-bottom: 22px;
}

.find-job {
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 8px;
    box-shadow: var(--ritej-shadow);
}

.find-job form .row {
    min-height: 84px;
}

.find-job .input-text {
    min-height: 54px;
    align-items: center;
    border-radius: 8px;
    background: #f7f9fc;
}

.find-job .input {
    width: 100%;
    border: 0;
    background: transparent;
    outline: 0;
    color: var(--ritej-ink);
    font-weight: 600;
}

.find-job .input-icon {
    color: var(--ritej-blue-dark);
}

.desc-card,
.job-card-category,
.job-card,
.company-card,
.candidate-card,
.front_web .card,
.home-page .card {
    border: 1px solid var(--ritej-line) !important;
    border-radius: 8px !important;
    box-shadow: 0 14px 34px rgba(16, 32, 51, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.desc-card:hover,
.job-card-category:hover,
.home-page .card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--ritej-brand-rgb), 0.42) !important;
    box-shadow: 0 22px 44px rgba(16, 32, 51, 0.13);
}

.desc-card .card-img {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 8px;
    color: #2f2418;
    background: linear-gradient(135deg, var(--ritej-blue), #f7d28e);
}

.desc-card .card-img i {
    color: #2f2418;
}

.desc-card h3,
.section-heading h2 {
    color: var(--ritej-ink);
    letter-spacing: 0;
}

.section-heading h2 {
    display: inline-block;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 900;
}

.popular-job-categories-section,
.latest-job-section,
.featured-job-section,
.featured-company-section,
.testimonial-section {
    position: relative;
}

.popular-job-categories-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 247, 251, 0.94)),
        var(--ritej-soft) !important;
}

.job-card-category .card-img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    padding: 8px;
    border-radius: 8px;
    background: #fff1d8;
}

.border-left-color {
    border-left: 4px solid var(--ritej-blue) !important;
}

.job-card-img img,
.company-card img,
.candidate-card img {
    border-radius: 8px;
    object-fit: cover;
    background: #f3f6fa;
}

.text-primary {
    color: var(--ritej-blue) !important;
}

.text-gray {
    color: var(--ritej-muted) !important;
}

.primary-link-hover:hover,
.hover-color:hover {
    color: var(--ritej-blue) !important;
}

.slider-test-section .carousel-inner,
.slider-test-section .slider-img {
    border-radius: 8px;
}

.slider-test-section .slider-img {
    max-height: 520px;
    object-fit: cover;
}

footer {
    border-top: 1px solid var(--ritej-line);
}

@media (max-width: 991.98px) {
    header.bg-light {
        position: relative;
    }

    .navbar-collapse {
        margin-top: 14px;
        padding: 12px;
        border: 1px solid var(--ritej-line);
        border-radius: 8px;
        background: #ffffff;
        box-shadow: var(--ritej-shadow);
    }

    .hero-section {
        min-height: auto;
        padding-top: 70px !important;
        padding-bottom: 70px !important;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .find-job {
        padding-top: 12px;
        padding-bottom: 16px;
    }
}

@media (max-width: 575.98px) {
    .hero-content h1 {
        font-size: 34px;
    }

    .hero-actions .btn,
    .find-jobs-btn {
        width: 100%;
    }

    .hero-kicker {
        font-size: 11px;
        white-space: normal;
        justify-content: center;
    }

    .desc-card {
        align-items: flex-start !important;
    }
}

.directory-hero {
    min-height: 340px;
    padding-top: 84px !important;
    padding-bottom: 64px !important;
}

.directory-hero .hero-content {
    margin: 0 auto;
}

.directory-hero .hero-content h1 {
    font-size: clamp(36px, 4.8vw, 58px);
    color: var(--ritej-ink) !important;
}

.directory-hero-text {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.75;
}

.directory-content {
    background:
        linear-gradient(180deg, rgba(255, 248, 236, 0.78), rgba(255, 255, 255, 0.96)),
        var(--ritej-soft) !important;
}

.directory-filter-panel {
    position: sticky;
    top: 96px;
    padding-top: 30px;
    padding-bottom: 30px;
    border: 1px solid var(--ritej-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: var(--ritej-shadow);
}

.filter-panel-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--ritej-line);
}

.filter-panel-heading h2 {
    font-size: 22px;
    font-weight: 900;
    color: var(--ritej-ink);
}

.filter-panel-heading p {
    font-size: 13px;
}

.filter-panel-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--ritej-ink);
    background: linear-gradient(135deg, var(--ritej-blue), #f7d28e);
}

.directory-filter-panel label {
    font-weight: 800;
    color: var(--ritej-ink) !important;
}

.directory-filter-panel .form-control,
.directory-filter-panel .form-select,
.directory-filter-panel input[type="text"] {
    min-height: 48px;
    border: 1px solid rgba(47, 36, 24, 0.12);
    border-radius: 8px !important;
    background: #fffaf2 !important;
    color: var(--ritej-ink) !important;
    box-shadow: none;
}

.directory-filter-panel .form-control:focus,
.directory-filter-panel .form-select:focus {
    border-color: rgba(var(--ritej-brand-rgb), 0.72);
    box-shadow: 0 0 0 4px rgba(var(--ritej-brand-rgb), 0.14);
}

.directory-filter-panel .form-switch .form-check-input {
    cursor: pointer;
}

.directory-filter-panel .form-switch .form-check-input:checked {
    border-color: var(--ritej-blue);
    background-color: var(--ritej-blue);
}

.directory-side-image {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--ritej-line);
    box-shadow: 0 14px 34px rgba(47, 36, 24, 0.09);
}

.directory-side-image img {
    display: block;
    border-radius: 8px;
}

.directory-results-panel {
    padding: 12px;
    border: 1px solid var(--ritej-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 14px 34px rgba(47, 36, 24, 0.08);
}

.jobs-results-list {
    row-gap: 4px;
}

.job-result-card {
    position: relative;
    overflow: hidden;
    padding: 26px !important;
    background:
        linear-gradient(90deg, rgba(var(--ritej-brand-rgb), 0.1), transparent 34%),
        #ffffff;
}

.job-result-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 92px;
    height: 92px;
    background: radial-gradient(circle, rgba(var(--ritej-brand-rgb), 0.2), transparent 66%);
    pointer-events: none;
}

.job-result-logo,
.sector-logo-wrap {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(var(--ritej-brand-rgb), 0.25);
    border-radius: 8px;
    background: #fffaf2;
}

.job-result-logo img,
.sector-logo-wrap img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.job-result-card .card-title {
    font-size: 20px !important;
    font-weight: 900;
    color: var(--ritej-ink);
}

.job-shift-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 8px;
    color: var(--ritej-blue-dark) !important;
    background: rgba(var(--ritej-brand-rgb), 0.16);
    font-weight: 800;
}

.job-result-action {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 18px;
}

.job-result-action .btn {
    min-height: 38px;
    padding: 8px 14px;
    font-size: 13px;
    white-space: nowrap;
}

.job-result-card .bookmark {
    top: 18px;
    right: 22px;
    width: auto;
}

.sectors-search-section {
    margin-top: -36px;
    position: relative;
    z-index: 2;
}

.sectors-search-card {
    padding-top: 20px;
    padding-bottom: 20px;
}

.sectors-search-field {
    min-height: 76px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 8px;
}

.sectors-search-field h3 {
    margin-bottom: 8px !important;
    font-weight: 900;
}

.sectors-search-field input {
    width: 100%;
    min-height: 38px;
    border: 0;
    border-bottom: 1px solid rgba(47, 36, 24, 0.14);
    outline: 0;
    background: transparent;
    color: var(--ritej-ink);
    font-weight: 600;
}

.sectors-search-field input:focus {
    border-bottom-color: var(--ritej-blue-dark);
}

.sectors-grid-section {
    padding-top: 64px !important;
}

.sector-card {
    position: relative;
    height: 100%;
    padding: 26px !important;
    overflow: hidden;
    background:
        linear-gradient(135deg, #ffffff 0%, #ffffff 62%, rgba(var(--ritej-brand-rgb), 0.13) 100%);
}

.sector-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--ritej-blue), var(--ritej-aqua));
}

.sector-card .card-title {
    font-size: 20px !important;
    font-weight: 900;
    color: var(--ritej-ink);
}

.sector-card .location-text {
    margin-top: 8px;
    color: var(--ritej-muted);
    font-size: 13px;
    font-weight: 700;
}

.sector-card .location-text i {
    color: var(--ritej-blue-dark);
}

.sector-featured {
    position: absolute;
    top: 18px;
    right: 18px;
    color: var(--ritej-blue);
}

.sector-card .jobs-position {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 8px;
    color: var(--ritej-ink);
    background: rgba(var(--ritej-brand-rgb), 0.16) !important;
    font-weight: 900;
}

.sector-card a.jobs-position:hover {
    color: #ffffff;
    background: var(--ritej-blue-dark) !important;
}

@media (max-width: 991.98px) {
    .directory-filter-panel {
        position: static;
        margin-bottom: 30px;
    }

    .job-result-action {
        position: static;
        margin-top: 18px;
        padding-left: 16px;
        padding-right: 16px;
        justify-content: flex-start;
    }

    .sectors-search-section {
        margin-top: 0;
    }
}

@media (max-width: 575.98px) {
    .directory-hero {
        padding-top: 56px !important;
        padding-bottom: 48px !important;
    }

    .directory-results-panel {
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .job-result-card {
        padding: 22px !important;
    }

    .job-result-logo,
    .sector-logo-wrap {
        width: 60px;
        height: 60px;
    }
}

.ritej-career-bot {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1060;
    font-family: inherit;
}

body.has-ritej-guide-banner .ritej-career-bot {
    bottom: 76px;
}

.ritej-bot-toggle {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: var(--ritej-ink);
    background: linear-gradient(135deg, var(--ritej-blue), #f7d28e);
    box-shadow: 0 18px 42px rgba(47, 36, 24, 0.24);
    font-size: 24px;
}

.ritej-bot-toggle:hover {
    transform: translateY(-2px);
}

.ritej-bot-panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: min(390px, calc(100vw - 28px));
    max-height: min(640px, calc(100vh - 120px));
    display: none;
    overflow: hidden;
    border: 1px solid rgba(var(--ritej-brand-rgb), 0.36);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(47, 36, 24, 0.24);
}

.ritej-career-bot.is-open .ritej-bot-panel {
    display: flex;
    flex-direction: column;
}

.ritej-bot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    color: var(--ritej-ink);
    background:
        linear-gradient(135deg, rgba(var(--ritej-brand-rgb), 0.28), rgba(255, 255, 255, 0.92)),
        #fff8ec;
    border-bottom: 1px solid var(--ritej-line);
}

.ritej-bot-title {
    display: block;
    font-size: 17px;
    font-weight: 900;
}

.ritej-bot-subtitle {
    display: block;
    margin-top: 3px;
    color: var(--ritej-muted);
    font-size: 13px;
    font-weight: 700;
}

.ritej-bot-close {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ritej-line);
    border-radius: 8px;
    color: var(--ritej-ink);
    background: rgba(255, 255, 255, 0.72);
}

.ritej-bot-messages {
    height: 480px;
    max-height: calc(100vh - 230px);
    overflow-y: auto;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff, #fffaf2);
}

.ritej-bot-message {
    display: flex;
    margin-bottom: 12px;
    animation: ritejBotRise 0.24s ease both;
}

.ritej-bot-message.is-user {
    justify-content: flex-end;
}

.ritej-bot-bubble {
    max-width: 86%;
    padding: 11px 13px;
    border-radius: 8px;
    color: var(--ritej-ink);
    background: #ffffff;
    border: 1px solid var(--ritej-line);
    box-shadow: 0 8px 20px rgba(47, 36, 24, 0.08);
    line-height: 1.45;
    font-size: 14px;
}

.ritej-bot-message.is-user .ritej-bot-bubble {
    color: #ffffff;
    background: var(--ritej-blue-dark);
    border-color: var(--ritej-blue-dark);
}

.ritej-bot-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 16px;
}

.ritej-bot-options button {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid rgba(var(--ritej-brand-rgb), 0.44);
    border-radius: 8px;
    color: var(--ritej-ink);
    background: rgba(var(--ritej-brand-rgb), 0.16);
    font-size: 13px;
    font-weight: 800;
    text-align: left;
}

.ritej-bot-options button:hover {
    color: #ffffff;
    border-color: var(--ritej-blue-dark);
    background: var(--ritej-blue-dark);
}

.ritej-bot-options button.is-secondary {
    color: var(--ritej-blue-dark);
    background: #ffffff;
}

.ritej-career-bot[dir="rtl"] .ritej-bot-header,
.ritej-career-bot[dir="rtl"] .ritej-bot-bubble,
.ritej-career-bot[dir="rtl"] .ritej-bot-options button,
.ritej-career-bot[dir="rtl"] .ritej-bot-job,
.ritej-career-bot[dir="rtl"] .ritej-bot-success-content {
    text-align: right;
}

.ritej-career-bot[dir="rtl"] .ritej-bot-message.is-user {
    justify-content: flex-start;
}

.ritej-career-bot[dir="rtl"] .ritej-bot-success-card {
    flex-direction: row-reverse;
}

.ritej-bot-job {
    margin: 10px 0;
    padding: 12px;
    border: 1px solid rgba(var(--ritej-brand-rgb), 0.28);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(47, 36, 24, 0.08);
    cursor: pointer;
    animation: ritejBotRise 0.28s ease both;
}

.ritej-bot-job:hover {
    border-color: var(--ritej-blue);
    transform: translateY(-1px);
}

.ritej-bot-job strong {
    display: block;
    color: var(--ritej-ink);
    font-size: 14px;
    font-weight: 900;
}

.ritej-bot-job span {
    display: block;
    margin-top: 5px;
    color: var(--ritej-muted);
    font-size: 12px;
    line-height: 1.45;
}

.ritej-bot-success-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0 14px;
    padding: 13px 14px;
    overflow: hidden;
    border: 1px solid rgba(36, 148, 83, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(36, 148, 83, 0.12), rgba(255, 255, 255, 0.96)),
        #ffffff;
    box-shadow: 0 12px 30px rgba(36, 148, 83, 0.15);
    animation: ritejBotRise 0.28s ease both, ritejSuccessGlow 1.55s ease-in-out infinite;
}

.ritej-bot-success-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.62) 45%, transparent 72%);
    animation: ritejSuccessSweep 2.3s ease-in-out infinite;
    pointer-events: none;
}

.ritej-bot-success-pulse {
    width: 14px;
    height: 14px;
    min-width: 14px;
    border-radius: 50%;
    background: #249453;
    box-shadow: 0 0 0 8px rgba(36, 148, 83, 0.13);
    animation: ritejGreenPulse 1.15s ease-in-out infinite;
}

.ritej-bot-success-content {
    position: relative;
    z-index: 1;
}

.ritej-bot-success-content strong {
    display: block;
    color: #165c35;
    font-size: 14px;
    font-weight: 900;
}

.ritej-bot-success-content span {
    display: block;
    margin-top: 3px;
    color: #236344;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    .ritej-career-bot {
        right: 14px;
        bottom: 14px;
    }

    body.has-ritej-guide-banner .ritej-career-bot {
        bottom: 72px;
    }

    .ritej-bot-panel {
        right: -7px;
        bottom: 74px;
        width: calc(100vw - 28px);
    }

    .ritej-bot-toggle {
        width: 56px;
        height: 56px;
    }
}

.ritej-jobs-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1070;
    height: 44px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--ritej-ink);
    background:
        linear-gradient(90deg, var(--ritej-blue-dark), var(--ritej-blue), #f7d28e, var(--ritej-blue));
    box-shadow: 0 10px 28px rgba(47, 36, 24, 0.22);
}

.ritej-jobs-ticker::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.46) 42%, transparent 70%);
    animation: ritejTickerFlash 2.8s ease-in-out infinite;
    pointer-events: none;
}

.ritej-jobs-ticker-label {
    height: 44px;
    min-width: 210px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 18px;
    color: #ffffff;
    background: rgba(47, 36, 24, 0.92);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.ritej-jobs-ticker-label i {
    color: var(--ritej-blue);
    animation: ritejPulse 1.3s ease-in-out infinite;
}

.ritej-jobs-ticker-track {
    flex: 1;
    overflow: hidden;
}

.ritej-jobs-ticker-items {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    min-width: max-content;
    animation: ritejTickerMove 38s linear infinite;
}

.ritej-jobs-ticker:hover .ritej-jobs-ticker-items {
    animation-play-state: paused;
}

.ritej-jobs-ticker-items a {
    height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ritej-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.ritej-jobs-ticker-items a::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ritej-aqua);
    box-shadow: 0 0 0 5px rgba(var(--ritej-accent-rgb), 0.14);
}

.ritej-jobs-ticker-items strong {
    color: var(--ritej-ink);
    font-weight: 900;
}

.ritej-jobs-ticker-items span {
    color: rgba(47, 36, 24, 0.78);
}

.ritej-guide-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1055;
    min-height: 56px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 9px 18px;
    border-top: 1px solid rgba(var(--ritej-brand-rgb), 0.48);
    color: var(--ritej-ink);
    background:
        linear-gradient(90deg, rgba(47, 36, 24, 0.96), rgba(168, 121, 52, 0.95)),
        var(--ritej-blue-dark);
    box-shadow: 0 -12px 34px rgba(47, 36, 24, 0.24);
}

.ritej-guide-marquee {
    flex: 1;
    overflow: hidden;
    cursor: pointer;
}

.ritej-guide-text {
    display: inline-block;
    min-width: max-content;
    color: #ffffff;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    animation: ritejGuideMove 24s linear infinite;
}

.ritej-guide-banner::before {
    content: "BOT GUIDE";
    min-width: 116px;
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--ritej-ink);
    background: var(--ritej-blue);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    animation: ritejPulse 1.4s ease-in-out infinite;
}

.ritej-guide-button {
    min-height: 38px;
    padding: 8px 14px;
    border: 0;
    border-radius: 8px;
    color: var(--ritej-ink);
    background: #ffffff;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.ritej-guide-button:hover {
    color: #ffffff;
    background: var(--ritej-aqua);
}

@keyframes ritejTickerMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes ritejGuideMove {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes ritejTickerFlash {
    0%, 100% {
        opacity: 0;
        transform: translateX(-70%);
    }
    45% {
        opacity: 0.8;
    }
    60% {
        opacity: 0;
        transform: translateX(70%);
    }
}

@keyframes ritejPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.08);
        opacity: 0.78;
    }
}

@keyframes ritejBotRise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ritejGreenPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(36, 148, 83, 0.16);
    }
    50% {
        transform: scale(1.12);
        box-shadow: 0 0 0 11px rgba(36, 148, 83, 0.04);
    }
}

@keyframes ritejSuccessGlow {
    0%, 100% {
        border-color: rgba(36, 148, 83, 0.28);
    }
    50% {
        border-color: rgba(36, 148, 83, 0.68);
    }
}

@keyframes ritejSuccessSweep {
    0%, 100% {
        opacity: 0;
        transform: translateX(-80%);
    }
    45% {
        opacity: 0.8;
    }
    68% {
        opacity: 0;
        transform: translateX(80%);
    }
}

@media (max-width: 767.98px) {
    .ritej-jobs-ticker-label {
        min-width: 138px;
        padding: 0 10px;
        font-size: 11px;
    }

    .ritej-jobs-ticker-items a {
        font-size: 12px;
    }

    .ritej-jobs-ticker-items span {
        display: none;
    }

    .ritej-guide-banner {
        gap: 8px;
        padding: 8px 10px;
    }

    .ritej-guide-banner::before {
        min-width: 88px;
        font-size: 10px;
    }

    .ritej-guide-text {
        font-size: 12px;
    }

    .ritej-guide-button {
        min-height: 34px;
        padding: 7px 9px;
        font-size: 11px;
    }
}
