* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    background:
        linear-gradient(
            180deg,
            #edf1f5 0%,
            #f8fafc 100%
        );
    color: #0f172a;
    font-family: "Inter", Arial, sans-serif;
}

/*
    ========================================
    NAVBAR
    ========================================
*/

.navbar {
    height: 74px;
    padding: 0 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.88);
    border-bottom: 1px solid #dbe3f0;
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 50;
}

.logo_vantara {
    width: 120px;
    height: 62px;
    object-fit: contain;
    display: block;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 26px;
}

.navbar nav a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .18s ease;
}

.navbar nav a:hover {
    color: #047857;
}

.user_area {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #475569;
}

.avatar {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            #0145f2,
            #4debff
    );
    border: 2px solid #ffffff;
    box-shadow: 0 8px 18px rgba(1,69,242,0.18);
    color: #ffffff;
    font-size: 14px;
    font-weight: 650;
    background-size: cover;
    background-position: center;
}

.avatar_com_foto {
    color: transparent;
}

/*
    ========================================
    PAGE
    ========================================
*/

.vagas_page {
    max-width: 1180px;
    margin: 34px auto 80px auto;
    padding: 0 24px;
}

.vantara_panel {
    background: #ffffff;
    border: 1px solid #dbe3f0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(15,23,42,0.055);
}

.vantara_identity_line {
    height: 4px;
    background:
        linear-gradient(
            90deg,
            #047857,
            #34d399
        );
}

/*
    ========================================
    LIST HEADER
    ========================================
*/

.vagas_header {
    padding: 30px 32px;
    background: #ffffff;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: #64748b;
    font-size: 13px;
}

.breadcrumb a {
    color: #047857;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb strong {
    color: #334155;
    font-weight: 500;
}

.vagas_title_row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}

.vagas_kicker {
    display: block;
    margin-bottom: 8px;
    color: #047857;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.vagas_header h1 {
    color: #0f172a;
    font-size: 32px;
    line-height: 1.12;
    font-weight: 650;
    letter-spacing: -0.9px;
}

.vagas_header p {
    max-width: 720px;
    margin-top: 10px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
}

.project_context_card {
    min-width: 260px;
    padding: 16px;
    border-radius: 14px;
    background: #f8fbff;
    border: 1px solid #dbe3f0;
}

.project_context_card span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.35px;
}

.project_context_card strong {
    display: block;
    margin-top: 7px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 650;
    letter-spacing: -0.3px;
}

.project_context_card p {
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}

/*
    ========================================
    FILTER BAR
    ========================================
*/

.vagas_filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px 180px;
    gap: 12px;
    padding: 20px 32px;
    border-top: 1px solid #e2e8f0;
    background: #fbfdff;
}

.vagas_filters input,
.vagas_filters select {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #dbe3f0;
    border-radius: 10px;
    background: #ffffff;
    color: #0f172a;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.vagas_filters input:focus,
.vagas_filters select:focus {
    border-color: rgba(4,120,87,0.42);
    box-shadow: 0 0 0 3px rgba(4,120,87,0.08);
}

/*
    ========================================
    VAGAS LIST
    ========================================
*/

.vagas_list_area {
    padding: 28px 32px 32px 32px;
}

.vagas_count {
    margin-bottom: 18px;
    color: #64748b;
    font-size: 13px;
}

.vagas_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.vaga_card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 260px;
    background: #ffffff;
    border: 1px solid #dbe3f0;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(15,23,42,0.045);
    overflow: hidden;
    transition:
        border-color .18s ease,
        background .18s ease,
        box-shadow .18s ease;
}

.vaga_card:hover {
    border-color: rgba(4,120,87,0.22);
    background: #fbfdff;
    box-shadow: 0 14px 38px rgba(15,23,42,0.055);
}

.vaga_card_line {
    height: 3px;
    background:
        linear-gradient(
            90deg,
            #047857,
            #34d399
        );
}

.vaga_card_body {
    padding: 22px;
}

.vaga_card_top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.vaga_card h2 {
    color: #0f172a;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.4px;
}

.vaga_status {
    padding: 6px 9px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.vaga_status.fechada {
    background: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
}

.vaga_card_description {
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.vaga_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vaga_meta span,
.vaga_tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1px;
}

.vaga_meta span {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.vaga_tag {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid rgba(4,120,87,0.12);
}

.vaga_card_footer {
    padding: 18px 22px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    background: #fbfdff;
}

.vaga_project_name {
    color: #64748b;
    font-size: 13px;
    line-height: 1.4;
}

.vaga_project_name strong {
    display: block;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
}

/*
    ========================================
    DETAIL PAGE
    ========================================
*/

.vaga_detail_layout {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(320px, 0.85fr);
    gap: 22px;
    margin-top: 22px;
    align-items: start;
}

.vaga_detail_main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.vaga_detail_header {
    padding: 30px 32px;
}

.vaga_detail_header h1 {
    color: #0f172a;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 650;
    letter-spacing: -1px;
}

.vaga_detail_header p {
    max-width: 780px;
    margin-top: 12px;
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}

.vaga_detail_badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
}

.vaga_section {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #dbe3f0;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(15,23,42,0.045);
}

.vaga_section_title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.vaga_section_title span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(4,120,87,0.12);
}

.vaga_section_title h2 {
    color: #0f172a;
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -0.35px;
}

.vaga_long_text {
    color: #475569;
    font-size: 15px;
    line-height: 1.85;
    white-space: pre-line;
}

html.vantara_theme_dark body .vaga_section,
html.vantara_theme_dark body .vaga_sidebar_panel,
html.vantara_theme_dark body .vaga_apply_panel {
    background:
        linear-gradient(
            135deg,
            rgba(15, 23, 42, 0.96),
            rgba(30, 41, 59, 0.84)
        ) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    color: #e5edf7 !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24) !important;
}

html.vantara_theme_dark body .vaga_section_title span {
    background: rgba(8, 127, 91, 0.2) !important;
    border-color: rgba(134, 239, 172, 0.3) !important;
    color: #bbf7d0 !important;
}

html.vantara_theme_dark body .vaga_section_title h2,
html.vantara_theme_dark body .vaga_sidebar_panel h2 {
    color: #f8fafc !important;
}

html.vantara_theme_dark body .vaga_long_text,
html.vantara_theme_dark body .vaga_sidebar_panel p,
html.vantara_theme_dark body .vaga_apply_panel p {
    color: #b7c6dc !important;
}

html.vantara_theme_dark body .vaga_detail_badges :where(span, .vaga_status, .vaga_tag),
html.vantara_theme_dark body .vaga_meta span,
html.vantara_theme_dark body .vaga_tag {
    background: rgba(30, 41, 59, 0.92) !important;
    border-color: rgba(148, 163, 184, 0.24) !important;
    color: #dbeafe !important;
}

html.vantara_theme_dark body .vaga_status,
html.vantara_theme_dark body .vaga_status.aberta {
    background: rgba(8, 127, 91, 0.2) !important;
    border-color: rgba(134, 239, 172, 0.3) !important;
    color: #bbf7d0 !important;
}

html.vantara_theme_dark body .loading_box,
html.vantara_theme_dark body .error_box,
html.vantara_theme_dark body .empty_box {
    background:
        radial-gradient(
            circle at 18% 0,
            rgba(34, 197, 94, 0.1),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            rgba(15, 23, 42, 0.95),
            rgba(2, 8, 23, 0.92)
        ) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    color: #b7c6dc !important;
    box-shadow:
        0 18px 44px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

html.vantara_theme_dark body .loading_box h2,
html.vantara_theme_dark body .error_box h2,
html.vantara_theme_dark body .empty_box h2 {
    color: #f8fafc !important;
}

html.vantara_theme_dark body .loading_box p,
html.vantara_theme_dark body .error_box p,
html.vantara_theme_dark body .empty_box p {
    color: #94a3b8 !important;
}

.vaga_sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.vaga_sidebar_panel {
    background: #ffffff;
    border: 1px solid #dbe3f0;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(15,23,42,0.045);
    padding: 24px;
}

.vaga_sidebar_panel h2 {
    color: #0f172a;
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.35px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 4px;
}

.sidebar_field {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eef2f7;
}

.sidebar_field:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sidebar_field span {
    color: #64748b;
    font-size: 13px;
}

.sidebar_field strong {
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
    line-height: 1.45;
}

.vaga_apply_panel {
    position: relative;
    overflow: hidden;
}

.vaga_apply_panel::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            #047857,
            #34d399
        );
}

.vaga_apply_panel p {
    margin: 12px 0 18px 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.65;
}

/*
    ========================================
    BUTTONS
    ========================================
*/

.vantara_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.2px;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

.vantara_btn.primary {
    border: 1px solid rgba(4,120,87,0.22);
    background:
        linear-gradient(
            135deg,
            #047857,
            #10b981
        );
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(4,120,87,0.16);
}

.vantara_btn.primary:hover {
    background:
        linear-gradient(
            135deg,
            #065f46,
            #059669
        );
    box-shadow: 0 10px 24px rgba(4,120,87,0.20);
}

.vantara_btn.secondary {
    border: 1px solid #dbe3f0;
    background: #ffffff;
    color: #334155;
    box-shadow: 0 6px 16px rgba(15,23,42,0.04);
}

.vantara_btn.secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/*
    ========================================
    LOADING / ERROR / EMPTY
    ========================================
*/

.loading_box,
.error_box,
.empty_box {
    padding: 34px;
    background: #ffffff;
    border: 1px solid #dbe3f0;
    border-radius: 18px;
    box-shadow: 0 16px 42px rgba(15,23,42,0.055);
}

.loading_box h2,
.error_box h2,
.empty_box h2 {
    color: #0f172a;
    font-size: 20px;
    font-weight: 650;
}

.loading_box p,
.error_box p,
.empty_box p {
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.error_box .request_retry {
    margin-top: 18px;
}

/*
    ========================================
    RESPONSIVE
    ========================================
*/

@media (max-width: 980px) {

    .vagas_title_row {
        flex-direction: column;
    }

    .project_context_card {
        width: 100%;
    }

    .vagas_filters {
        grid-template-columns: 1fr;
    }

    .vagas_grid {
        grid-template-columns: 1fr;
    }

    .vaga_detail_layout {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 760px) {

    .navbar {
        padding: 0 20px;
    }

    .navbar nav {
        display: none;
    }

    .vagas_page {
        padding: 0 16px;
        margin-top: 24px;
    }

    .vagas_header,
    .vaga_detail_header {
        padding: 24px;
    }

    .vagas_header h1,
    .vaga_detail_header h1 {
        font-size: 27px;
    }

    .vagas_filters,
    .vagas_list_area {
        padding-left: 24px;
        padding-right: 24px;
    }

    .vaga_card_footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .vantara_btn {
        width: 100%;
    }

}

@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: vantara-page-exit 280ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

::view-transition-new(root) {
    animation: vantara-page-enter 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes vantara-page-exit {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    to {
        opacity: 0;
        transform: translateX(var(--vantara-page-exit-x, -18px)) scale(0.992);
    }
}

@keyframes vantara-page-enter {
    from {
        opacity: 0;
        transform: translateX(var(--vantara-page-enter-x, 18px)) scale(0.992);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none !important;
    }

    * {
        scroll-behavior: auto !important;
    }
}


/*
    ========================================
    VANTARA MOBILE APP DENSITY — VAGAS
    ========================================
*/

@media (max-width: 768px) {
    .vagas_page {
        width: min(100% - 28px, 720px);
        gap: 14px;
        padding-top: 14px;
    }

    .vagas_header,
    .vaga_detail_header {
        padding: 20px;
        border-radius: 18px;
    }

    .breadcrumb {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .vagas_title_row {
        gap: 14px;
    }

    .vagas_kicker {
        margin-bottom: 6px;
        font-size: 10px;
    }

    .vagas_header h1,
    .vaga_detail_header h1 {
        font-size: 25px;
        line-height: 1.14;
        letter-spacing: -0.65px;
    }

    .vagas_header p,
    .vaga_detail_header p {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.5;
    }

    .project_context_card {
        min-width: 0;
        padding: 13px;
        border-radius: 14px;
    }

    .vagas_filters {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 14px;
        border-radius: 16px;
    }

    .vagas_filters input,
    .vagas_filters select {
        min-height: 40px;
        padding: 9px 11px;
        border-radius: 12px;
        font-size: 13px;
    }

    .vagas_list_area {
        padding: 16px;
        border-radius: 18px;
    }

    .vagas_count {
        margin-bottom: 12px;
        font-size: 12px;
    }

    .vagas_grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vaga_card {
        min-height: auto;
        border-radius: 18px;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
    }

    .vaga_card_body {
        padding: 16px;
    }

    .vaga_card_top {
        gap: 10px;
        margin-bottom: 10px;
    }

    .vaga_card h2 {
        font-size: 17px;
        line-height: 1.22;
        letter-spacing: -0.25px;
    }

    .vaga_status {
        padding: 4px 8px;
        border-radius: 999px;
        font-size: 10px;
    }

    .vaga_card_description {
        margin-bottom: 12px;
        overflow: hidden;
        display: -webkit-box;
        font-size: 13px;
        line-height: 1.45;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .vaga_meta {
        gap: 6px;
    }

    .vaga_meta span,
    .vaga_tag {
        padding: 5px 8px;
        border-radius: 999px;
        font-size: 11px;
    }

    .vaga_card_footer {
        padding: 13px 16px;
        gap: 10px;
    }

    .vaga_project_name,
    .vaga_project_name strong {
        font-size: 12px;
    }

    .vantara_btn {
        min-height: 38px;
        padding: 8px 12px;
        border-radius: 12px;
        font-size: 12px;
    }

    .vaga_detail_layout {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 14px;
    }

    .vaga_detail_main,
    .vaga_sidebar {
        gap: 12px;
    }

    .vaga_section,
    .vaga_sidebar_panel {
        padding: 18px;
        border-radius: 18px;
    }

    .vaga_section_title {
        gap: 9px;
        margin-bottom: 12px;
    }

    .vaga_section_title h2,
    .vaga_sidebar_panel h2 {
        font-size: 17px;
    }

    .vaga_long_text {
        font-size: 14px;
        line-height: 1.62;
    }

    .sidebar_field {
        padding: 11px 0;
    }
}

@media (max-width: 480px) {
    .vagas_page {
        width: min(100% - 24px, 480px);
    }

    .vagas_header,
    .vaga_detail_header,
    .vagas_list_area,
    .vaga_section,
    .vaga_sidebar_panel {
        padding: 14px;
        border-radius: 16px;
    }

    .vagas_header h1,
    .vaga_detail_header h1 {
        font-size: 23px;
    }

    .vaga_card_top,
    .vaga_card_footer,
    .sidebar_field {
        flex-direction: column;
        align-items: flex-start;
    }

    .vaga_status {
        width: fit-content;
    }

    .vaga_card_footer .vantara_btn {
        width: 100%;
    }
}

html.vantara_page_reveal body {
    animation: vantara-page-enter 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
    html.vantara_page_reveal body {
        animation: none !important;
    }
}

/*
    Mobile card compactness refinement.
*/

@media (max-width: 768px) {
    .vaga_card_body {
        padding: 14px;
    }

    .vaga_card_footer {
        padding: 12px 14px;
    }

    .vaga_card h2 {
        font-size: 16px;
    }

    .vantara_btn {
        min-height: 34px;
        padding: 7px 10px;
        border-radius: 11px;
    }
}

@media (max-width: 480px) {
    .vaga_card_top {
        flex-direction: row;
        align-items: flex-start;
    }

    .vaga_card_footer {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .vaga_card_footer .vantara_btn {
        width: auto;
        min-width: 112px;
    }
}

@media (max-width: 360px) {
    .vaga_card_top,
    .vaga_card_footer {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: stretch;
    }

    .vaga_card_footer .vantara_btn {
        width: 100%;
    }
}
