.learndash-wrapper .learndash_content_wrap .ld-status-complete,
.learndash-wrapper .learndash_content_wrap .ld-alert-success .ld-button,
.learndash-wrapper .learndash_content_wrap .ld-alert-success .ld-alert-icon,
.wpProQuiz_questionList[data-type="assessment_answer"] .wpProQuiz_questionListItem label.is-selected:before,
.wpProQuiz_questionList[data-type="single"] .wpProQuiz_questionListItem label.is-selected:before,
.wpProQuiz_questionList[data-type="multiple"] .wpProQuiz_questionListItem label.is-selected:before {
    background-color: transparent !important;
}

.bb-single-course-sidebar a.btn-advance {
    color: #fff !important;
}

/* Botões do baixar certificado */
.learndash-wrapper .ld-button:not([disabled]):not(.ld-button-reverse):not(.ld-button-transparent):not(.ld--ignore-inline-css),
.learndash-wrapper .ld-button:not([disabled]):not(.ld-button-reverse):not(.ld-button-transparent):not(.ld--ignore-inline-css):hover {  
    color: #fff !important;
}

.learndash-wrapper .ld-button:hover:not([disabled]):not(.ld-button-transparent):not(.ld--ignore-inline-css), #learndash-tooltips .ld-tooltip::after, #learndash-tooltips .ld-tooltip, .ld-tooltip:not(.ld-tooltip--modern) [role="tooltip"], .learndash-wrapper .ld-primary-background, .learndash-wrapper .btn-join:not(.ld--ignore-inline-css), .learndash-wrapper #btn-join:not(.ld--ignore-inline-css), .learndash-wrapper .wpProQuiz_content .wpProQuiz_button:not([disabled]):not(.wpProQuiz_button_reShowQuestion):not(.wpProQuiz_button_restartQuiz), .learndash-wrapper .ld-focus .ld-focus-sidebar .ld-course-navigation-heading, .learndash-wrapper .ld-focus-comments .form-submit #submit, .learndash-wrapper .ld-login-modal input[type="submit"]:not([disabled]), .learndash-wrapper .ld-login-modal .ld-login-modal-register:not([disabled]), .learndash-wrapper .wpProQuiz_content .wpProQuiz_certificate a.btn-blue:not([disabled]), .learndash-wrapper .ld-focus .ld-focus-header .ld-user-menu .ld-user-menu-items a:not([disabled]), #wpProQuiz_user_content table.wp-list-table thead th, #wpProQuiz_overlay_close:not([disabled]), .learndash-wrapper .ld-expand-button.ld-button-alternate:not([disabled]) .ld-icon {
    color: var(--bb-alternate-text-color) !important;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_button2:not([disabled]) {
    color: #fff !important;
}

#content .wpProQuiz_content .wpProQuiz_sortable {
    padding-left: 10px !important;
}

.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item).wpProQuiz_answerIncorrect label::before {
    position: relative !important;
}

.learndash-wrapper .ld-quiz-result-failed [data-type="cloze_answer"] .wpProQuiz_cloze::before, .learndash-wrapper .ld-quiz-result-passed [data-type="cloze_answer"] .wpProQuiz_cloze::before {
    position: relative !important;
}

.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) #learndash_mark_complete_button, .learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .learndash_mark_complete_button {
    padding: 1em 2em 1em 0em !important;
}

/* Corrigir cor do texto do botão "Ver Questões" */
.buddyboss-theme .learndash-wrapper .wpProQuiz_content .wpProQuiz_button_reShowQuestion,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button_reShowQuestion,
input.wpProQuiz_button_reShowQuestion {
    color: #333 !important;
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
}

.buddyboss-theme .learndash-wrapper .wpProQuiz_content .wpProQuiz_button_reShowQuestion:hover,
.buddyboss-theme .learndash-wrapper .wpProQuiz_content .wpProQuiz_button_reShowQuestion:active,
.buddyboss-theme .learndash-wrapper .wpProQuiz_content .wpProQuiz_button_reShowQuestion:focus,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button_reShowQuestion:hover,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button_reShowQuestion:active,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button_reShowQuestion:focus,
input.wpProQuiz_button_reShowQuestion:hover,
input.wpProQuiz_button_reShowQuestion:active,
input.wpProQuiz_button_reShowQuestion:focus {
    background-color: var(--bb-primary-button-background-regular) !important;
    background: var(--bb-primary-button-background-regular) !important;
    color: #ffffff !important;
    border-color: var(--bb-primary-button-background-regular) !important;
    opacity: 1 !important;
}

/* Estilo para adicionar ícone IA na aba Recomendações */
#subnav a[href*="recomendacoes"]:after {
    content: '';
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-left: 5px;
    margin-bottom: 2px;
    vertical-align: middle;
    background-image: url('../images/ai-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Garantir que funcione com diferentes estruturas de navegação do BuddyPress */
.item-list-tabs #timeline-personal-li a[href*="recomendacoes"]:after,
.bp-navs.tabbed-links li a[href*="recomendacoes"]:after,
#object-nav li a[href*="recomendacoes"]:after {
    content: '';
    display: inline-block;
    width: 17px;
    height: 17px;
    margin-left: 5px;
    margin-bottom: 2px;
    vertical-align: middle;
    background-image: url('../images/ai-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Tabela de notas e resultados dos usuários e áreas */
.table-responsive-2 {
    width: 100%;
    overflow-x: auto;
}

.table-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    margin-top: 20px;
}

.table-header,
.table-body {
    width: 100%;
}

.table-row {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid #eee;
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell {
    flex: 1;
    padding: 12px 10px;
    text-align: left;
    word-break: break-word;
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    min-height: auto;
    line-height: 1.5;
}

.header-row .table-cell {
    font-weight: bold;
    background: #f9f9f9;
    font-size: 15px;
}

@media (max-width: 768px) {

    .table-responsive-2 table,
    .table-responsive-2 thead,
    .table-responsive-2 tbody,
    .table-responsive-2 tr,
    .table-responsive-2 th,
    .table-responsive-2 td {
        display: block !important;
        width: 100% !important;
    }

    .table-responsive-2 thead {
        display: none !important;
    }

    .table-responsive-2 tr {
        margin-bottom: 15px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
        background: #fff;
        padding: 8px 0;
    }

    .table-responsive-2 td {
        position: relative;
        padding-left: 50%;
        border: none;
        border-bottom: 1px solid #eee;
        min-height: 40px;
        box-sizing: border-box;
        text-align: left;
        word-break: break-word;
    }

    .table-responsive-2 td:before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 12px;
        width: 45%;
        white-space: normal;
        font-weight: bold;
        color: #333;
    }
}

.filter-bar {
    margin: 0;
}

.filter-bar select {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px 10px;
    font-size: 13px;
    width: 190px;
    height: 32px;
}

.filter-bar form {
    margin-bottom: 0;
}

.filter-bar button {
    border-radius: 5px;
    padding: 2px 12px;
    font-size: 13px;
    height: 32px;
    background-color: #385DFF;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-bar button:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .filter-bar select {
        margin-bottom: 5px !important;
        width: 100% !important;
    }

    .filter-bar button {
        width: 100% !important;
    }
}


.pagination-container,
.pagination-btn,
ul.universidade-pagination {
    display: none;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 20px 0;
    gap: 10px;
}

.pagination a,
.pagination span,
.pagination button {
    display: flex !important;
    color: #333;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination button:hover,
.pagination .current {
    background-color: var(--bb-primary-button-background-regular) !important;
    color: #fff !important;
    border-color: var(--bb-primary-button-background-regular) !important;
}

.pagination .current {
    font-weight: bold;
}

.pagination button:disabled {
    background: #eee;
    cursor: not-allowed;
    opacity: 0.7;
    color: #666;
}

.pagination-info {
    font-size: 14px;
    color: #666;
}

.red-cell {
    color: red;
}

.green-cell {
    color: green;
}


/*  Estilos das tableas de mentor e mentorados */
.mentor-appointments-search {
    margin-bottom: 30px;
    float: right;
}

ul.universidade-pagination {
    list-style: none;
    margin: 0;
    display: inline-flex;
}

ul.universidade-pagination li {
    padding: 5px 15px;
    margin-right: 10px;
}

ul.universidade-pagination li.active {
    border: 1px solid #cacaca;
    border-radius: 7px;
}

ul.universidade-pagination li a {
    color: #30303094;
    text-decoration: none;
}

.filter-flex {
    display: flex;
}

#form-filter-appointments {
    margin-right: 20px;
}

/* Botões de status */
a.update-status.url {
    padding: 2px 5px !important;
    border: none;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    background-color: #385DFF;
    text-decoration: none;
    font-size: 16px;
}

button.update-status.on-hold,
button.update-status.completed,
button.update-status.cancelled,
button.update-status.note,
button.update-status.review,
button.update-status {
    padding: 2px 5px !important;
    border: none;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
}

button.update-status.on-hold {
    background-color: #20b347;
}

button.update-status.cancelled {
    background-color: #e43939;
}

button.update-status.completed {
    background-color: #43a72b;
}

button.update-status.note {
    background: #9d9d9c;
}

button.update-status.review {
    background: #FF9800;
}

button.update-status.url {
    background: #385DFF;
}

button.update-status.terms-reject {
    background-color: #adadad;
}

button.update-status.terms-accept {
    background-color: #23c0c1;
}

button.update-status.materiais {
    background: #aa12f5;
}

/* Ícones dentro do #button-status */
#button-status i {
    font-size: 16px;
}

/* Toolbar fixada (caso use) */
.fixed-table-toolbar {
    display: flex;
    align-items: center;
    margin: 0;
    justify-content: flex-end;
}

.fixed-table-toolbar #statusFilter {
    margin-left: 20px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

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

.modal-content,
.modal-content2 {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 7px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
}

.modal-content {
    width: 80%;
    max-height: 80%;
}

.modal-content2 {
    width: 40%;
    max-height: 50%;
    margin-top: 155px;
    overflow-y: scroll;
}

.close-modal,
.close-modal2 {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus,
.close-modal2:hover,
.close-modal2:focus {
    color: black;
    text-decoration: none;
}

body.modal-open {
    overflow: hidden;
}

/* Scroll customizado */
.modal-content::-webkit-scrollbar {
    width: 7px;
}

.modal-content::-webkit-scrollbar-track {
    background: #d5d5d5;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #f9f9f9;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #e4e4e4;
}

/* Avaliação (rating) */
.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.rating input {
    display: none;
}

.rating label {
    font-size: 2em;
    color: lightgray;
    cursor: pointer;
}

.rating input:checked~label {
    color: #385DFF;
}

.rating label:hover,
.rating label:hover~label {
    color: #385DFF;
}

.rating input:checked~label:hover,
.rating input:checked~label:hover~label {
    color: lightgray;
}

textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-top: 10px;
}

/* Bordas nos videos */
.entry-content iframe,
.wp-block-embed__wrapper iframe,
.ld-content iframe {
    border-radius: 10px;
    overflow: hidden;
}




.no-items-message {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #666;
}






/* Responsividade */
@media (max-width: 768px) {
    .display-group {
        flex-direction: column;
    }

    .display-label,
    .display-value {
        width: 100% !important;
    }

    .display-label {
        border-bottom: 1px solid #ddd;
        width: 100%;
    }
}

.curriculo-display-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#service_id {
    width: 100% !important;
}

.cv-educacao h3,
.cv-experiencia h3,
.cv-skill h3 {
    margin-bottom: 5px;
}

.cv-educacao p,
.cv-experiencia p,
.cv-skill p {
    font-weight: normal;
    margin-bottom: 8px;
    line-height: 1.3rem;
}

ul.cv-skill,
ul.cv-educacao,
ul.cv-experiencia {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

ul.cv-skill li {
    margin-bottom: 8px;
    display: inline-flex;
    flex-wrap: wrap;
}

ul.cv-skill li:not(:last-child)::after {
    content: "•";
    margin: 0 8px;
}

.jet-apb-calendar .jet-apb-calendar-content {
    width: 100% !important;
}

.ab-sub-wrapper,
.fs_summary_container {
    display: none !important;
}

#learndash-page-content {
    margin: 0px 0px !important;
}


/* NOTIFICAÇÃO DE CONCLUSÃO DE CURSO */

/* Container principal da notificação */
.noty_theme__learndash.noty_type__success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 50%, #2e7d32 100%) !important;
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.3), 0 4px 16px rgba(0, 0, 0, 0.1) !important;
    margin: 8px !important;
    overflow: hidden !important;
    position: relative !important;
    min-height: 80px !important;
}

/* Body da notificação */
.noty_theme__learndash.noty_type__success .noty_body {
    padding: 20px !important;
    position: relative;
    z-index: 2;
}

/* Wrapper principal */
.noty_theme__learndash.noty_type__success .wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    padding: 0 !important;
    width: 100% !important;
}

/* Container da imagem */
.noty_theme__learndash.noty_type__success .image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 70px !important;
    height: 70px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    backdrop-filter: blur(10px) !important;
    position: relative !important;
}

/* Ícone da conquista */
.noty_theme__learndash.noty_type__success .image img {
    width: 45px !important;
    height: 45px !important;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2)) brightness(1.1) !important;
}

/* Container do texto */
.noty_theme__learndash.noty_type__success .text {
    flex: 1 !important;
    padding: 0 !important;
}

/* Título da notificação */
.noty_theme__learndash.noty_type__success .text .title {
    font-size: 20px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #fff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: 0.5px !important;
}

/* Mensagem da notificação */
.noty_theme__learndash.noty_type__success .text .message {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    line-height: 1.4 !important;
    background-color: transparent;
    padding: 0;
    margin: 0;
}

/* Barra de progresso melhorada */
.noty_theme__learndash.noty_type__success .noty_progressbar {
    height: 4px !important;
    background: linear-gradient(90deg, #ffeb3b, #ffc107, #ff9800) !important;
    border-radius: 0 0 15px 15px !important;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3) !important;
}

/* ====== RESPONSIVIDADE ====== */

/* Tablets */
@media (max-width: 768px) {
    .noty_theme__learndash.noty_type__success .wrapper {
        gap: 15px !important;
    }
    
    .noty_theme__learndash.noty_type__success .image {
        width: 60px !important;
        height: 60px !important;
    }
    
    .noty_theme__learndash.noty_type__success .image img {
        width: 38px !important;
        height: 38px !important;
    }
    
    .noty_theme__learndash.noty_type__success .text .title {
        font-size: 20px !important;
    }
    
    .noty_theme__learndash.noty_type__success .text .message {
        font-size: 15px !important;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .noty_theme__learndash.noty_type__success {
        margin: 4px !important;
        border-radius: 12px !important;
    }
    
    .noty_theme__learndash.noty_type__success .noty_body {
        padding: 15px !important;
    }
    
    .noty_theme__learndash.noty_type__success .wrapper {
        gap: 12px !important;
    }
    
    .noty_theme__learndash.noty_type__success .image {
        width: 50px !important;
        height: 50px !important;
    }
    
    .noty_theme__learndash.noty_type__success .image img {
        width: 32px !important;
        height: 32px !important;
    }
    
    .noty_theme__learndash.noty_type__success .text .title {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }
    
    .noty_theme__learndash.noty_type__success .text .message {
        font-size: 14px !important;
    }
}

/* Efeito hover suave para interação */
.noty_theme__learndash.noty_type__success:hover {
    transform: translateY(-2px) !important;
    transition: transform 0.2s ease !important;
}
