@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

/* ===================================================================
 * FOLHA DE ESTILOS FINAL E DEFINITIVA - PILATES MANAGER
 * =================================================================== */

/* --- 1. ESTILOS GERAIS DA APLICAÇÃO --- */
body, .fl-post-content, .pm-card, .pm-plan-item, .pm-financial-page, .pm-portal-table {
    font-family: 'Poppins', sans-serif;
    color: #333333;
}
.fl-post-content {
    background-color: #FAF8F3; /* Bege claro */
}

/* --- 2. ESTILOS DO MENU DE NAVEGAÇÃO PRINCIPAL (COMPUTADOR) --- */
#ast-hf-menu-1 .menu-item a, .ast-header-account-link {
    background-color: #D4A373; /* Dourado suave */
    color: #FFFFFF !important;
    border-radius: 12px;
    padding: 8px 20px !important;
    margin: 0 5px;
    text-decoration: none !important;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    white-space: nowrap;
}
#ast-hf-menu-1 .menu-item a:hover, .ast-header-account-link:hover {
    background-color: #B5895C; /* Dourado escuro */
    transform: translateY(-2px);
}
#ast-hf-menu-1 .current-menu-item a {
    background-color: #D4A373;
}

/* --- 3. LÓGICA DE VISIBILIDADE PARA AMBOS OS MENUS (COMPUTADOR E MÓVEL) --- */
body.logged-in .menu-login {
    display: none !important;
}
body.role-aluno .menu-item:not(.menu-aluno-portal):not(.menu-logout) {
    display: none !important;
}
body.role-administrator .menu-aluno-portal,
body.role-administrator .menu-login {
    display: none !important;
}

/* --- 4. ESTILOS ESPECÍFICOS PARA O MENU OFF-CANVAS (MÓVEL) --- */
.ast-builder-menu-mobile .main-header-menu .menu-item {
    display: block !important;
    margin-bottom: 12px;
}
.ast-builder-menu-mobile .main-header-menu a {
    display: block;
    padding: 12px 18px !important;
    border-radius: 10px;
    background-color: #F5F0E6; /* Bege claro */
    color: #333333 !important;
    font-weight: 500;
}
.ast-builder-menu-mobile .main-header-menu a:hover {
    background-color: #E0C8A8; /* Bege mais escuro */
}

/* --- 3. COMPONENTES DE LAYOUT (CARTÕES, TÍTULOS) --- */
.pm-card, .pm-plan-item, .pm-single-plan, .pm-evolution-note, .acf-form-wrapper {
    background-color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.pm-dashboard-cards .pm-card {
    flex: 1;
    min-width: 200px;
    text-align: center;
}
.fl-post-content h1, .portal-saudacao .fl-heading-text {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 40px;
    padding-left: 15px;
    color: #333333;
}
.pm-daily-plans-widget h3, .pm-student-portal-wrapper h2, .pm-search-plans-wrapper h2 {
    font-size: 24px;
    font-weight: 500;
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 12px;
    margin-bottom: 25px;
    color: #333333;
}

/* --- 4. COMPONENTES INTERATIVOS (BOTÕES, FORMULÁRIOS, TABELAS, ETC.) --- */
.pm-plan-item-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
/* Estilos gerais para todos os botões */
button,
input[type="submit"],
input[type="button"],
.pm-plan-item-actions .button,
.acf-form .acf-button,
.pm-date-filter-form button,
.pm-form-group input[type="submit"],
.pm-filter-buttons .button,
.pm-quick-payment-form input[type="submit"],
.pm-card button,
.pm-card input[type="submit"],
table button,
table input[type="submit"] {
    background-color: #D4A373; /* Dourado suave */
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.pm-plan-item-actions .button:hover,
.acf-form .acf-form-submit .acf-button:hover,
.pm-date-filter-form button:hover,
.pm-form-group input[type="submit"]:hover,
.pm-filter-buttons .button[type="submit"]:hover,
.pm-quick-payment-form input[type="submit"]:hover,
.pm-card button:hover,
.pm-card input[type="submit"]:hover,
table button:hover,
table input[type="submit"]:hover {
    background-color: #B5895C; /* Dourado escuro */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Forçar estilo em caso de conflito com tema */
.pm-card button,
.pm-card input[type="submit"],
table .button,
table input[type="submit"] {
    background-color: #D4A373 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
}

.pm-card button:hover,
.pm-card input[type="submit"]:hover,
table .button:hover,
table input[type="submit"]:hover {
    background-color: #B5895C !important;
    transform: translateY(-2px) !important;
}

/* Formulários ACF */
.acf-form {
    border: none;
}
.acf-form .acf-form-submit .acf-button {
    background-color: #D4A373;
    color: #FFFFFF;
    border-radius: 10px;
    padding: 12px 24px;
}
.acf-form .acf-form-submit .acf-button:hover {
    background-color: #B5895C;
}
.acf-editor-wrap .wp-editor-tools button.wp-editor-button {
    all: revert;
}

/* Tabelas */
.pm-portal-table {
    width: 100%;
    color: #333333;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #FFFFFF;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.pm-portal-table th, .pm-portal-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}

/* Pílulas de Status */
.pm-portal-table .pm-status-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    color: #FFFFFF;
    text-transform: uppercase;
}
.pm-portal-table .pm-status-pill.presente {
    background-color: #D4A373;
}
.pm-portal-table .pm-status-pill.ausente {
    background-color: #A66A5E; /* Terracota */
}
.pm-portal-table .pm-status-pill.justificada {
    background-color: #E0C8A8; /* Bege escuro */
}

/* Acordeão */
.pm-plan-trigger {
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.pm-plan-trigger:hover {
    background-color: #F5F0E6;
}
.pm-plan-content {
    display: none;
    padding-top: 25px;
}
.pm-plan-trigger h3::after {
    content: '+';
    float: right;
    font-size: 24px;
    font-weight: 500;
    color: #D4A373;
}
.pm-plan-trigger.active h3::after {
    content: '−';
}

/* ===================================================================
 * Estilos para o Modal (Pop-up) de Exercícios
 * =================================================================== */
#pm-exercise-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
#pm-exercise-modal {
    background: #FAF8F3;
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    width: 95%;
    position: relative;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    max-height: 90vh;
    overflow-y: auto;
}
#pm-exercise-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    color: #FFFFFF;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    padding: 5px;
    transition: color 0.2s ease;
}
#pm-exercise-modal-close:hover {
    color: #333333;
}
#pm-exercise-modal-body {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    margin-top: 10px;
}
#pm-exercise-modal-body .modal-media {
    flex: 0 0 300px;
    max-width: 100%;
}
#pm-exercise-modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
#pm-exercise-modal-body .modal-text {
    flex: 1;
    min-width: 250px;
}
#pm-exercise-modal-body .modal-text h3 {
    font-size: 28px;
    color: #FFFFFF;
    margin: 0 0 15px;
    line-height: 1.3;
    font-weight: 500;
}
#pm-exercise-modal-body .modal-text div {
    font-size: 16px;
    line-height: 1.7;
    color: #FFFFFF;
}

/* ===================================================================
 * Toast / Alertas de confirmação (sucesso, etc.)
 * =================================================================== */
.pm-toast {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    min-width: 280px;
    max-width: 90vw;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    animation: pm-toast-slide-in 0.4s ease forwards;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.pm-toast[data-pm-toast-dismissing] {
    animation: pm-toast-slide-out 0.3s ease forwards;
}
.pm-toast-success {
    background: linear-gradient(135deg, #2d7a4a 0%, #1e5c36 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.pm-toast-error {
    background: linear-gradient(135deg, #b71c1c 0%, #8b0000 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.pm-toast-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
}
.pm-toast-message {
    flex: 1;
}
.pm-toast-close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.pm-toast-close:hover {
    opacity: 1;
}
@keyframes pm-toast-slide-in {
    from {
        transform: translateX(-50%) translateY(-120%);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}
@keyframes pm-toast-slide-out {
    from {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    to {
        transform: translateX(-50%) translateY(-120%);
        opacity: 0;
    }
}

/* Banner de sucesso inline (alternativa ao toast quando já na página) */
.pm-report-notice {
    padding: 14px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #1e5c36;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(45, 122, 74, 0.2);
}

/* ===================================================================
 * Estilos para o Painel Financeiro
 * =================================================================== */
.pm-financial-page {
    background-color: #FAF8F3;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin: 50px auto;
    max-width: 1200px;
}
.pm-dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.pm-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
}
.pm-card:hover {
    transform: translateY(-5px);
}
.pm-card h3 {
    font-size: 18px;
    color: #333333;
    margin-bottom: 10px;
}
.pm-card .count {
    font-size: 42px;
    font-weight: 500;
    color: #D4A373;
}
.pm-date-filter-form {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.pm-date-filter-form input[type="date"] {
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
    max-width: 200px;
}
.pm-date-filter-form button {
    padding: 12px 24px;
    background-color: #D4A373;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.pm-date-filter-form button:hover {
    background-color: #B5895C;
    transform: translateY(-2px);
}
.pm-quick-payment-form {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}
.pm-form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}
.pm-form-group {
    flex: 1;
    min-width: 150px;
}
.pm-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333333;
}
.pm-form-group input, .pm-form-group select {
    width: 100%;
    padding: 3px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 16px;
}
.pm-form-group input[type="submit"] {
    background-color: #D4A373;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.pm-form-group input[type="submit"]:hover {
    background-color: #B5895C;
    transform: translateY(-2px);
}
.pm-chart-container {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    height: 400px;
    margin-bottom: 40px;
}
.pm-financial-page table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.pm-financial-page th, .pm-financial-page td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}
.pm-financial-page th {
    background-color: #F5F0E6;
    font-weight: 500;
    color: #333333;
}
.pm-financial-page td a {
    color: #A66A5E;
    text-decoration: none;
    font-weight: 500;
}
.pm-financial-page td a:hover {
    text-decoration: underline;
}
.pm-status-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    color: #FFFFFF;
    text-transform: uppercase;
}
.pm-status-pill.pago {
    background-color: #D4A373;
}
.pm-status-pill.pendente {
    background-color: #A66A5E;
}
.pm-financial-page p {
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
    margin-top: 20px;
}
.pm-financial-page p.success {
    color: #D4A373;
    font-weight: 500;
}
.pm-plan-filter-form .pm-form-row {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}
.pm-plan-filter-form {
    background-color: #F5F0E6;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}
.pm-plan-filter-form label {
    font-weight: 500;
    color: #333333;
    margin-bottom: 8px;
    display: block;
}
.pm-plan-filter-form input[type="date"],
.pm-plan-filter-form select {
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}
.pm-plan-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
}
.pm-filter-group {
    flex: 1;
    min-width: 250px;
}
.pm-filter-buttons {
    display: flex;
    gap: 12px;
}
.pm-filter-buttons .button {
    padding: 12px 24px;
    font-size: 15px;
    height: auto;
    line-height: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.pm-filter-buttons .button[type="submit"] {
    background-color: #D4A373;
    color: #FFFFFF;
    border: none;
}
.pm-filter-buttons .button[type="submit"]:hover {
    background-color: #B5895C;
    transform: translateY(-2px);
}
.pm-filter-buttons .button.secondary {
    background-color: #F5F0E6;
    color: #333333;
    border: 1px solid #E0E0E0;
}
.pm-filter-buttons .button.secondary:hover {
    background-color: #E0C8A8;
    border-color: #D4A373;
}
.pm-error-notice {
    background-color: #F8E8E8;
    color: #A66A5E;
    border: 1px solid #E0C8A8;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
/* Quick Actions Toolbar */
.quick-actions-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centraliza os itens */
    align-items: center; /* Alinha verticalmente no centro */
    gap: 20px; /* Espaçamento uniforme */
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Estilo para cada item (ícone + texto) */
.action-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #A66A5E;
    font-size: 32px;
    padding: 12px;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
    flex-basis: 80px; /* Largura base fixa para simetria */
    min-width: 80px; /* Garante que todos tenham pelo menos esse tamanho */
    height: 100px; /* Altura fixa para uniformidade */
}

.action-icon:hover {
    background-color: #F5F0E6;
    color: #7E4E46;
}

/* Estilo para o texto do rótulo */
.action-label {
    font-size: 12px;
    font-weight: 500;
    color: #333333;
    margin-top: 8px;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}

.action-icon:hover .action-label {
    opacity: 1;
    max-height: 20px;
    color: #7E4E46;
}

/* Garante que os ícones Dashicons são formatados corretamente */
.action-icon .dashicons {
    width: 32px;
    height: 32px;
    line-height: 1;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .quick-actions-toolbar {
        justify-content: space-around; /* Distribuído uniformemente */
        gap: 15px;
        padding: 15px;
    }
    .action-icon {
        flex-basis: 70px; /* Reduz a largura base em telas menores */
        min-width: 70px;
        height: 90px; /* Ajusta a altura */
        font-size: 28px;
        padding: 10px;
    }
    .action-label {
        font-size: 11px;
    }
}
.action-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #A66A5E;
    font-size: 32px;
    padding: 12px;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 80px;
}
.action-icon:hover {
    background-color: #F5F0E6;
    color: #7E4E46;
}
.action-label {
    font-size: 12px;
    font-weight: 500;
    color: #333333;
    margin-top: 8px;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}
.action-icon:hover .action-label {
    opacity: 1;
    max-height: 20px;
    color: #7E4E46;
}
.action-icon .dashicons {
    width: 32px;
    height: 32px;
    line-height: 1;
}
.pm-search-form {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
}
.pm-search-form input[type="text"] {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
}

/* ===================================================================
 * MEDIA QUERIES PARA RESPONSIVIDADE
 * =================================================================== */
@media (max-width: 992px) {
    .pm-dashboard-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .pm-card .count {
        font-size: 38px;
    }
}
@media (max-width: 768px) {
    #pm-exercise-modal-overlay {
        padding: 10px;
    }
    #pm-exercise-modal {
        padding: 20px;
        max-width: 95%;
    }
    #pm-exercise-modal-close {
        top: 5px;
        right: 10px;
        font-size: 30px;
    }
    #pm-exercise-modal-body {
        flex-direction: column;
        gap: 20px;
        margin-top: 10px;
    }
    #pm-exercise-modal-body .modal-media {
        flex-basis: auto;
        text-align: center;
    }
    #pm-exercise-modal-body img {
        max-width: 90%;
        margin: 0 auto;
    }
    #pm-exercise-modal-body .modal-text {
        min-width: unset;
    }
    #pm-exercise-modal-body .modal-text h3 {
        font-size: 24px;
        text-align: center;
    }
    .pm-financial-page {
        padding: 30px 15px;
        margin: 30px auto;
    }
    .pm-financial-page h2 {
        font-size: 28px;
        margin-top: 20px;
        margin-bottom: 15px;
    }
    .pm-financial-page h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .pm-date-filter-form {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }
    .pm-date-filter-form input[type="date"] {
        max-width: 100%;
    }
    .pm-form-row {
        flex-direction: column;
        align-items: stretch;
    }
    .pm-form-group {
        min-width: unset;
    }
    .pm-chart-container {
        height: 300px;
        padding: 20px;
    }
    .pm-financial-page table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .pm-financial-page table thead, .pm-financial-page table tbody, .pm-financial-page table th, .pm-financial-page table td, .pm-financial-page table tr {
        display: block;
    }
    .pm-financial-page table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .pm-financial-page table td {
        border: none;
        border-bottom: 1px solid #E0E0E0;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }
    .pm-financial-page table td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: calc(50% - 30px);
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 500;
        color: #333333;
    }
    .pm-plan-filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    .pm-filter-group {
        min-width: unset;
        width: 100%;
    }
    .pm-filter-buttons {
        width: 100%;
    }
    .pm-filter-buttons .button {
        flex: 1;
    }
    .quick-actions-toolbar {
        justify-content: space-around;
        gap: 15px;
        padding: 15px;
    }
    .action-icon {
        min-width: unset;
        font-size: 28px;
        padding: 10px 5px;
    }
    .action-label {
        font-size: 11px;
    }
}
@media (max-width: 480px) {
    .pm-financial-page h2 {
        font-size: 24px;
    }
    .pm-card .count {
        font-size: 32px;
    }
    .pm-form-group input[type="submit"] {
        width: 100%;
    }
}
/*
 * ESTILOS GERAIS PARA O LAYOUT DO DASHBOARD NO FRONTEND
 * */
.pm-app-container {
    display: flex;
    min-height: 100vh;
}

.pm-sidebar {
    width: 250px;
    background-color: #2c3e50; /* Cor escura para a sidebar */
    color: #ecf0f1;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.pm-sidebar-header {
    text-align: center;
    margin-bottom: 20px;
}

.pm-logo {
    width: 80px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 10px;
}

.pm-sidebar-header h2 {
    color: #fff;
    font-size: 24px;
    margin: 0;
}

.pm-sidebar-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.pm-sidebar-menu li {
    margin-bottom: 10px;
}

.pm-sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.pm-sidebar-menu a:hover,
.pm-sidebar-menu a.active {
    background-color: #34495e;
}

.pm-sidebar-menu .dashicons {
    margin-right: 10px;
    font-size: 18px;
}

.pm-main-content {
    flex-grow: 1;
    padding: 20px 40px;
    background-color: #f0f2f5; /* Um cinza claro para o fundo */
}