/* =========================================================
   SITEPORTIFOLIO - CSS GLOBAL COM DADOS EM CARDS
   Objetivo: todo dado renderizado no site ficar no mesmo padrão visual
   dos cards de contato: dark, arredondado, grid responsivo e elegante.
   ========================================================= */

/* =========================
   TOKENS GLOBAIS
   ========================= */
:root {
    --bg: #0b0d12;
    --bg-soft: #121722;
    --surface: #11161f;
    --surface-2: #171d28;
    --surface-3: #222733;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f5f7fb;
    --muted: #a9b2c3;
    --primary: #6ea8fe;
    --primary-strong: #8cb8ff;
    --cyan: #00eaff;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.22);
    --radius-xl: 28px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --sidebar-width: 92px;
    --sidebar-width-expanded: 260px;
    --content-max: 1180px;
}

/* =========================
   RESET / BASE
   ========================= */
html {
    font-size: 16px;
    color: var(--text);
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top left, rgba(110, 168, 254, 0.10), transparent 28%), radial-gradient(circle at bottom right, rgba(140, 184, 255, 0.08), transparent 25%), linear-gradient(180deg, #090b10 0%, #0c1119 100%);
    color: var(--text);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, p, li, label {
    color: var(--text);
    margin-top: 0;
}

p, li {
    color: var(--muted);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================
   CONTAINER
   ========================= */
.container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 2rem 2rem 4rem 8rem;
}

main[role="main"] {
    width: 100%;
}

header {
    height: 32px;
}

footer {
    height: 40px;
}

/* =========================
   BOTÕES
   ========================= */
.styledBtn,
.BtnLogin,
input[type=button],
button,
.btn-new-job,
.submit-register-btn {
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, #1a2230 0%, #121926 100%);
    color: var(--text);
    border-radius: 999px;
    min-height: 46px;
    padding: 0 1.2rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    cursor: pointer;
}

    .styledBtn:hover,
    .BtnLogin:hover,
    input[type=button]:hover,
    button:hover,
    .btn-new-job:hover,
    .submit-register-btn:hover {
        transform: translateY(-1px);
        border-color: rgba(110, 168, 254, 0.45);
        box-shadow: 0 14px 30px rgba(0,0,0,0.26);
    }

.BtnLogin {
    position: fixed;
    top: 1.25rem;
    right: 2rem;
    left: auto;
    z-index: 1200;
    min-width: 110px;
}

/* =========================
   INPUTS / FORMULÁRIOS
   ========================= */
.input-text,
.login-input,
.sidebar-search input,
.sidebar-search select,
textarea,
select,
input[type="email"],
input[type="password"],
input[type="text"],
input[type="search"],
input[type="file"],
input[type="url"],
input[type="number"],
input[type="date"] {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    background: rgba(255,255,255,0.055);
    color: var(--text);
    padding: 0.85rem 1rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

    input::placeholder,
    textarea::placeholder {
        color: #7f8aa3;
    }

    .input-text:focus,
    .login-input:focus,
    .sidebar-search input:focus,
    .sidebar-search select:focus,
    textarea:focus,
    select:focus,
    input[type="email"]:focus,
    input[type="password"]:focus,
    input[type="text"]:focus,
    input[type="search"]:focus,
    input[type="file"]:focus,
    input[type="url"]:focus,
    input[type="number"]:focus,
    input[type="date"]:focus {
        border-color: rgba(110, 168, 254, 0.55);
        background: rgba(255,255,255,0.075);
        box-shadow: 0 0 0 4px rgba(110, 168, 254, 0.10);
    }

select,
select option {
    color: #111 !important;
    background-color: #fff !important;
}

/* =========================
   SIDEBARS
   ========================= */
.sidebar-saas,
.sidebar-profile {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    padding: 1.2rem 0.9rem;
    background: rgba(9, 12, 18, 0.92);
    border-right: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
    z-index: 1100;
    transition: width 0.28s ease;
    overflow: hidden;
}

    .sidebar-saas:hover,
    .sidebar-profile:hover {
        width: var(--sidebar-width-expanded);
    }

    .sidebar-saas img,
    .sidebar-profile img {
        width: 58px !important;
        height: 58px !important;
        border-radius: 999px;
        object-fit: cover;
        border: 1px solid rgba(255,255,255,0.08);
        margin: 0.35rem auto 0.6rem auto;
        display: block;
        cursor: pointer;
        transition: transform 0.2s ease, border-color 0.2s ease;
    }

        .sidebar-saas img:hover,
        .sidebar-profile img:hover {
            transform: scale(1.04);
            border-color: rgba(110, 168, 254, 0.5);
        }

.sidebar-search {
    width: 100%;
    margin: 0.15rem 0 0.75rem 0;
}

    .sidebar-search input,
    .sidebar-search select {
        height: 42px;
        font-size: 0.92rem;
        padding: 0 0.9rem;
        position: static;
        border-radius: 12px;
    }

.sidebar-item {
    width: 100%;
    min-height: 50px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 0.85rem;
    border-radius: 14px;
    color: var(--text);
    transition: all 0.22s ease;
    position: static;
    cursor: pointer;
}

    .sidebar-item:hover,
    .sidebar-item:focus {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.05);
    }

.icon {
    width: 24px !important;
    min-width: 24px;
    text-align: center;
    font-size: 1.1rem;
    opacity: 0.95;
}

.spanMenu,
.spanProfile {
    opacity: 0;
    white-space: nowrap;
    color: #dfe7f5;
    font-size: 0.95rem !important;
    font-weight: 500;
    transition: opacity 0.22s ease;
}

.sidebar-saas:hover .spanMenu,
.sidebar-profile:hover .spanProfile {
    opacity: 1;
}

/* =========================
   CARDS GLOBAIS
   ========================= */
.card-item,
.card-item-profile,
.about-container,
.pricing-card,
.company-card,
.jobs-box-main,
.job-modal-content,
.login-modal,
.register-wrapper,
.contact-page-wrapper {
    background: linear-gradient(180deg, rgba(18,23,34,0.96), rgba(13,17,26,0.98));
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.card-item,
.card-item-profile {
    width: 100%;
    max-width: 1080px;
    margin: 1.25rem auto;
    padding: 1.8rem;
    position: relative;
}

    .card-item h2,
    .card-item-profile h2,
    .about-container h2,
    .pricing-card h2,
    .company-card h2,
    .jobs-box-main h2 {
        font-size: 1.35rem;
        margin-bottom: 1rem;
        color: #ffffff;
    }

    .card-item p,
    .card-item-profile p {
        margin-bottom: 0.65rem;
        font-size: 0.98rem;
    }

/* =========================
   SISTEMA GLOBAL DE DADOS EM CARDS
   Use para tudo que renderizar dados:
   .data-card-grid
   .data-card
   ========================= */
.data-card-grid,
.company-data-grid,
.profile-data-grid,
.auto-data-grid,
.contact-link-grid,
.github-project-grid,
.youtube-video-grid,
.company-grid,
.jobs-list,
.register-columns,
.job-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

    .data-card,
    .company-data-grid p,
    .profile-data-grid p,
    .auto-item,
    .contact-link-pill,
    .github-project-card,
    .youtube-video-card,
    .job-card,
    .company-card,
    .item-div.card-item-profile {
        min-height: 74px;
        padding: 1rem 1.1rem;
        border-radius: 18px;
        background: rgba(255,255,255,0.055);
        border: 1px solid rgba(255,255,255,0.10);
        color: var(--text);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
        transition: 0.22s ease;
    }

        .data-card:hover,
        .company-data-grid p:hover,
        .profile-data-grid p:hover,
        .auto-item:hover,
        .contact-link-pill:hover,
        .github-project-card:hover,
        .youtube-video-card:hover,
        .job-card:hover,
        .company-card:hover {
            transform: translateY(-2px);
            border-color: rgba(110,168,254,0.45);
            background: rgba(110,168,254,0.10);
        }

        .data-card strong,
        .company-data-grid p strong,
        .profile-data-grid p strong,
        .auto-item span {
            color: var(--muted);
            font-size: 0.82rem;
            font-weight: 600;
        }

        .data-card span,
        .company-data-grid p span,
        .profile-data-grid p span,
        .auto-item strong {
            color: #ffffff;
            font-size: 1rem;
            font-weight: 800;
        }

        .data-card p {
            margin: 0;
        }

        /* Faz os <p> gerados dinamicamente virarem cards */
        .item-div.card-item-profile > p,
        .card-item-profile > p,
        .card-item > p {
            padding: 1rem 1.1rem;
            border-radius: 18px;
            background: rgba(255,255,255,0.045);
            border: 1px solid rgba(255,255,255,0.08);
            color: var(--muted);
        }

            .item-div.card-item-profile > p:hover,
            .card-item-profile > p:hover,
            .card-item > p:hover {
                border-color: rgba(110,168,254,0.35);
                background: rgba(110,168,254,0.08);
            }

/* =========================
   PROFILE PF/PJ
   ========================= */
#principalDiv {
    width: 100% !important;
    max-width: 980px;
    margin: 0 auto;
    left: auto !important;
    position: relative;
    gap: 1.2rem !important;
}

.profile-page {
    width: 100%;
}

.company-profile-card,
.profile-card-main {
    overflow: hidden;
}

.profile-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

    .profile-header img,
    .company-profile-card img {
        width: 90px;
        height: 90px;
        border-radius: 999px;
        object-fit: cover;
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.10);
    }

.hero-badge {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(0, 234, 255, 0.15);
    color: var(--cyan);
    font-weight: 800;
    font-size: 0.86rem;
}

.company-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .company-tags span,
    .stack-badge {
        display: inline-block;
        padding: 0.45rem 0.75rem;
        border-radius: 999px;
        background: rgba(255,255,255,0.055);
        border: 1px solid rgba(255,255,255,0.08);
        color: #ffffff;
        font-size: 0.82rem;
        font-weight: 700;
    }

/* =========================
   CONTATO / SOCIAL
   ========================= */
.contact-link-pill {
    min-height: 82px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    text-decoration: none;
}

    .contact-link-pill strong {
        color: #fff;
        font-size: 1rem;
    }

    .contact-link-pill small {
        color: var(--muted);
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }


/* =========================
   GITHUB / YOUTUBE CARDS
   ========================= */
.github-card-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    color: #fff;
}

.github-project-card p {
    font-size: 0.92rem;
    margin-bottom: 0.8rem;
}

.github-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.github-project-card details {
    margin-top: 0.9rem;
    cursor: pointer;
}

.github-project-card summary {
    color: var(--primary);
    font-weight: 700;
}

.github-project-card pre {
    max-height: 180px;
    overflow: auto;
    white-space: pre-wrap;
    font-size: 0.78rem;
    padding: 0.8rem;
    border-radius: 14px;
    background: rgba(0,0,0,0.25);
    color: var(--muted);
}

.youtube-thumb {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

    .youtube-thumb img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        display: block;
    }

.play-badge {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2.4rem;
    color: white;
    background: rgba(0,0,0,0.25);
}

.youtube-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

    .youtube-info strong {
        color: #fff;
        font-size: 0.95rem;
    }

    .youtube-info a {
        color: var(--primary);
        font-size: 0.9rem;
        font-weight: 700;
    }

.media-section {
    margin-top: 1.8rem;
}

/* =========================
   EMPRESAS / VAGAS
   ========================= */
.companies-page,
.jobs-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 2rem;
    color: white;
}

.companies-hero {
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(18,23,34,0.96), rgba(13,17,26,0.98));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
}

    .companies-hero h1,
    .jobs-header h1 {
        font-size: clamp(2rem, 4vw, 3.6rem);
        line-height: 1.1;
        color: #fff;
        margin-bottom: 0.8rem;
    }

    .companies-hero p,
    .jobs-header p {
        color: var(--muted);
        max-width: 850px;
    }

.jobs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.job-card {
    position: relative;
}

    .job-card h3 {
        color: var(--cyan);
        margin-bottom: 0.8rem;
    }

.job-info {
    margin: 0.45rem 0;
    color: #ddd;
}

.job-stacks {
    margin-top: 0.8rem;
}

.job-metrics {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 0.86rem;
}

.job-link {
    display: inline-block;
    margin-top: 0.8rem;
    color: var(--cyan);
    text-decoration: none;
    font-weight: 800;
}

/* =========================
   MODAIS
   ========================= */
.login-overlay,
.job-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 12, 0.72);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1500;
}

.login-modal,
.job-modal-content {
    width: min(520px, calc(100vw - 2rem));
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    animation: fadeIn 0.25s ease;
}

.close-modal {
    position: absolute;
    right: 18px;
    top: 14px;
    background: transparent;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
}

.form-actions,
.job-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

/* =========================
   REGISTER
   ========================= */
.register-header {
    margin-bottom: 1.5rem;
}

    .register-header h1 {
        font-size: clamp(2rem, 4vw, 3.2rem);
        line-height: 1.1;
        margin-bottom: 0.8rem;
    }

    .register-header p {
        margin-bottom: 0;
        color: var(--muted);
    }

.register-pricing-note {
    margin-top: 1rem !important;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(0, 212, 255, 0.24);
    background: rgba(0, 212, 255, 0.08);
    color: var(--text) !important;
    line-height: 1.55;
}

    .register-pricing-note strong {
        color: #00d4ff;
    }

.account-switch {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
}

.switch-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 1rem;
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    cursor: pointer;
    color: var(--text);
    min-width: 190px;
}

    .switch-option input[type="radio"] {
        accent-color: var(--primary);
    }

.register-form {
    display: none;
    animation: fadeIn 0.25s ease;
}

    .register-form.active {
        display: block;
    }

.register-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

    .register-column label,
    .job-create-panel label,
    .contact-form-box label {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        font-weight: 600;
        width: 100%;
    }

.checkbox-line {
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.7rem !important;
    margin-top: 0.35rem;
}

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


.edit-btn,
.edit-btn2 {
    width: 100px;
    height: 62px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    cursor: pointer;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
}

    .edit-btn:hover,
    .edit-btn2:hover {
        color: var(--cyan);
        background: rgba(110, 168, 254, 0.14);
        border-color: rgba(110, 168, 254, 0.3);
    }

/* =========================
   FOCUS / ANIMAÇÃO
   ========================= */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(110, 168, 254, 0.14);
}

@keyframes fadeIn {
    from {
        transform: translateY(8px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* =========================
   RESPONSIVIDADE
   ========================= */
@media (max-width: 991px) {
    .container {
        padding: 2rem 1.25rem 3rem 7rem;
    }

    .BtnLogin {
        right: 1rem;
    }

    .card-item,
    .card-item-profile,
    .about-container,
    .pricing-card {
        border-radius: 20px;
    }
}

@media (max-width: 900px) {
    .register-columns,
    .job-form-grid {
        grid-template-columns: 1fr;
    }

    .register-wrapper {
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .sidebar-saas,
    .sidebar-profile {
        width: 72px;
        padding: 1rem 0.7rem;
    }

        .sidebar-saas:hover,
        .sidebar-profile:hover {
            width: 220px;
        }

    .container {
        padding: 1.2rem 1rem 2rem 5.7rem;
    }

    .BtnLogin {
        top: 1rem;
        right: 1rem;
        height: 42px;
    }

    .card-item,
    .card-item-profile {
        padding: 1.2rem;
    }

    .data-card-grid,
    .company-data-grid,
    .profile-data-grid,
    .auto-data-grid,
    .contact-link-grid,
    .github-project-grid,
    .youtube-video-grid,
    .company-grid,
    .jobs-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .sidebar-saas,
    .sidebar-profile {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        flex-direction: column;
    }

        .sidebar-saas:hover,
        .sidebar-profile:hover {
            width: 100%;
        }

    .spanMenu,
    .spanProfile {
        opacity: 1;
    }

    .BtnLogin {
        position: static;
        margin: 1rem;
    }

    header {
        height: 0;
    }

    .companies-page,
    .jobs-page {
        padding: 1rem;
    }
}
/* =========================
   GRID MAIS COMPACTO
   ========================= */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    max-width: 900px;
    margin: 0 auto;
    justify-content: center;
    gap: 1rem;
}

/* =========================
   CARD MAIS COMPACTO
   ========================= */
.pricing-card {
    padding: 1.2rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    transition: 0.25s ease;
}

    /* HOVER MAIS SUAVE */
    .pricing-card:hover {
        transform: translateY(-3px);
        border-color: rgba(110,168,254,0.45);
        background: rgba(110,168,254,0.08);
    }

    /* CARD DESTACADO */
    .pricing-card.featured {
        border: 1px solid rgba(110,168,254,0.6);
        box-shadow: 0 0 30px rgba(110,168,254,0.18);
    }

    /* =========================
   TIPOGRAFIA AJUSTADA
   ========================= */
    .pricing-card h2 {
        font-size: 1.1rem;
    }

.price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #00eaff;
}

    .price span {
        font-size: 0.8rem;
    }

/* =========================
   LISTA MAIS COMPACTA
   ========================= */
.pricing-card ul {
    padding: 0;
    margin: 0;
}

.pricing-card li {
    font-size: 0.85rem;
    padding: 2px 0;
    color: #cbd5e1;
}

/* =========================
   BOTÃO MAIS CLEAN
   ========================= */
.pricing-card .styledBtn {
    margin-top: 0.6rem;
    height: 38px;
    font-size: 0.85rem;
}

.home-feed {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.hero-card {
    position: relative;
    overflow: hidden;
    padding: 3rem;
    border-radius: 28px;
    background: radial-gradient(circle at top right, rgba(0,234,255,0.14), transparent 35%), linear-gradient(180deg, rgba(18,23,34,0.96), rgba(13,17,26,0.98));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 80px rgba(0,0,0,0.42);
}

.hero-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    right: -80px;
    top: -80px;
    background: rgba(0,234,255,0.18);
    filter: blur(70px);
    border-radius: 999px;
    pointer-events: none;
}

.hero-card h1 {
    max-width: 900px;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.hero-card h3 {
    max-width: 900px;
    color: #dbe7ff;
    font-weight: 500;
    margin-bottom: 1rem;
}

.hero-description {
    max-width: 820px;
    color: #a9b2c3;
    font-size: 1rem;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-separator {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    color: #00eaff;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

    .section-separator span {
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0,234,255,0.55), transparent);
    }

.about-card {
    padding: 2rem;
    border-radius: 28px;
    background: radial-gradient(circle at bottom left, rgba(110,168,254,0.10), transparent 35%), linear-gradient(180deg, rgba(18,23,34,0.96), rgba(13,17,26,0.98));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 70px rgba(0,0,0,0.35);
}

.about-header h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 1rem;
}

.about-info-card {
    padding: 1.2rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.10);
    transition: 0.22s ease;
}

    .about-info-card:hover {
        transform: translateY(-2px);
        border-color: rgba(110,168,254,0.45);
        background: rgba(110,168,254,0.10);
    }

    .about-info-card strong {
        display: block;
        color: white;
        margin-bottom: 0.6rem;
    }

    .about-info-card p {
        color: #a9b2c3;
        margin: 0;
    }

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        padding: 2rem;
    }
}

/* =========================================================
   FIX ACADEMICS PAGE - compatível com CSS global em cards
   ========================================================= */

.academics-page,
body:has(#tipoFormacao) #principalDiv {
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 auto !important;
    left: auto !important;
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
    gap: 1rem !important;
    align-items: stretch !important;
}

    /* Cada label vira um card */
    body:has(#tipoFormacao) #principalDiv > label {
        width: 100% !important;
        min-height: 112px;
        padding: 1rem 1.1rem;
        border-radius: 18px;
        background: rgba(255,255,255,0.055);
        border: 1px solid rgba(255,255,255,0.10);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center;
        gap: 0.55rem !important;
        color: var(--text);
        font-size: 0.86rem;
        font-weight: 700;
    }

        /* Inputs dentro dos cards */
        body:has(#tipoFormacao) #principalDiv > label input,
        body:has(#tipoFormacao) #principalDiv > label select {
            width: 100% !important;
            max-width: 100% !important;
        }

/* Descrição ocupa a linha toda */
body:has(#tipoFormacao) label:has(#descricaoFormacao) {
    grid-column: 1 / -1;
}

/* File input ocupa a linha toda */
body:has(#tipoFormacao) label:has(#imgCertificacao) {
    grid-column: 1 / -1;
}

/* Botão salvar centralizado e sem left/top antigo */
#updateSaveAcademicData, .updateSaveProfessionalExp {
    width: min(260px, 100%) !important;
    height: 46px !important;
    margin: 1.5rem auto 2rem auto !important;
    left: auto !important;
    top: auto !important;
    position: relative !important;
    display: block !important;
    border-radius: 999px !important;
}

/* Cards de registros acadêmicos renderizados via JS */
body:has(#tipoFormacao) #principalDiv > .card-item {
    grid-column: 1 / -1;
    max-width: 100% !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

    /* Cada p dentro do registro vira subcard */
    body:has(#tipoFormacao) #principalDiv > .card-item > p {
        margin: 0 !important;
        min-height: 70px;
        padding: 0.9rem 1rem;
        border-radius: 16px;
        background: rgba(255,255,255,0.045);
        border: 1px solid rgba(255,255,255,0.08);
        color: var(--muted);
    }

    /* Botões editar/excluir acima do card */
    body:has(#tipoFormacao) #principalDiv > .card-item .edit-btn {
        z-index: 5;
    }

@media (max-width: 768px) {
    body:has(#tipoFormacao) #principalDiv {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   FIX PÁGINAS INTERNAS - Contact, Folders, OtherHabilities,
   ProfessionalExperience
   ========================================================= */

/* base comum das páginas com formulário */
body:has(#principalDiv) #principalDiv {
    width: 100% !important;
    max-width: 980px !important;
    margin: 0 auto !important;
    left: auto !important;
    position: relative !important;
    gap: 1rem !important;
}

    /* labels/formulários em formato card */
    body:has(#principalDiv) #principalDiv > label {
        width: 100% !important;
        min-height: 105px;
        padding: 1rem 1.1rem;
        border-radius: 18px;
        background: rgba(255,255,255,0.055);
        border: 1px solid rgba(255,255,255,0.10);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center;
        gap: 0.55rem !important;
        color: var(--text);
        font-size: 0.86rem;
        font-weight: 700;
    }

        /* inputs ocupam todo o card */
        body:has(#principalDiv) #principalDiv > label input,
        body:has(#principalDiv) #principalDiv > label select,
        body:has(#principalDiv) #principalDiv > label textarea {
            width: 100% !important;
            max-width: 100% !important;
        }

    /* cards renderizados pelo JS */
    body:has(#principalDiv) #principalDiv > .card-item,
    body:has(#principalDiv) #principalDiv > .card-item-profile {
        grid-column: 1 / -1;
        max-width: 100% !important;
        margin: 0 !important;
        display: none;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 0.85rem;
    }

        /* cada dado vira subcard */
        body:has(#principalDiv) #principalDiv > .card-item > p,
        body:has(#principalDiv) #principalDiv > .card-item-profile > p {
            margin: 0 !important;
            min-height: 70px;
            padding: 0.9rem 1rem;
            border-radius: 16px;
            background: rgba(255,255,255,0.045);
            border: 1px solid rgba(255,255,255,0.08);
            color: var(--muted);
        }

/* botões salvar/editar das páginas */
#updateSaveContactData,
#updateSaveFolderData,
#updateSaveOtherHabilitiesData,
#updateSaveProfessionalExperienceData,
#saveContactData,
#saveFolderData,
#saveOtherHabilitiesData,
#saveProfessionalExperienceData {
    width: min(260px, 100%) !important;
    height: 46px !important;
    margin: 1.5rem auto 2rem auto !important;
    left: auto !important;
    top: auto !important;
    position: relative !important;
    display: block !important;
    border-radius: 999px !important;
}

/* =========================================================
   CONTACT
   ========================================================= */

body:has(#linkedinUrl) #principalDiv,
body:has(#githubUrl) #principalDiv,
body:has(#youtubeUrl) #principalDiv {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
    align-items: stretch !important;
}

body:has(#linkedinUrl) label:has(textarea),
body:has(#githubUrl) label:has(textarea),
body:has(#youtubeUrl) label:has(textarea) {
    grid-column: 1 / -1;
}

/* =========================================================
   FOLDERS / PORTFÓLIO
   ========================================================= */

body:has(#ImagemProjeto) #principalDiv,
body:has(#imgProjeto) #principalDiv,
body:has(#githubUrlProject) #principalDiv,
body:has(#stacks) #principalDiv {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
    align-items: stretch !important;
}

body:has(#ImagemProjeto) label:has(input[type="file"]),
body:has(#imgProjeto) label:has(input[type="file"]),
body:has(#descricaoProjeto),
body:has(#descricao) label:has(textarea) {
    grid-column: 1 / -1;
}

/* =========================================================
   OTHER HABILITIES
   ========================================================= */

body:has(#otherHability) #principalDiv,
body:has(#habilidade) #principalDiv,
body:has(#nivelHabilidade) #principalDiv {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
    align-items: stretch !important;
}

body:has(#descricaoHabilidade) label,
body:has(#descricaoOtherHability) label {
    grid-column: 1 / -1;
}

/* =========================================================
   PROFESSIONAL EXPERIENCE
   ========================================================= */

body:has(#cargo) #principalDiv,
body:has(#empresa) #principalDiv,
body:has(#dataInicio) #principalDiv,
body:has(#dataFim) #principalDiv {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(260px, 1fr)) !important;
    align-items: stretch !important;
}

body:has(#descricaoExperiencia) label,
body:has(#descricaoProfissional) label,
body:has(#atividades) label {
    grid-column: 1 / -1;
}

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 768px) {
    body:has(#principalDiv) #principalDiv {
        grid-template-columns: 1fr !important;
    }

}

.company-jobs-panel {
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    overflow: visible !important;
}

.company-panel-jobs {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 1rem !important;
    width: 100% !important;
    min-height: 150px !important;
    margin-top: 1rem !important;
    visibility: visible !important;
    opacity: 1 !important;
}

    .company-panel-jobs .job-card {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

.sidebar-saas.force-expanded,
.sidebar-profile.force-expanded {
    width: var(--sidebar-width-expanded) !important;
}

    .sidebar-saas.force-expanded .spanMenu,
    .sidebar-profile.force-expanded .spanProfile {
        opacity: 1 !important;
    }

.company-tags {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .company-tags span,
    .stack-badge {
        display: inline-block;
        padding: 6px 12px;
        border-radius: 10px;
        background: rgba(0,255,255,0.15);
        color: white;
        font-size: 13px;
    }

.hero-badge {
    display: inline-block;
    margin-bottom: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(0, 234, 255, 0.15);
    color: #00eaff;
    font-weight: bold;
}

.jobs-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

.job-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 0 25px rgba(0,255,255,0.12);
}

    .job-card h3 {
        color: #00eaff;
        margin-bottom: 10px;
    }

.job-info {
    margin: 6px 0;
    color: #ddd;
}

.job-stacks {
    margin-top: 12px;
}

.job-metrics {
    margin-top: 14px;
    color: #aaa;
    font-size: 13px;
}

.job-link {
    display: inline-block;
    margin-top: 12px;
    color: #00eaff;
    text-decoration: none;
    font-weight: bold;
}

.contact-link-grid,
.auto-data-grid,
.github-project-grid,
.youtube-video-grid {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.contact-link-pill,
.github-project-card,
.youtube-video-card,
.auto-item {
    display: block;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    color: white;
    text-decoration: none;
}

.youtube-thumb img {
    max-width: 100%;
    border-radius: 12px;
}


.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.cancel-btn {
    background: rgba(255,80,80,0.2);
}


.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.cancel-btn {
    background: rgba(239,68,68,0.25) !important;
}

#userInfo {
    flex-direction: column !important;
    gap: 1.4rem;
}

#modalFields {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 1rem;
    width: 100%;
}

    #modalFields label {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
        font-weight: 700;
    }

.modal-actions {
    width: 100%;
    display: flex !important;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
    grid-column: 1 / -1;
}

.cancel-btn {
    background: rgba(239,68,68,0.25) !important;
}

@media(max-width: 768px) {
    #modalFields {
        grid-template-columns: 1fr;
    }

    .modal-actions {
        justify-content: stretch;
    }

        .modal-actions button {
            width: 100%;
        }
}
.sidebar-search {
    width: 100%;
    display: flex;
    justify-content: center; /* centraliza horizontal */
}

#searchProfile {
    width: min(80em, 100%);
    text-align: center; /* opcional: texto central */
}

.search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 40px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: white;
    backdrop-filter: blur(6px);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.filter-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0.7;
}

.search-filters {
    display: none;
    gap: 6px;
}

.search-filters button {
    padding: 6px 12px;
    border-radius: 10px;
    border: none;
    background: rgba(0,255,255,0.15);
    color: white;
    cursor: pointer;
}

.panel-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}


#searchResults {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.search-result-card {
    width: 100%;
    min-height: 140px;
    padding: 1.6rem 2rem;
    border-radius: 24px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.10);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: 0.22s ease;
    overflow-wrap: anywhere;
}

    .search-result-card:hover {
        transform: translateY(-2px);
        border-color: rgba(110,168,254,0.45);
        background: rgba(110,168,254,0.10);
    }

    .search-result-card h3 {
        font-size: 1.8rem;
        margin: 0.5rem 0;
    }

    .search-result-card p {
        max-width: 850px;
        margin: 0;
        color: #a9b2c3;
        font-size: 1.05rem;
    }

.open-result {
    white-space: nowrap;
    color: #00eaff;
    font-weight: 800;
}
body:has(#principalDiv) #principalDiv > label.checkbox-card {
    width: 100% !important;
    min-height: 105px !important;
    padding: 1rem 1.1rem !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .checkbox-row span {
        font-size: 0.86rem;
        font-weight: 700;
        color: var(--text);
    }

.job-card {
    position: relative;
}

.card-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

    .card-actions .edit-btn,
    .card-actions .edit-btn2 {
        width: 35px;
        height: 35px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        cursor: pointer;
        background: rgba(255, 255, 255, 0.12);
        backdrop-filter: blur(6px);
    }

.notification-item {
    position: relative;
}

.notification-label,
.notification-badge {
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
}

/* aparece SOMENTE quando expandir */
.sidebar-saas:hover .notification-label,
.sidebar-saas:hover .notification-badge,
.sidebar-profile:hover .notification-label,
.sidebar-profile:hover .notification-badge,
.sidebar-saas.force-expanded .notification-label,
.sidebar-saas.force-expanded .notification-badge,
.sidebar-profile.force-expanded .notification-label,
.sidebar-profile.force-expanded .notification-badge {
    opacity: 1;
}

.notification-label {
    white-space: nowrap;
    color: #dfe7f5;
    font-size: 0.95rem;
    font-weight: 500;
}

.notification-badge {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ef4444;
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* expandido */
.sidebar-saas:hover .sidebar-item.notification-item,
.sidebar-profile:hover .sidebar-item.notification-item,
.sidebar-saas.force-expanded .sidebar-item.notification-item,
.sidebar-profile.force-expanded .sidebar-item.notification-item {
    justify-content: flex-start;
}
/* =========================================================
   NOTIFICATIONS OVERLAY
   ========================================================= */


.notifications-modal {
    width: min(720px, calc(100vw - 2rem));
    max-height: 85vh;
    overflow-y: auto;
}

#notificationsBox {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.notification-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.notification-avatar {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    object-fit: cover;
    margin-bottom: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 18px rgba(255,255,255,0.06);
}
.feed-create-post,
.feed-filters,
.feed-post {
    margin-bottom: 1.2rem;
}

.feed-textarea {
    width: 100%;
    min-height: 140px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    background: rgba(255,255,255,0.04);
    color: var(--text);
    padding: 1rem;
    resize: vertical;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

    .feed-textarea:focus {
        border-color: rgba(110, 168, 254, 0.55);
        background: rgba(255,255,255,0.06);
        box-shadow: 0 0 0 4px rgba(110, 168, 254, 0.10);
    }

.feed-create-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: flex-end;
}

.feed-filter-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr auto;
    gap: 1rem;
    align-items: center;
}

.feed-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feed-post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feed-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.feed-avatar {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
}

.feed-author-name {
    margin: 0;
    font-size: 1.05rem;
    color: #fff;
}

.feed-meta {
    margin: 0.2rem 0 0 0;
    font-size: 0.92rem;
    color: var(--muted);
}

.feed-visibility {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text);
    font-size: 0.9rem;
    white-space: nowrap;
}

.feed-post-body p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
}

.feed-post-image-wrapper {
    margin-top: 0.6rem;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.03);
}

.feed-post-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.feed-post-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.feed-action-btn {
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, #1a2230 0%, #121926 100%);
    color: var(--text);
    border-radius: 999px;
    min-height: 42px;
    padding: 0 1rem;
    font-weight: 600;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    cursor: pointer;
}

    .feed-action-btn:hover {
        transform: translateY(-1px);
        border-color: rgba(110, 168, 254, 0.45);
        box-shadow: 0 14px 30px rgba(0,0,0,0.26);
    }

@media (max-width: 768px) {
    .feed-filter-row {
        grid-template-columns: 1fr;
    }

    .feed-post-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .feed-post-actions {
        width: 100%;
    }

    .feed-action-btn {
        flex: 1 1 100%;
    }
}

.about-container {
    display: flex;
    flex-direction: column;
    width: min(50rem, 100%);
    bottom: auto;
    align-items: flex-start;
    gap: 0rem;
    position: relative;
}
.pricing-section-company {
    position: relative;
}

.pricing-title {
    text-align: center;
    margin-bottom: 3rem;
}


.final-cta-section {
    position: relative;

}

.final-cta-description {
    opacity: 0.8;
}


.pricing-title {
    text-align: center;
    margin-bottom: 3rem;
}


.register-container {
    padding: 0 !important;
}

.selected-plan-box {
    margin-bottom: 2rem;
    display: none;
}

.selected-plan-price {
    font-size: 2rem;
    font-weight: bold;
}

.register-container {
    padding: 0 !important;
}

.selected-plan-box {
    margin-bottom: 2rem;
    display: none;
}

.selected-plan-price {
    font-size: 2rem;
    font-weight: bold;
}

.company-profile-img {
    width: 90px;
    height: 90px;
    border-radius: 999px;
    object-fit: cover;
}

.job-apply-btn {
    margin-top: 20px;
}

.worker-profile-img {
    width: 90px;
    height: 90px;
    border-radius: 999px;
    object-fit: cover;
}
.form-label-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.update-contact-btn {
    width: min(15rem, 100%) !important;
    left: auto;
    top: auto;
    position: relative;
    margin: 1.5rem auto;
}
.project-form-wrapper {
    display: flex;
    flex-direction: column;
    width: min(50rem, 100%);
    align-items: flex-start;
    gap: 1rem;
    left: auto;
    position: relative;
}

.form-label-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.project-form-wrapper {
    display: flex;
    flex-direction: column;
    width: min(50rem, 100%);
    align-items: flex-start;
    gap: 1rem;
    left: auto;
    position: relative;
}

.form-label-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.save-folder-btn {
    width: min(15rem, 100%) !important;
    left: auto;
    top: auto;
    position: relative;
    margin: 1.5rem auto;
}
.skills-form-wrapper {
    display: flex;
    flex-direction: column;
    width: min(50rem, 100%);
    align-items: flex-start;
    gap: 1rem;
    left: auto;
    position: relative;
}

.form-label-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.save-skill-btn {
    width: min(15rem, 100%) !important;
    left: auto;
    top: auto;
    position: relative;
    margin: 1.5rem auto;
}

.experience-form-wrapper {
    display: flex;
    flex-direction: column;
    width: min(50rem, 100%);
    align-items: flex-start;
    gap: 1rem;
    left: auto;
    position: relative;
}

.form-label-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.current-job-checkbox {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: auto !important;
}


.profile-page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    width: 100%;
}

.profile-section-hidden {
    display: none;
    width: 100%;
}


.profile-avatar-img {
    width: 77px;
    height: 77px;
    border-radius: 999px;
    object-fit: cover;
}

.company-profile-header {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.company-logo-img {
    width: 90px;
    height: 90px;
    border-radius: 999px;
    object-fit: cover;
    background: rgba(255,255,255,0.08);
}

.company-data-spacing {
    margin-top: 22px;
}

.jobs-wrapper-card {
    margin-top: 25px;
    width: 100%;
}

.modal-user-info {
    display: none;
}
.layout-header-spacing {
    margin-top: 3rem;
}

.login-description {
    margin-bottom: 0.8rem;
}

.login-close-text {
    margin-top: 1.2rem;
    opacity: 0.7;
    cursor: pointer;
    text-align: center;
}

.company-profile-box {
    display: none;
    width: 100%;
}

.company-logo-preview {
    width: 77px;
    height: 77px;
    border-radius: 999px;
}

.register-container {
    padding: 0 0 0 0 !important;
}

.selected-plan-box {
    margin-bottom: 2rem;
    display: none;
}

.selected-plan-price {
    font-size: 2rem;
    font-weight: bold;
}
.login-overlay {
    display: none;
}

    .login-overlay.is-visible {
        display: flex;
    }

.search-filters {
    display: none;
}

    .search-filters.is-visible-flex {
        display: flex;
    }

.sidebar-visible {
    visibility: visible !important;
}

.sidebar-hidden {
    visibility: hidden !important;
}

.sidebar-visible {
    visibility: visible !important;
}

.sidebar-hidden {
    visibility: hidden !important;
}

.selected-plan-box {
    display: none;
}

.selected-plan-visible {
    display: block;
}
.connect-btn {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

    .connect-btn:hover {
        transform: scale(1.05);
        opacity: 0.95;
    }

.connect-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .connect-icon svg {
        width: 100%;
        height: 100%;
    }

/* GitHub */
.github-connect {
    background: #181717;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(24, 23, 23, 0.35);
}

/* YouTube */
.youtube-connect {
    background: #FF0000;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.35);
}

.match-filter-modal {
    max-width: 760px;
    width: 92%;
}

.match-skill-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(110px, 140px) 52px;
    gap: 0.8rem;
    align-items: center;
}

.add-match-skill-btn {
    width: 52px;
    height: 52px;
    padding: 0;
    font-size: 1.5rem;
}

.selected-match-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.2rem 0;
}

.match-skill-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}

.remove-match-skill {
    border: none;
    background: transparent;
    color: inherit;
    font-weight: bold;
    cursor: pointer;
}

.job-skill-weight-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(130px, 190px) 52px;
    gap: 0.8rem;
    align-items: center;
}

.add-job-skill-btn {
    width: 52px;
    height: 52px;
    padding: 0;
    font-size: 1.4rem;
    font-weight: bold;
}

.selected-job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.job-skill-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
}

.remove-job-skill {
    border: none;
    background: transparent;
    color: inherit;
    font-weight: bold;
    cursor: pointer;
}

.plans-cards-container {
    display: flex;
    gap: 18px;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 32px;
}

.plan-card {
    width: min(280px, 100%);
    padding: 22px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: none;
    transition: 0.2s ease;
}

    .plan-card:hover {
        transform: translateY(-4px);
        border-color: rgba(0, 212, 255, 0.45);
    }

    .plan-card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .plan-card .selected-plan-price {
        font-size: 1.5rem;
        font-weight: 700;
        color: #00d4ff;
        margin-bottom: 18px;
    }

    .plan-card ul {
        list-style: none;
        padding: 0;
        margin: 0 0 20px 0;
    }

    .plan-card li {
        font-size: 0.9rem;
        margin-bottom: 8px;
        color: #dbeafe;
    }

    .plan-card .styledBtn {
        width: 100%;
        margin-top: auto;
    }

.selected-plan-card {
    border-color: #00d4ff;
}

.job-stacks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    margin-bottom: 1.5rem;
}

.job-stack-badge {
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #b9ffe1;
    background: linear-gradient( 135deg, rgba(0, 255, 170, 0.18), rgba(0, 255, 200, 0.10) );
    border: 1px solid rgba(0, 255, 170, 0.35);
    box-shadow: 0 0 12px rgba(0, 255, 170, 0.18), inset 0 0 8px rgba(0, 255, 170, 0.08);
    backdrop-filter: blur(8px);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

    .job-stack-badge:hover {
        transform: translateY(-2px) scale(1.04);
        border-color: rgba(0, 255, 170, 0.7);
        box-shadow: 0 0 18px rgba(0, 255, 170, 0.45), 0 0 30px rgba(0, 255, 170, 0.22);
    }


.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid rgba(0, 255, 170, 0.45);
    box-shadow: 0 0 25px rgba(0, 255, 170, 0.35);
}


.profile-section {
    margin-top: 3rem;
}

.profile-section-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
}


.timeline-card {
    padding: 1.5rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 1.5rem;
}

    .timeline-card h3 {
        color: white;
        font-size: 1.25rem;
        margin-bottom: 0.35rem;
    }

    .timeline-card strong {
        color: #00ffbf;
        display: block;
        margin-bottom: 0.75rem;
    }

    .timeline-card p {
        color: #b6c2d9;
        line-height: 1.7;
    }

    .timeline-card small {
        display: block;
        margin-top: 1rem;
        color: #7d8ca5;
    }

.profile-page {
    width: 100%;
    max-width: 1500px;
    margin: auto;
    padding: 2rem;
}

/* =========================================
   HERO
========================================= */

.profile-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 2rem;
    margin-bottom: 2rem;
    border-radius: 32px;
    background: linear-gradient( 145deg, rgba(7,15,35,.96), rgba(3,7,18,.98) );
    border: 1px solid rgba(0,255,255,.08);
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: #00ffee;
    filter: blur(180px);
    opacity: .08;
}

.hero-title {
    font-size: clamp(2.2rem, 8vw, 4rem);
    font-weight: 700;
    margin-top: 1rem;
}

.hero-subtitle {
    color: #00ffd5;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-description {
    max-width: 900px;
    color: #b7c2d8;
    line-height: 1.8;
    font-size: 1.1rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* =========================================
   LAYOUT
========================================= */

.profile-layout {
    display: grid;
    gap: 2rem;
}

/* =========================================
   SIDEBAR
========================================= */

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* =========================================
   CONTENT
========================================= */

.profile-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* =========================================
   CARDS
========================================= */

.profile-card {
    background: linear-gradient( 145deg, rgba(15,25,45,.96), rgba(10,15,25,.98) );
    border-radius: 28px;
    padding: 2rem;
    border: 1px solid rgba(255,255,255,.05);
    box-shadow: 0 0 30px rgba(0,255,255,.03);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

/* =========================================
   AVATAR
========================================= */

.profile-avatar-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #00e5ff;
    box-shadow: 0 0 25px rgba(0,255,255,.35);
}

/* =========================================
   SKILLS
========================================= */

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.stack-badge {
    padding: .7rem 1rem;
    border-radius: 999px;
    background: linear-gradient( 135deg, rgba(0,255,170,.15), rgba(0,170,255,.15) );
    border: 1px solid rgba(0,255,200,.25);
    color: #00ffd5;
    font-weight: 600;
    font-size: .92rem;
    transition: .25s;
}

    .stack-badge:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 20px rgba(0,255,170,.25);
    }

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

.danger-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 18px;
    background: linear-gradient( 135deg, #ff3b6a, #ff1744 );
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: .25s;
}

    .danger-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 25px rgba(255,30,80,.35);
    }

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

@media(max-width:1100px) {

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        order: 2;
    }

    .profile-content {
        order: 1;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}


.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 20px;
    transition: 0.3s;
}

    .timeline-card:hover {
        transform: translateY(-4px);
        border-color: #00ff88;
        box-shadow: 0 0 20px rgba(0,255,136,0.2);
    }

    .timeline-card h3 {
        color: white;
        margin-bottom: 6px;
    }

    .timeline-card h4 {
        color: #00ff88;
        margin-bottom: 12px;
    }

    .timeline-card p {
        color: #bdbdbd;
        line-height: 1.6;
    }

    .timeline-card small {
        color: #777;
    }


.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    gap: 20px;
}


.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}


.portfolio-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 32px;
    border-radius: 28px;
    background: linear-gradient( 145deg, rgba(15,23,42,.95), rgba(2,6,23,.98) );
    border: 1px solid rgba(255,255,255,.06);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 40px rgba(0,0,0,.45);
}

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

.portfolio-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .portfolio-header h2 {
        font-size: 2.2rem;
        font-weight: 700;
        color: white;
    }

    .portfolio-header p {
        font-size: .95rem;
        color: rgba(255,255,255,.65);
    }

/* =========================================
   SOCIAL BLOCK
========================================= */


/* =========================================
   HEADER SOCIAL
========================================= */


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


/* =========================================
   GRID
========================================= */


/* =========================================
   PROJECT CARD
========================================= */

.github-project-card {
    position: relative;
    overflow: hidden;
    padding: 24px;
    border-radius: 24px;
    background: linear-gradient( 145deg, rgba(255,255,255,.06), rgba(255,255,255,.03) );
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .35s ease, border .35s ease, box-shadow .35s ease;
}

    .github-project-card:hover {
        transform: translateY(-6px);
        border-color: rgba(99,102,241,.45);
        box-shadow: 0 15px 35px rgba(0,0,0,.4);
    }

    /* glow */

    .github-project-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient( circle at top right, rgba(99,102,241,.18), transparent 40% );
        pointer-events: none;
    }

    /* =========================================
   TITLES
========================================= */

    .github-project-card h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
        color: white;
    }

    .github-project-card p {
        color: rgba(255,255,255,.72);
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .github-project-card small {
        display: inline-flex;
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(99,102,241,.12);
        color: #a5b4fc;
        font-size: .8rem;
    }

    /* =========================================
   LINKS
========================================= */

    .github-project-card a {
        display: inline-flex;
        margin-top: 18px;
        color: #a5b4fc;
        font-weight: 600;
        text-decoration: none;
    }

    /* =========================================
   YOUTUBE
========================================= */


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

@media(max-width: 768px) {

    .portfolio-wrapper {
        padding: 22px;
    }


}
#academicContainer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 24px;
}

.academic-card {
    display: flex;
    gap: 24px;
    padding: 24px;
    border-radius: 20px;
    background: #161616;
    border: 1px solid #2a2a2a;
    transition: 0.3s ease;
}

    .academic-card:hover {
        transform: translateY(-4px);
        border-color: #7c4dff;
    }

.academic-image {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid #7c4dff;
}

.academic-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.academic-badge {
    width: fit-content;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(124, 77, 255, 0.15);
    color: #b799ff;
    font-size: 0.85rem;
    font-weight: 600;
}

.academic-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
}

.academic-description {
    color: #cfcfcf;
    line-height: 1.6;
}

.academic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.academic-item {
    background: #202020;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .academic-item span {
        color: #9f9f9f;
        font-size: 0.85rem;
    }

    .academic-item strong {
        color: white;
        font-size: 1rem;
    }

.empty-card {
    padding: 24px;
    border-radius: 18px;
    background: #1b1b1b;
    color: #a1a1a1;
    text-align: center;
}
#folderContainer {
    width: 100%;
    max-width: 1180px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.folder-card {
    position: relative;
    width: 100%;
    padding: 2.2rem 2.2rem 2.2rem 14rem;
    border-radius: 28px;
    background: #151515;
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    min-height: 280px;
}

.folder-edit-btn {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 100px;
    height: 62px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.045);
}

.folder-badge {
    display: inline-block;
    padding: 0.45rem 1.2rem;
    border-radius: 999px;
    background: rgba(111, 66, 193, 0.35);
    color: #b794ff;
    font-weight: 800;
}

.folder-title {
    margin-top: 1.3rem;
    font-size: 2rem;
    color: white;
}

.folder-description {
    margin: 1.5rem 0 2rem;
    font-size: 1.2rem;
    color: #d5d9e2;
}

.folder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 1.4rem;
}

.folder-item {
    padding: 1.4rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.045);
}

    .folder-item span {
        display: block;
        color: #a9b2c3;
        margin-bottom: 0.6rem;
    }

    .folder-item strong {
        color: white;
        word-break: break-word;
    }

.folder-image {
    max-width: 120px;
    border-radius: 18px;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .search-result-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.2rem;
        gap: 1rem;
    }

    .open-result {
        white-space: normal;
    }

    .match-skill-row,
    .job-skill-weight-row {
        grid-template-columns: 1fr;
    }

    .add-match-skill-btn,
    .add-job-skill-btn {
        width: 100%;
    }

    .profile-page,
    .portfolio-wrapper,
    .folder-card {
        padding: 1.2rem;
    }

    .profile-hero {
        padding: 3rem 1rem;
        border-radius: 20px;
    }

    .folder-edit-btn {
        position: relative;
        top: auto;
        left: auto;
        margin-bottom: 1rem;
    }

    .academic-card {
        flex-direction: column;
    }

    .academic-image {
        width: 100%;
        max-height: 220px;
    }
}
/* Mobile layout hardening */
@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        min-width: 0;
    }

    header,
    footer {
        height: auto;
    }

    .layout-header-spacing {
        margin-top: 0;
    }

    .container,
    .register-container,
    .companies-page,
    .jobs-page,
    .home-feed,
    .profile-page,
    #principalDiv,
    body:has(#principalDiv) #principalDiv {
        width: 100% !important;
        max-width: 100% !important;
        padding: 1rem !important;
        margin: 0 auto !important;
        left: auto !important;
        right: auto !important;
        min-width: 0 !important;
    }

    main[role="main"],
    .pb-3 {
        width: 100%;
        min-width: 0;
    }

    .sidebar-saas,
    .sidebar-profile {
        position: sticky !important;
        top: 0;
        left: auto !important;
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        padding: 0.6rem !important;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        flex-direction: row !important;
        align-items: center;
        gap: 0.5rem;
        overflow-x: auto;
        overflow-y: hidden;
        z-index: 1200;
    }

    .sidebar-saas:hover,
    .sidebar-profile:hover,
    .sidebar-saas.force-expanded,
    .sidebar-profile.force-expanded {
        width: 100% !important;
    }

    .sidebar-item {
        flex: 0 0 auto;
        width: auto;
        min-height: 44px;
        padding: 0 0.8rem;
        border-radius: 12px;
    }

    .sidebar-saas img,
    .sidebar-profile img {
        width: 42px !important;
        height: 42px !important;
        margin: 0 !important;
        flex: 0 0 auto;
    }

    .spanMenu,
    .spanProfile,
    .notification-label,
    .notification-badge {
        opacity: 1 !important;
        pointer-events: auto;
    }

    .notification-badge {
        position: static;
        transform: none;
    }

    .BtnLogin {
        position: sticky !important;
        top: 0.5rem;
        right: auto !important;
        display: block;
        width: calc(100% - 2rem);
        margin: 0.75rem auto;
        z-index: 1300;
    }

    .sidebar-search {
        width: 100%;
        padding: 0 1rem;
        margin: 0.75rem 0;
    }

    .search-container,
    .search-box,
    #searchProfile {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    .search-filters {
        flex-wrap: wrap;
        justify-content: center;
    }

    .card-item,
    .card-item-profile,
    .about-container,
    .pricing-card,
    .company-card,
    .jobs-box-main,
    .login-modal,
    .job-modal-content,
    .register-wrapper,
    .contact-page-wrapper,
    .hero-card,
    .about-card,
    .profile-card,
    .portfolio-wrapper,
    .folder-card,
    .academic-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 1rem !important;
        border-radius: 16px !important;
        min-width: 0 !important;
    }

    .data-card-grid,
    .company-data-grid,
    .profile-data-grid,
    .auto-data-grid,
    .contact-link-grid,
    .github-project-grid,
    .youtube-video-grid,
    .company-grid,
    .jobs-list,
    .register-columns,
    .job-form-grid,
    .about-grid,
    .pricing-container,
    .folder-grid,
    .portfolio-grid,
    .results-grid,
    #modalFields,
    body:has(#tipoFormacao) #principalDiv,
    body:has(#linkedinUrl) #principalDiv,
    body:has(#githubUrl) #principalDiv,
    body:has(#youtubeUrl) #principalDiv,
    body:has(#ImagemProjeto) #principalDiv,
    body:has(#imgProjeto) #principalDiv,
    body:has(#githubUrlProject) #principalDiv,
    body:has(#stacks) #principalDiv,
    body:has(#otherHability) #principalDiv,
    body:has(#habilidade) #principalDiv,
    body:has(#nivelHabilidade) #principalDiv,
    body:has(#cargo) #principalDiv,
    body:has(#empresa) #principalDiv,
    body:has(#dataInicio) #principalDiv,
    body:has(#dataFim) #principalDiv {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 1rem !important;
    }

    .jobs-header,
    .profile-header,
    .company-profile-header,
    .feed-post-header,
    .feed-author,
    .hero-actions,
    .form-actions,
    .job-actions,
    .modal-actions,
    .account-switch {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
    }

    .styledBtn,
    .BtnLogin,
    input[type=button],
    button,
    .btn-new-job,
    .submit-register-btn,
    .switch-option {
        width: 100%;
        max-width: 100%;
    }

    .hero-card h1,
    .companies-hero h1,
    .jobs-header h1,
    .register-header h1,
    .portfolio-header h2,
    .folder-title {
        font-size: clamp(1.8rem, 10vw, 2.5rem) !important;
        line-height: 1.15;
    }

    .search-result-card,
    .academic-card {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .folder-card {
        min-height: auto;
    }
}

@media (max-width: 420px) {
    .container,
    .register-container,
    .companies-page,
    .jobs-page,
    .profile-page,
    #principalDiv,
    body:has(#principalDiv) #principalDiv {
        padding: 0.75rem !important;
    }

    .sidebar-item {
        padding: 0 0.65rem;
    }

    .spanMenu,
    .spanProfile,
    .notification-label {
        font-size: 0.84rem !important;
    }

    .card-item,
    .card-item-profile,
    .hero-card,
    .about-card,
    .profile-card,
    .portfolio-wrapper,
    .folder-card,
    .academic-card {
        padding: 0.85rem !important;
    }
}
