/**
 * Groomers Add-on Styles
 * 
 * Estilos para a interface de gestão de groomers no painel DPS.
 * Segue o guia de estilo visual minimalista do DPS.
 * 
 * @package Desi_Pet_Shower_Groomers
 * @since 1.1.0
 */

/* ==========================================================================
   1. Layout Principal
   ========================================================================== */

.dps-groomers-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.dps-groomers-form-container {
    flex: 1 1 340px;
    min-width: 300px;
}

.dps-groomers-list-container {
    flex: 2 1 400px;
    min-width: 300px;
}

/* ==========================================================================
   2. Formulário de Cadastro
   ========================================================================== */

.dps-groomers-form fieldset {
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    background: #ffffff;
}

.dps-groomers-form legend {
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    padding: 0 10px;
}

.dps-groomers-form .dps-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.dps-groomers-form .dps-form-row--2col {
    flex-wrap: wrap;
}

.dps-groomers-form .dps-form-row--2col > .dps-form-field {
    flex: 1 1 calc(50% - 8px);
    min-width: 140px;
}

.dps-groomers-form .dps-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dps-groomers-form .dps-form-field label {
    font-weight: 500;
    font-size: 14px;
    color: #374151;
}

.dps-groomers-form .dps-form-field input {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 14px;
    color: #374151;
    transition: border-color 0.2s ease;
}

.dps-groomers-form .dps-form-field input:focus {
    border-color: #0ea5e9;
    outline: none;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.1);
}

.dps-groomers-form .dps-form-field input::placeholder {
    color: #9ca3af;
}

.dps-required {
    color: #ef4444;
    margin-left: 2px;
}

/* ==========================================================================
   3. Tabela de Groomers
   ========================================================================== */

.dps-groomers-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.dps-groomers-table thead {
    background: #f9fafb;
}

.dps-groomers-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #e5e7eb;
}

.dps-groomers-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.dps-groomers-table tbody tr:last-child td {
    border-bottom: none;
}

.dps-groomers-table tbody tr:hover {
    background: #f9fafb;
}

.dps-groomers-table .dps-empty-message {
    text-align: center;
    color: #6b7280;
    font-style: italic;
}

.dps-groomers-table .dps-actions {
    display: flex;
    gap: 8px;
}

.dps-groomers-table .dps-action-link {
    color: #0ea5e9;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.dps-groomers-table .dps-action-link:hover {
    background: rgba(14, 165, 233, 0.1);
}

.dps-groomers-table .dps-action-link--delete {
    color: #ef4444;
}

.dps-groomers-table .dps-action-link--delete:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ==========================================================================
   4. Seção de Relatórios
   ========================================================================== */

.dps-groomers-report {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.dps-groomers-report h4 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 20px;
}

.dps-report-filters {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: flex-end;
    margin-bottom: 24px;
    padding: 20px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.dps-report-filters .dps-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 180px;
    min-width: 150px;
}

.dps-report-filters .dps-form-field label {
    font-weight: 500;
    font-size: 13px;
    color: #6b7280;
}

.dps-report-filters .dps-form-field select,
.dps-report-filters .dps-form-field input[type="date"] {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 14px;
    color: #374151;
    background: #ffffff;
}

.dps-report-filters .dps-form-field select:focus,
.dps-report-filters .dps-form-field input[type="date"]:focus {
    border-color: #0ea5e9;
    outline: none;
}

.dps-report-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* ==========================================================================
   5. Cards de Métricas
   ========================================================================== */

.dps-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.dps-metric-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dps-metric-card__label {
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dps-metric-card__value {
    font-size: 28px;
    font-weight: 600;
    color: #374151;
    line-height: 1.2;
}

.dps-metric-card--success .dps-metric-card__value {
    color: #10b981;
}

.dps-metric-card--warning .dps-metric-card__value {
    color: #f59e0b;
}

.dps-metric-card--info .dps-metric-card__value {
    color: #0ea5e9;
}

/* ==========================================================================
   6. Tabela de Resultados do Relatório
   ========================================================================== */

.dps-report-results h5 {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
}

.dps-report-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.dps-report-table thead {
    background: #f9fafb;
}

.dps-report-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.dps-report-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.dps-report-table tbody tr:last-child td {
    border-bottom: none;
}

.dps-report-table tbody tr:hover {
    background: #f9fafb;
}

.dps-report-table tfoot tr {
    background: #f3f4f6;
}

.dps-report-table tfoot td {
    padding: 12px 16px;
    font-size: 14px;
    border-top: 2px solid #e5e7eb;
}

/* Relatório de comissões */
.dps-commissions-report {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid #e5e7eb;
}

.dps-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 9999px;
    text-transform: capitalize;
}

.dps-status-badge--realizado,
.dps-status-badge--pago,
.dps-status-badge--ativo {
    background: #d1fae5;
    color: #065f46;
}

.dps-status-badge--pendente {
    background: #fef3c7;
    color: #92400e;
}

.dps-status-badge--cancelado,
.dps-status-badge--inativo {
    background: #f3f4f6;
    color: #6b7280;
}

/* Linha de groomer inativo na tabela */
.dps-groomer-inactive {
    opacity: 0.6;
}

.dps-groomer-inactive:hover {
    opacity: 1;
}

/* Dados não preenchidos */
.dps-no-data {
    color: #9ca3af;
    font-style: italic;
}

/* ==========================================================================
   7. Avisos e Notificações
   ========================================================================== */

.dps-groomers-notice {
    padding: 12px 16px;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 14px;
}

.dps-groomers-notice--warning {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    color: #92400e;
}

.dps-groomers-notice--error {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

.dps-groomers-notice--info {
    background: #dbeafe;
    border: 1px solid #3b82f6;
    color: #1e40af;
}

/* ==========================================================================
   8. Botões
   ========================================================================== */

.dps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.dps-btn--primary {
    background: #0ea5e9;
    color: #ffffff;
}

.dps-btn--primary:hover {
    background: #0284c7;
}

.dps-btn--secondary {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.dps-btn--secondary:hover {
    background: #e5e7eb;
}

.dps-btn--success {
    background: #10b981;
    color: #ffffff;
}

.dps-btn--success:hover {
    background: #059669;
}

.dps-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==========================================================================
   9. Responsividade
   ========================================================================== */

@media screen and (max-width: 768px) {
    .dps-groomers-container {
        flex-direction: column;
    }
    
    .dps-groomers-form-container,
    .dps-groomers-list-container {
        flex: 1 1 100%;
    }
    
    .dps-groomers-form .dps-form-row--2col > .dps-form-field {
        flex: 1 1 100%;
    }
    
    .dps-report-filters {
        flex-direction: column;
    }
    
    .dps-report-filters .dps-form-field {
        flex: 1 1 100%;
    }
    
    .dps-metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .dps-groomers-table,
    .dps-report-table {
        display: block;
        overflow-x: auto;
    }
}

@media screen and (max-width: 480px) {
    .dps-groomers-form fieldset {
        padding: 16px;
    }
    
    .dps-groomers-table th,
    .dps-groomers-table td,
    .dps-report-table th,
    .dps-report-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .dps-metric-card {
        padding: 16px;
    }
    
    .dps-metric-card__value {
        font-size: 24px;
    }
}

/* ==========================================================================
   10. Modal de Edição
   ========================================================================== */

.dps-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.dps-modal-content {
    background: #ffffff;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    animation: dpsModalSlideIn 0.2s ease-out;
}

@keyframes dpsModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dps-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.dps-modal-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

.dps-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.dps-modal-close:hover {
    color: #374151;
}

.dps-modal-body {
    padding: 20px;
}

.dps-modal-body .dps-form-field {
    margin-bottom: 16px;
}

.dps-modal-body .dps-form-field:last-child {
    margin-bottom: 0;
}

.dps-modal-body .dps-form-field label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    color: #374151;
    margin-bottom: 6px;
}

.dps-modal-body .dps-form-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-size: 14px;
    color: #374151;
    box-sizing: border-box;
}

.dps-modal-body .dps-form-field input:focus {
    border-color: #0ea5e9;
    outline: none;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.1);
}

.dps-modal-note {
    margin-top: 16px;
    padding: 12px;
    background: #f3f4f6;
    border-radius: 4px;
    font-size: 13px;
    color: #6b7280;
}

.dps-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0 0 8px 8px;
}

/* ==========================================================================
   11. Botão de Exportação
   ========================================================================== */

.dps-export-actions {
    margin: 16px 0;
    display: flex;
    gap: 12px;
}

.dps-export-actions .dps-btn {
    gap: 6px;
}

/* ==========================================================================
   12. Ações na Tabela
   ========================================================================== */

.dps-groomers-table .dps-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dps-action-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #0ea5e9;
    text-decoration: none;
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.dps-action-link:hover {
    background: rgba(14, 165, 233, 0.1);
}

.dps-action-link--delete {
    color: #ef4444;
}

.dps-action-link--delete:hover {
    background: rgba(239, 68, 68, 0.1);
}

/* ==========================================================================
   13. Responsividade para Modal
   ========================================================================== */

@media screen and (max-width: 480px) {
    .dps-modal {
        padding: 10px;
    }
    
    .dps-modal-content {
        max-width: 100%;
    }
    
    .dps-modal-header,
    .dps-modal-body,
    .dps-modal-footer {
        padding: 16px;
    }
    
    .dps-modal-footer {
        flex-direction: column;
    }
    
    .dps-modal-footer .dps-btn {
        width: 100%;
    }
}

/* ==========================================================================
   14. Dashboard do Groomer
   ========================================================================== */

.dps-groomer-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dps-dashboard-filters {
    background: #f9fafb;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.dps-dashboard-filters .dps-form-row {
    display: flex;
    gap: 16px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.dps-dashboard-filters .dps-form-field {
    flex: 1;
    min-width: 150px;
}

.dps-dashboard-filters .dps-form-field--button {
    flex: 0 0 auto;
}

.dps-metrics-grid--dashboard {
    margin-bottom: 24px;
}

/* Cards de status */
.dps-status-cards {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.dps-status-card {
    flex: 1;
    min-width: 120px;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
}

.dps-status-card__count {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.dps-status-card__label {
    display: block;
    font-size: 14px;
    margin-top: 4px;
}

.dps-status-card--realizado {
    background: #d1fae5;
    color: #065f46;
}

.dps-status-card--pendente {
    background: #fef3c7;
    color: #92400e;
}

.dps-status-card--cancelado {
    background: #f3f4f6;
    color: #6b7280;
}

/* Comissão card */
.dps-metric-card--warning {
    border-left: 4px solid #f59e0b;
}

.dps-dashboard-appointments {
    margin-top: 24px;
}

.dps-dashboard-appointments h3 {
    margin-bottom: 16px;
    font-size: 18px;
    color: #374151;
}

/* Seção de gráficos */
.dps-charts-section {
    margin: 32px 0;
}

.dps-charts-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #374151;
}

.dps-charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.dps-chart-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
}

.dps-chart-container h4 {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dps-chart-container canvas {
    height: 250px !important;
    width: 100% !important;
}

@media screen and (max-width: 768px) {
    .dps-dashboard-filters .dps-form-row {
        flex-direction: column;
    }
    
    .dps-dashboard-filters .dps-form-field {
        width: 100%;
    }
    
    .dps-status-cards {
        flex-direction: column;
    }
    
    .dps-status-card {
        min-width: 100%;
    }
    
    .dps-charts-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   15. Agenda do Groomer
   ========================================================================== */

.dps-groomer-agenda {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dps-agenda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.dps-agenda-nav {
    display: flex;
    gap: 8px;
}

.dps-agenda-period {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 24px;
}

.dps-agenda-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.dps-agenda-day {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.dps-agenda-day--today {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.1);
}

.dps-agenda-day__header {
    padding: 12px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 7px 7px 0 0;
    text-align: center;
}

.dps-agenda-day--today .dps-agenda-day__header {
    background: #0ea5e9;
    color: #ffffff;
}

.dps-agenda-day__name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dps-agenda-day__date {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-top: 4px;
}

.dps-agenda-day__content {
    flex: 1;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dps-agenda-empty {
    color: #9ca3af;
    font-size: 12px;
    text-align: center;
    padding: 20px 0;
}

.dps-agenda-item {
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    border-left: 3px solid;
}

.dps-agenda-item--pendente {
    background: #fef3c7;
    border-left-color: #f59e0b;
}

.dps-agenda-item--realizado {
    background: #d1fae5;
    border-left-color: #10b981;
}

.dps-agenda-item--cancelado {
    background: #f3f4f6;
    border-left-color: #6b7280;
    opacity: 0.7;
}

.dps-agenda-item__time {
    display: block;
    font-weight: 700;
    color: #374151;
}

.dps-agenda-item__client {
    display: block;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dps-agenda-item__pet {
    display: block;
    color: #6b7280;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 1024px) {
    .dps-agenda-week {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .dps-agenda-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dps-agenda-week {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .dps-agenda-week {
        grid-template-columns: 1fr;
    }
    
    .dps-agenda-day {
        min-height: auto;
    }
}

/* ==========================================================================
   16. Sistema de Avaliações
   ========================================================================== */

/* Formulário de avaliação */
.dps-review-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.dps-review-form-container h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #374151;
}

.dps-review-form .dps-form-field {
    margin-bottom: 20px;
}

.dps-review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.dps-review-form input[type="text"],
.dps-review-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
}

.dps-review-form textarea {
    resize: vertical;
}

/* Star rating input */
.dps-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.dps-star-rating input {
    display: none;
}

.dps-star-rating label {
    font-size: 32px;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s ease;
    margin: 0;
}

.dps-star-rating label:hover,
.dps-star-rating label:hover ~ label,
.dps-star-rating input:checked ~ label {
    color: #f59e0b;
}

/* Lista de avaliações */
.dps-reviews-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.dps-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.dps-reviews-header h3 {
    margin: 0;
    font-size: 20px;
    color: #374151;
}

.dps-reviews-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dps-reviews-avg {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dps-reviews-avg__stars {
    color: #f59e0b;
    font-size: 18px;
}

.dps-reviews-avg__value {
    font-size: 18px;
    font-weight: 700;
    color: #374151;
}

.dps-reviews-count {
    color: #6b7280;
    font-size: 14px;
}

.dps-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.dps-review-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
}

.dps-review-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.dps-review-item__stars {
    color: #f59e0b;
    font-size: 16px;
    letter-spacing: 2px;
}

.dps-review-item__date {
    color: #9ca3af;
    font-size: 12px;
}

.dps-review-item__author {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.dps-review-item__comment {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* Avisos de sucesso */
.dps-groomers-notice--success {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.dps-groomers-notice--error {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* ==========================================================================
   13. Portal do Groomer
   ========================================================================== */

.dps-groomer-portal {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.dps-groomer-portal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 24px;
}

.dps-groomer-portal__welcome h1 {
    margin: 0 0 4px;
    font-size: 28px;
    font-weight: 600;
    color: #374151;
}

.dps-groomer-portal__subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}

.dps-groomer-portal__actions {
    display: flex;
    gap: 12px;
}

/* Portal Tabs */
.dps-portal-tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.dps-portal-tabs__item {
    margin-bottom: -2px;
}

.dps-portal-tabs__link {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.dps-portal-tabs__link:hover {
    color: #0ea5e9;
}

.dps-portal-tabs__item--active .dps-portal-tabs__link {
    color: #0ea5e9;
    border-bottom-color: #0ea5e9;
}

.dps-portal-section {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Login Required Box */
.dps-groomer-login-required {
    max-width: 500px;
    margin: 60px auto;
    text-align: center;
}

.dps-login-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 40px;
}

.dps-login-box h2 {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 600;
    color: #374151;
}

.dps-login-box p {
    color: #6b7280;
    margin: 0 0 16px;
    line-height: 1.6;
}

.dps-login-hint {
    font-size: 13px;
    color: #9ca3af;
}

/* ==========================================================================
   14. Gerenciamento de Tokens
   ========================================================================== */

.dps-groomers-tokens-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.dps-groomers-tokens-table th,
.dps-groomers-tokens-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

.dps-groomers-tokens-table th {
    font-weight: 600;
    color: #374151;
    background: #f9fafb;
}

.dps-inline-form {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.dps-select-small {
    padding: 4px 8px;
    font-size: 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    background: #ffffff;
}

.dps-btn--tiny {
    padding: 2px 8px;
    font-size: 11px;
}

/* Token URL Box */
.dps-token-url-row {
    background: #f0f9ff;
}

.dps-token-url-box {
    padding: 16px;
    background: #ffffff;
    border: 1px solid #0ea5e9;
    border-radius: 4px;
}

.dps-token-url-box label {
    display: block;
    font-weight: 500;
    color: #0369a1;
    margin-bottom: 8px;
    font-size: 13px;
}

.dps-token-url-input-group {
    display: flex;
    gap: 8px;
}

.dps-token-url-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 12px;
    font-family: monospace;
    background: #f9fafb;
}

.dps-copy-token-btn {
    white-space: nowrap;
}

/* Tokens Detail */
.dps-tokens-detail-row {
    background: #f9fafb;
}

.dps-tokens-details {
    padding: 8px 0;
}

.dps-tokens-details summary {
    cursor: pointer;
    color: #0ea5e9;
    font-size: 13px;
    font-weight: 500;
}

.dps-tokens-details summary:hover {
    text-decoration: underline;
}

.dps-table--nested {
    margin-top: 12px;
    font-size: 13px;
}

.dps-table--nested th,
.dps-table--nested td {
    padding: 8px 12px;
}

/* Badge Variants */
.dps-badge--info {
    background: #dbeafe;
    color: #1d4ed8;
}

.dps-badge--warning {
    background: #fef3c7;
    color: #b45309;
}

.dps-badge--neutral {
    background: #f3f4f6;
    color: #6b7280;
}

/* Buttons */
.dps-btn--outline {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #374151;
}

.dps-btn--outline:hover {
    background: #f3f4f6;
}

/* Responsive */
@media (max-width: 768px) {
    .dps-groomer-portal__header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .dps-portal-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .dps-inline-form {
        flex-wrap: wrap;
    }

    .dps-token-url-input-group {
        flex-direction: column;
    }
}
