/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 13 2025 | 14:10:23 */
/* ===== HISTÓRICO MINIMALISTA ===== */
.historico-container {
    max-width: 100%;
    margin: 40px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.historico-header {
    margin-bottom: 30px;
    text-align: center;
}

.historico-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #6b7280;
    margin: 0;
    letter-spacing: -0.01em;
}

/* Stats Minimalistas */
.historico-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.stat-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    transition: all 0.2s ease;
}

.stat-item:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Solicitação Atual */
.solicitacao-atual-minimal {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.current-badge {
    position: absolute;
    top: -8px;
    left: 16px;
    background: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.solicitacao-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: start;
}

.solicitacao-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.status-badge-minimal {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.status-badge-minimal.pendente { 
    background: #fef3c7; 
    color: #d97706;
    border: 1px solid #fcd34d;
}

.status-badge-minimal.andamento { 
    background: #dbeafe; 
    color: #1d4ed8;
    border: 1px solid #93c5fd;
}

.status-badge-minimal.concluido { 
    background: #dcfce7; 
    color: #166534;
    border: 1px solid #86efac;
}

.solicitacao-date {
    font-size: 0.8rem;
    color: #6b7280;
}

.solicitacao-info h4 {
    margin: 0 0 6px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.solicitacao-pagina {
    margin: 0;
    font-size: 0.8rem;
    color: #6b7280;
    font-style: italic;
}

.btn-detalhes-minimal {
    background: transparent;
    color: #3b82f6;
    border: 1px solid #3b82f6;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-detalhes-minimal:hover {
    background: #3b82f6;
    color: white;
}

/* Histórico List */
.historico-list h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 16px;
}

.solicitacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.solicitacao-card-minimal {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s ease;
}

.solicitacao-card-minimal:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.card-status {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.7rem;
}

.card-status.pendente { background: #fef3c7; color: #d97706; }
.card-status.andamento { background: #dbeafe; color: #1d4ed8; }
.card-status.concluido { background: #dcfce7; color: #166534; }

.card-date {
    font-size: 0.75rem;
    color: #6b7280;
}

.card-body h5 {
    margin: 0 0 6px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.card-pagina {
    margin: 0;
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

.card-actions {
    margin-top: 12px;
    text-align: right;
}

.btn-card-detalhes {
    background: transparent;
    color: #6b7280;
    border: 1px solid #d1d5db;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-card-detalhes:hover {
    background: #f3f4f6;
    color: #374151;
}

/* Estados */
.historico-footer {
    text-align: center;
    padding: 16px;
    color: #6b7280;
    font-size: 0.8rem;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
}

.empty-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    opacity: 0.5;
}

.empty-state p {
    margin: 0 0 4px 0;
    font-size: 0.9rem;
}

.empty-state small {
    font-size: 0.8rem;
}

/* ===== MODAL CORRIGIDO ===== */
.modal-minimal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
}

.modal-content-minimal {
    background: white;
    margin: 5% auto;
    border-radius: 16px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.modal-header-minimal {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header-minimal h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
}

.close-modal-minimal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}

.close-modal-minimal:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body-minimal {
    padding: 24px;
    max-height: calc(85vh - 80px);
    overflow-y: auto;
    overflow-x: hidden;
}

/* Detalhes no Modal CORRIGIDO - SCROLL APENAS NO TEXTO */
.detalhes-completos-minimal {
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-detalhes-minimal {
    background: #f8fafc;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #e2e8f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #374151;
    flex-shrink: 0;
    margin-right: 10px;
}

.detail-value {
    text-align: right;
    flex-grow: 1;
    word-wrap: break-word;
}

.status-detalhes-minimal {
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
}

.descricao-detalhes-minimal,
.conteudo-remover-minimal,
.conteudo-adicionar-minimal,
.observacoes-detalhes-minimal {
    margin-bottom: 20px;
}

.descricao-detalhes-minimal h4,
.conteudo-remover-minimal h4,
.conteudo-adicionar-minimal h4,
.observacoes-detalhes-minimal h4 {
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

/* CAIXA DE TEXTO COM SCROLL VERTICAL */
.campo-descricao-minimal {
    background: white;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    line-height: 1.5;
    color: #4b5563;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    max-width: 100%;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar personalizada para as caixas de texto */
.campo-descricao-minimal::-webkit-scrollbar {
    width: 6px;
}

.campo-descricao-minimal::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.campo-descricao-minimal::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.campo-descricao-minimal::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.galeria-detalhes-minimal {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.imagem-detalhe-minimal {
    border: 1px solid #e5e7eb;
    padding: 4px;
    border-radius: 6px;
    max-width: 100%;
}

.imagem-detalhe-minimal img {
    width: 100%;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Scrollbar personalizada para o modal */
.modal-body-minimal::-webkit-scrollbar {
    width: 6px;
}

.modal-body-minimal::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.modal-body-minimal::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.modal-body-minimal::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Responsivo */
@media (max-width: 768px) {
    .historico-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solicitacao-content {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .solicitacoes-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content-minimal {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .historico-stats {
        grid-template-columns: 1fr;
    }
}