  /*
Theme Name: Hello Elementor Child
Author: 
Description: Your description goes here
Version: 1.0
Template: hello-elementor

This is the child theme for Hello Elementor theme, generated with Generate Child Theme plugin by catchthemes.

(optional values you can add: Theme URI, Author URI, License, License URI, Tags, Text Domain)
*/

/* Knowledge */
.knowledge-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.knowledge-item {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
}

.knowledge-item h3 {
    font-family: "Poppins", Sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #296251;
    margin: 0 0 10px 0;
}

.knowledge-item ul {
    padding-left: 0;
    list-style-type: none;
}

.knowledge-item ul li a {
    font-family: "Poppins", Sans-serif;
    font-size: 15px;
    color: #555;
    margin-bottom: 10px;
}

.knowledge-item ul li a:hover {
    color: #296251;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .knowledge-container {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
}


/* List Style */
.list-table {
    width: 100%;
    font-family: "Poppins", Sans-serif;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.list-row {
    display: flex;
    align-items: center;
    background: #fff;
    width: 100%;
    border-radius: 10px;
}

.list-header {
    color: #fff;
    background: #296251;
    font-weight: bold;
    width: 100%;
    border-radius: 10px;
}

.list-col {
    padding: 10px;
    flex: 1;
    word-break: break-word;
}

.list-col.id {
    flex: 0.5;
}

.list-col.assunto a {
    color: #296251;
}

.list-col.assunto a:hover {
    text-decoration: underline;
}

.list-col.ticket a {
    color: #296251;
}

.list-col.ticket a:hover {
    text-decoration: underline;
}

.list-col.acao {
    text-align: center;
}

.single-tickets .list-col.tempo {
    text-align: center;
    white-space: nowrap;
}

.list-col.status,
.list-col.nome,
.list-col.data {
    text-align: center;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
    font-family: "Poppins", Sans-serif;
}

.status-badge.para-análise {
    background-color: #3B82F6;
}
.status-badge.por-resolver {
    background-color: #F59E0B;
}
.status-badge.resolvido {
    background-color: #10B981;
}
.status-badge.não-resolvido {
    background-color: #EF4444;
}
.status-badge.cancelado {
    background-color: #6B7280;
}
.status-badge.ausência {
    background-color: #8B5CF6;
}


.list-btn {
    background-color: #296251;
    font-weight: 500;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 10px 10px 10px 10px;
    padding: 5px 15px;
    font-size: 15px;
}

.list-btn:hover {
    background-color: #C5DD90;
    color: #296251;
}

.list-pagination {
    text-align: center;
}

.list-total {
    font-family: "Poppins", Sans-serif;
    font-weight: 400;
    color: #296251;
}

.list-pagination .page-numbers {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 25px;
    text-decoration: none;
    color: #296251;
    background: #C5DD90;
    border-radius: 20px;
    font-weight: 500;
}

.list-pagination .page-numbers.current {
    background: #296251;
    color: #fff;
}

.list-pagination .page-numbers:hover {
    background: #296251;
    color: #fff;
}

.list-details {
    font-family: "Poppins", Sans-serif;
}

.list-details strong {
    color: #296251;
}

.single-tickets .list-row {
    border-bottom: 1px solid #eee;
}

.filter-form {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: end;
}

.filter-group label {
    font-family: "Poppins", Sans-serif;
    font-weight: 500;
    color: #296251;
    margin-bottom: 5px;
}

.filter-group select,
.filter-group input {
    padding: 10px !important;
    border-radius: 10px !important;
    border: 1px solid #ccc !important;
    font-family: "Poppins", Sans-serif !important;
    font-size: 15px !important;
    outline: none !important;
}

.filter-btn {
    background-color: #C5DD90 !important;
    font-family: "Poppins", Sans-serif !important;
    font-weight: 600 !important;
    fill: #296251 !important;
    color: #296251 !important;
    border-radius: 10px 10px 10px 10px !important;
    height: 45px !important;
    border: none !important;
}

.filter-btn:hover {
    background: #296251 !important;
    color: #fff !important;
}

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .ticket-list {
        zoom: 45%;
    }
}

.btn-delete {
    background-color: #EF4444;
    color: #fff;
    border-radius: 10px 10px 10px 10px;
    padding: 5px 15px;
    font-size: 15px;
    border: none;
    font-family: "Poppins", Sans-serif;
    font-weight: 600;
}

.btn-delete:hover {
    background-color: #000;
    color: #fff;
    cursor: pointer;
}

/* Histórico de Tickets */
.comments-table .list-row {
    flex-wrap: wrap;
    border-top: 4px solid #296251;
}

.comments-table .list-col {
    flex: 100%;
}

.comments-table .list-col.utilizador {
    font-weight: 600;
    color: #296251;
    padding-bottom: 0;
}

.comments-table .list-col.utilizador span {
    display: inline-block;
    font-size: 12px;
    color: #555;
    font-weight: 400;
}

.comments-table .list-col.comentario {
    padding-top: 0;
    font-size: 15px;
}

#carregar-mais-historico {
    background-color: #296251;
    font-weight: 500;
    fill: #FFFFFF;
    color: #FFFFFF;
    border-radius: 10px 10px 10px 10px;
    padding: 5px 15px;
    font-size: 15px;
    border: none;
}

#carregar-mais-historico:hover {
    background-color: #C5DD90;
    color: #296251;
}

.ticket-assign {
    background-color: #C5DD90;
    font-family: "Poppins", Sans-serif;
    font-weight: 600;
    border-radius: 10px 10px 10px 10px;
    padding: 10px;
    display: inline-flex;
    color: #296251;
    justify-content: center;
    width: 100%;
    cursor: pointer;
} 

.ticket-assign:hover {
    background-color: #296251;
    color: #fff;
} 

/* Lista de utilizadores */
.lista-de-utilizadores,
.lista-de-espera {
    width: 100%;
    font-family: "Poppins", Sans-serif;
}

.lista-linha {
    display: flex;
    gap: 10px;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 5px;
}

.lista-linha div:last-child {
    justify-content: end;
}

.lista-linha > div {
    flex: 1;
    font-family: "Poppins", Sans-serif;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.lista-header {
    font-family: "Poppins", Sans-serif;
    font-weight: 600;
    background: #296251;
    color: #fff;
    border-radius: 10px;
    border-bottom: none;
}

.lista-de-espera .btn {
    font-family: "Poppins", Sans-serif;
    font-weight: 500;
    border-radius: 10px;
    background: #296251;
    color: #fff;
    padding: 5px 15px;
    font-size: 15px;
}

.lista-de-espera .btn:hover {
    background: #C5DD90;
    color: #296251;
}

.lista-de-espera .lista-linha > div {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.eliminar-utilizador {
    font-family: "Poppins", Sans-serif;
    font-weight: 500;
    border-radius: 10px;
    background: #296251;
    color: #fff;
    padding: 5px 15px;
    font-size: 15px;
    display: inline-block;
}

.eliminar-utilizador:hover {
    background: #C5DD90;
    color: #296251;
    cursor: pointer;
}

@media (max-width: 767px) {
    .lista-de-espera {
        zoom: 50%;
    }
    .lista-de-utilizadores {
        zoom: 60%;
    }
}	

/* Template de notificações */
.notifications-templates-manager-link {
    display: flex;
    justify-content: flex-end;
}

.notifications-templates-manager-link a {
    color: #296251;
}

.notifications-templates-manager-link a:hover {
    color: #296251;
    text-decoration: underline;
}

.notifications-template .list-btn {
    border: none !important;
}

.notifications-template .list-btn:active,
.notifications-template .list-btn:focus {
    background-color: #C5DD90 !important;
    color: #296251 !important;
}

/* Anexos */
.ticket-anexos {
    list-style: none;
    padding-left: 10px;
}

.ticket-anexos a {
    color: #296251 !important;
}

.ticket-anexos a:hover {
    color: #296251 !important;
    text-decoration: underline;
    cursor: pointer;    
}

a.ticket-delete {
    color: red !important;
}

a.ticket-delete:hover {
    text-decoration: underline;
    cursor: pointer;
}