/*
 * Estilos básicos para o plugin Desi Pet Shower Base.
 */
.dps-base-wrapper {
    margin: 20px 0;
    font-family: Arial, sans-serif;
}
.dps-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    border-bottom: 2px solid #ccc;
}
.dps-nav li {
    margin-right: 10px;
}
.dps-nav .dps-tab-link {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-bottom: none;
    background: #f7f7f7;
    text-decoration: none;
    color: #333;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.dps-nav .dps-tab-link.active,
.dps-nav .dps-tab-link:hover {
    background: #fff;
    border-color: #aaa;
    color: #000;
}
.dps-section {
    display: none;
    border: 1px solid #ccc;
    border-top: none;
    padding: 15px;
    background: #fff;
}
.dps-section.active {
    display: block;
}
.dps-form p {
    margin-bottom: 10px;
}
.dps-form input[type="text"],
.dps-form input[type="email"],
.dps-form input[type="date"],
.dps-form input[type="time"],
.dps-form input[type="number"],
.dps-form select,
.dps-form textarea {
    width: 100%;
    padding: 6px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.dps-form textarea {
    resize: vertical;
}
.dps-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.dps-table th,
.dps-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}
.dps-table th {
    background: #f0f0f0;
    font-weight: bold;
}
.dps-search {
    width: 100%;
    padding: 6px;
    margin-bottom: 10px;
    box-sizing: border-box;
}
.dps-history-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}
.dps-history-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.dps-history-filter label {
    display: flex;
    flex-direction: column;
    font-size: 13px;
    font-weight: 600;
    color: #1d2327;
}
.dps-history-filter input,
.dps-history-filter select {
    min-width: 170px;
}
.dps-history-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.dps-history-summary {
    background: #f8f9fa;
    border: 1px solid #e2e6ea;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
}
.dps-pet-picker {
    border: 1px solid #e2e2e2;
    background: #fafafa;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
}
.dps-pet-picker--disabled {
    opacity: 0.6;
}
.dps-pet-picker--warning {
    border-color: #dc3545;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}
.dps-pet-picker-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}
.dps-pet-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}
.dps-pet-option {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.dps-pet-option:hover {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.15);
}
.dps-pet-option input[type="checkbox"] {
    margin-right: 6px;
}
.dps-pet-option .dps-pet-name {
    font-weight: 600;
    color: #1d2327;
}
.dps-pet-option .dps-pet-owner,
.dps-pet-option .dps-pet-breed,
.dps-pet-option .dps-pet-size {
    font-size: 12px;
    color: #555d66;
}
.dps-pet-option .dps-pet-breed::before,
.dps-pet-option .dps-pet-owner::before,
.dps-pet-option .dps-pet-size::before {
    content: '';
}
.dps-appointments-group {
    margin-top: 20px;
    padding: 16px;
    border-radius: 10px;
    border-left: 6px solid #0d6efd;
    background: #f4f9ff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}
.dps-appointments-group h4 {
    margin-top: 0;
    margin-bottom: 12px;
}
.dps-appointments-group--overdue {
    border-left-color: #dc3545;
    background: #fff5f5;
}
.dps-appointments-group--finalized {
    border-left-color: #198754;
    background: #f3fdf7;
}
.dps-appointments-group--upcoming {
    border-left-color: #0d6efd;
    background: #f4f9ff;
}
.dps-table tr.status-pendente {
    background: #fff9e6;
}
.dps-table tr.status-finalizado {
    background: #e8f7fb;
}
.dps-table tr.status-finalizado_pago,
.dps-table tr.status-finalizado\ e\ pago {
    background: #e6f4ea;
}
.dps-table tr.status-cancelado {
    background: #fdecea;
}
.dps-inline-status-form {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.dps-inline-status-form select {
    min-width: 140px;
}
.dps-inline-status-form.is-updating select {
    opacity: 0.6;
    pointer-events: none;
}
.dps-alert {
    padding: 14px 16px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 6px solid #ffc107;
    background: #fff8e1;
    color: #4b3d0a;
}
.dps-alert--danger {
    border-left-color: #dc3545;
    background: #fdecea;
    color: #58151c;
}
.dps-alert--pending {
    position: relative;
    padding-left: 46px;
    border-left-color: #b54708;
    background: #fff4d6;
    color: #4b2c07;
    box-shadow: 0 6px 16px rgba(181, 71, 8, 0.12);
}
.dps-alert--pending::before {
    content: "!";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #b54708;
    color: #fff;
    font-weight: 700;
    text-align: center;
    line-height: 20px;
    box-shadow: 0 0 0 3px rgba(255, 244, 214, 0.9);
}
.dps-alert--info {
    border-left-color: #0d6efd;
    background: #eef5ff;
    color: #0a1f44;
}
.dps-alert strong {
    display: inline-block;
    margin-bottom: 6px;
}
.dps-client-select--warning {
    border-color: #b54708 !important;
    box-shadow: 0 0 0 2px rgba(181, 71, 8, 0.18);
    background: #fff8ea;
    color: #2c1601;
}
