:root {
    --azul-senai: #0d47a1;
}

/* CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arimo", sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
}

.hidden {
    display: none !important;
}

/* NAVBAR */
.navbar {
    background-color: #0d47a1;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.nav-icon-bootstrap {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.nav-logo img {
    width: 110px;
    height: 70px;
    color: #ffffff;
}

.nav-menu { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
}

.nav-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.nav-item:hover, .nav-item.active { 
    color: white; 
}

.nav-item:hover .nav-icon-bootstrap, 
.nav-item.active .nav-icon-bootstrap {
    color: #ffffff;
}

.nav-user-icon-bootstrap {
    font-size: 1.8rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.2s;
}
.nav-user-icon-bootstrap:hover {
    color: #ffffff;
}

#avatar-topo{
    width: 40px;
    height: 40px;
}

/* CONTAINER DO DASHBOARD */
.dashboard-container {
    padding: 30px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.main-title {
    color: #0d47a1;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

/* GRID PRINCIPAL */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: start;
}

.projects-section {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.projects-header { margin-bottom: 20px; }
.projects-header h2 { font-size: 1.4rem; color: #222; margin-bottom: 10px; }

.legend-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    font-style: italic;
}

.legend-item { display: flex; align-items: center; gap: 6px; }

.filter-btn {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 20px;
    transition: background-color 0.2s, transform 0.1s;
}

.filter-btn:hover { background-color: #e9ecef; transform: scale(1.05); }
.filter-btn.active-filter { background-color: #e2e8f0; }

.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.aceitos { background-color: #72b195; }
.desenvolvimento { background-color: #007bff; }
.negados { background-color: #cc1111; }
.expirados { background-color: #c67a13; }

.projects-scroll-area {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 10px;
}

.projects-scroll-area::-webkit-scrollbar { width: 8px; }
.projects-scroll-area::-webkit-scrollbar-track { background: #f1f1f1; }
.projects-scroll-area::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project-card {
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.project-card:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }

.card-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.project-card h3 { font-size: 1.25rem; font-style: italic; color: #111; }
.project-id { font-size: 0.8rem; color: #777; font-style: italic; margin-top: 2px; }
.status-indicator { width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0; display: inline-block; }

.card-image { 
    width: 100%; 
    height: 140px; 
    border-radius: 12px; 
    overflow: hidden; 
    background-color: #e9ecef; 
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }

.add-project-card {
    border: 2px dashed #b5becb;
    background-color: rgba(240, 243, 248, 0.4);
    border-radius: 15px;
    min-height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.add-project-card:hover { border-color: #0d47a1; background-color: rgba(13, 71, 161, 0.04); }
.add-project-content { text-align: center; color: #556b85; }
.add-icon-bootstrap { font-size: 2rem; display: block; margin-bottom: 5px; }

/* SEÇÃO DIREITA - GRÁFICOS */
.charts-section { display: flex; flex-direction: column; gap: 25px; }
.chart-card { background-color: #ffffff; border-radius: 20px; padding: 25px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.chart-title { font-size: 1.1rem; color: #222; margin-bottom: 15px; font-weight: 600; }
.donut-chart-container { position: relative; max-height: 280px; display: flex; justify-content: center; }

/* MODAIS */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex; justify-content: center; align-items: center;
    z-index: 2000;
}

.modal-content {
    background-color: #ffffff;
    width: 90%; max-width: 600px;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-image-container {
    width: 100%;
    height: 180px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal-input, .modal-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.modal-footer-right {
    display: flex;
    gap: 10px;
}

.btn-close, .btn-save, .btn-modal-delete {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

.btn-close { background-color: #e2e8f0; color: #333; }
.btn-save { background-color: #0d47a1; color: white; }
.btn-modal-delete { background-color: #cc1111; color: white; }

/* BOTOES INTERNOS DE COMPORTAMENTO DO PROJETO */
.modal-project-actions {
    display: flex;
    gap: 10px;
}

.btn-action-open, .btn-action-upload {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-action-open {
    background-color: #2e7d32;
    color: white;
}
.btn-action-open:hover {
    background-color: #1b5e20;
}

.btn-action-upload {
    background-color: #17689f;
    color: white;
}
.btn-action-upload:hover {
    background-color: #0f4c75;
}

/* RODAPÉ */
footer {
    background-color: var(--azul-senai);
    color: white;
    padding: 15px 40px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.footer-left i{
    font-size: 28px;
    color: white;
    margin-right: 10px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-left img {
    width: 25px;
}

.footer-links a {
    color: white;
    text-decoration: underline;
    margin: 0 10px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.social-item {
    display: inline-block;
    transition: transform 0.2s;
}

.social-item:hover {
    transform: scale(1.1);
}

.social-item img {
    width: 22px;
    height: 22px;
}

.social-item i{
    font-size: 24px;
    color: white;
}

[vw-access-button]{
    transform: scale(1.3); /* maior */
}


/* ========================= */
/* TABLET - 768px */
/* ========================= */
@media screen and (max-width: 768px) {

    .navbar {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .dashboard-container {
        padding: 20px;
    }

    .main-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .projects-scroll-area {
        max-height: none;
        overflow-y: visible;
    }

    .chart-card {
        padding: 20px;
    }

    .chart-card canvas {
        max-height: 300px;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .modal-project-actions {
        width: 100%;
        justify-content: center;
    }

    .modal-footer-right {
        width: 100%;
    }

    .btn-close,
    .btn-save,
    .btn-modal-delete {
        flex: 1;
    }

    .btn-action-open,
    .btn-action-upload {
        flex: 1;
        justify-content: center;
    }
}

/* ========================= */
/* CELULAR - 361px */
/* ========================= */
@media screen and (max-width: 361px) {

    .navbar {
        flex-direction: column;
        padding: 15px 10px;
        text-align: center;
    }

    .nav-logo {
        justify-content: center;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .nav-item {
        width: 100%;
        justify-content: center;
    }

    .dashboard-container {
        padding: 10px;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .projects-section,
    .chart-card {
        padding: 15px;
        border-radius: 15px;
    }

    .projects-header h2 {
        font-size: 1.1rem;
        text-align: center;
    }

    .legend-container {
        justify-content: center;
        gap: 8px;
    }

    .project-card h3 {
        font-size: 1rem;
    }

    .project-id {
        font-size: 0.7rem;
    }

    .card-image {
        height: 110px;
    }

    .add-project-card {
        min-height: 160px;
    }

    .modal-content {
        padding: 15px;
    }

    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .modal-image-container {
        height: 140px;
    }

    .modal-project-actions {
        flex-direction: column;
    }

    .modal-footer-right {
        flex-direction: column;
    }

    .btn-close,
    .btn-save,
    .btn-modal-delete,
    .btn-action-open,
    .btn-action-upload {
        width: 100%;
    }

    [vw-access-button] {
        transform: scale(1);
    }
}


@import url(global.css);
@import url(index.css);

:root {
    --azul-senai: #0d47a1;
}

/* CONFIGURAÇÕES GERAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Arimo", sans-serif;
}

body {
    background-color: #f4f6f9;
    color: #333;
}

.hidden {
    display: none !important;
}

.header {
    background-color: #114694;
    padding: 14px 40px;
    border-radius: 12px;
    margin: 20px auto;
    width: calc(100% - 40px);
    max-width: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 60px;
}

.logo img {
    height: 45px;
    width: auto;
}

.menu {
    display: flex;
    list-style: none;
    gap: 35px;
    padding: 0;
    margin: 0;
    margin-right: auto;
}

.menu li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
}

.menu li a:hover {
    color: #cecece;
}

.menu .icon {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.profile {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile .perfil {
    background-color: #ff6b35;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 4px;
    object-fit: contain;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 35px;
}

/* CONTAINER DO DASHBOARD */
.dashboard-container {
    padding: 30px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.main-title {
    color: #0d47a1;
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

/* GRID PRINCIPAL */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: start;
}

.projects-section {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.projects-header {
    margin-bottom: 20px;
}

.projects-header h2 {
    font-size: 1.4rem;
    color: #222;
    margin-bottom: 10px;
}

.legend-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    font-style: italic;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.filter-btn {
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 20px;
    transition: background-color 0.2s, transform 0.1s;
}

.filter-btn:hover {
    background-color: #e9ecef;
    transform: scale(1.05);
}

.filter-btn.active-filter {
    background-color: #e2e8f0;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.aceitos {
    background-color: #72b195;
}

.desenvolvimento {
    background-color: #007bff;
}

.negados {
    background-color: #cc1111;
}

.expirados {
    background-color: #c67a13;
}

.projects-scroll-area {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 10px;
}

.projects-scroll-area::-webkit-scrollbar {
    width: 8px;
}

.projects-scroll-area::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.projects-scroll-area::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.project-card {
    background-color: #fafafa;
    border: 1px solid #eee;
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.project-card h3 {
    font-size: 1.25rem;
    font-style: italic;
    color: #111;
}

.project-id {
    font-size: 0.8rem;
    color: #777;
    font-style: italic;
    margin-top: 2px;
}

.status-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-block;
}

.card-image {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #e9ecef;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.add-project-card {
    border: 2px dashed #b5becb;
    background-color: rgba(240, 243, 248, 0.4);
    border-radius: 15px;
    min-height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.add-project-card:hover {
    border-color: #0d47a1;
    background-color: rgba(13, 71, 161, 0.04);
}

.add-project-content {
    text-align: center;
    color: #556b85;
}

.add-icon-bootstrap {
    font-size: 2rem;
    display: block;
    margin-bottom: 5px;
}

/* SEÇÃO DIREITA - GRÁFICOS */
.charts-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.chart-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.chart-title {
    font-size: 1.1rem;
    color: #222;
    margin-bottom: 15px;
    font-weight: 600;
}

.donut-chart-container {
    position: relative;
    max-height: 280px;
    display: flex;
    justify-content: center;
}

/* MODAIS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background-color: #ffffff;
    width: 90%;
    max-width: 600px;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-image-container {
    width: 100%;
    height: 180px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.modal-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.modal-input,
.modal-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.95rem;
}

footer {
    background-color: var(--azul-senai);
    color: white;
    padding: 15px 40px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.footer-left i {
    font-size: 28px;
    color: white;
    margin-right: 10px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-left img {
    width: 25px;
}

.footer-links a {
    color: white;
    text-decoration: underline;
    margin: 0 10px;
}

.footer-socials {
    display: flex;
    gap: 8px;
}

.social-item {
    display: inline-block;
    transition: transform 0.2s;
}

.social-item:hover {
    transform: scale(1.1);
}

.social-item img {
    width: 22px;
    height: 22px;
}

.social-item i {
    font-size: 24px;
    color: white;
}

[vw-access-button] {
    transform: scale(1.3);
    /* maior */
}



/* ========================= */
/* TABLET - 768px */
/* ========================= */
@media screen and (max-width: 768px) {

    .navbar {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }

    .dashboard-container {
        padding: 20px;
    }

    .main-title {
        font-size: 1.8rem;
        text-align: center;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .projects-scroll-area {
        max-height: none;
        overflow-y: visible;
    }

    .chart-card {
        padding: 20px;
    }

    .chart-card canvas {
        max-height: 300px;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .modal-project-actions {
        width: 100%;
        justify-content: center;
    }

    .modal-footer-right {
        width: 100%;
    }

    .btn-close,
    .btn-save,
    .btn-modal-delete {
        flex: 1;
    }

    .btn-action-open,
    .btn-action-upload {
        flex: 1;
        justify-content: center;
    }
}

/* ========================= */
/* CELULAR - 361px */
/* ========================= */
@media screen and (max-width: 361px) {

    .navbar {
        flex-direction: column;
        padding: 15px 10px;
        text-align: center;
    }

    .nav-logo {
        justify-content: center;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }

    .nav-item {
        width: 100%;
        justify-content: center;
    }

    .dashboard-container {
        padding: 10px;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .projects-section,
    .chart-card {
        padding: 15px;
        border-radius: 15px;
    }

    .projects-header h2 {
        font-size: 1.1rem;
        text-align: center;
    }

    .legend-container {
        justify-content: center;
        gap: 8px;
    }

    .project-card h3 {
        font-size: 1rem;
    }

    .project-id {
        font-size: 0.7rem;
    }

    .card-image {
        height: 110px;
    }

    .add-project-card {
        min-height: 160px;
    }

    .modal-content {
        padding: 15px;
    }

    .modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .modal-image-container {
        height: 140px;
    }

    .modal-project-actions {
        flex-direction: column;
    }

    .modal-footer-right {
        flex-direction: column;
    }

    .btn-close,
    .btn-save,
    .btn-modal-delete,
    .btn-action-open,
    .btn-action-upload {
        width: 100%;
    }

    [vw-access-button] {
        transform: scale(1);
    }
}
