/**
 * Kanban Board - Gestão de Projetos
 * Estilos para interface visual profissional
 */

/* ==========================================================================
   Layout Principal
   ========================================================================== */

.kanban-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.kanban-header {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

.kanban-main {
    padding-bottom: 3rem;
}

/* Toggle Notificar Cliente (estilo iOS) */
.kanban-notify-toggle-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.kanban-notify-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #475569;
    user-select: none;
}

.ios-toggle {
    position: relative;
    display: inline-block;
    width: 51px;
    height: 31px;
    cursor: pointer;
}

.ios-toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ios-toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    border-radius: 31px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ios-toggle-slider:before {
    content: '';
    position: absolute;
    height: 27px;
    width: 27px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ios-toggle-input:checked + .ios-toggle-slider {
    background-color: #34c759;
}

.ios-toggle-input:checked + .ios-toggle-slider:before {
    transform: translateX(20px);
}

.ios-toggle:hover .ios-toggle-slider {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(52, 199, 89, 0.1);
}

.ios-toggle-input:checked:hover + .ios-toggle-slider {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(52, 199, 89, 0.15);
}

.ios-toggle-input:focus + .ios-toggle-slider {
    outline: 2px solid #34c759;
    outline-offset: 2px;
}

.ios-toggle-input:disabled + .ios-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Animação suave ao ativar */
.ios-toggle-input:checked + .ios-toggle-slider:before {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Board & Colunas
   ========================================================================== */

.kanban-board {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    min-height: 600px;
}

.kanban-board::-webkit-scrollbar {
    height: 10px;
}

.kanban-board::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.kanban-board::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.kanban-board::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.kanban-column {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    background: transparent;
    transition: flex-basis 0.3s ease, opacity 0.3s ease;
}

/* Coluna vazia compactada */
.kanban-column.is-empty {
    flex: 0 0 120px;
}

.kanban-column.is-empty .kanban-column-header {
    opacity: 0.6;
}

.kanban-column.is-empty .kanban-column-title {
    font-size: 0.8rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg) translateZ(0);
    white-space: nowrap;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    backface-visibility: hidden;
}

.kanban-column.is-empty .kanban-column-count {
    display: none;
}

.kanban-column.is-empty:hover {
    opacity: 0.8;
}

.kanban-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.75rem;
    background: white;
    border-radius: 12px 12px 0 0;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 0;
}

.kanban-column-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.kanban-column-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 0.5rem;
    background: #f1f5f9;
    color: #64748b;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.kanban-column-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0.75rem;
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
    overflow-y: auto;
    max-height: calc(100vh - 250px);
}

.kanban-column-content::-webkit-scrollbar {
    width: 6px;
}

.kanban-column-content::-webkit-scrollbar-track {
    background: transparent;
}

.kanban-column-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* ==========================================================================
   Cards Compactos
   ========================================================================== */

.kanban-card-compact {
    background: white;
    border-radius: 8px;
    padding: 0.875rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.kanban-card-compact:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
    border-color: #cbd5e1;
}

.card-compact-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-compact-client-name {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #334155;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.card-compact-email {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #64748b;
}

.card-compact-dates {
    display: flex;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.card-compact-date {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #475569;
}

.card-compact-briefing {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #3b82f6;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.card-compact-briefing:hover {
    background: #eff6ff;
    border-color: #3b82f6;
}

.card-compact-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-compact-progress-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.card-compact-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-compact-progress-text {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
    min-width: 35px;
    text-align: right;
}

/* Ações do Card */
.card-compact-actions {
    display: flex;
    gap: 0.5rem;
}

.card-compact-details-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1;
    padding: 0.625rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #475569;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.card-compact-details-btn:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.card-compact-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc2626;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 44px;
}

.card-compact-delete-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
    transform: scale(1.05);
}

.card-compact-delete-btn:active {
    transform: scale(0.95);
}

/* ==========================================================================
   Modal de Confirmação de Exclusão
   ========================================================================== */

.delete-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease-out;
}

.delete-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.delete-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 440px;
    padding: 2rem;
    text-align: center;
    animation: scaleUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.delete-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    background: #fef2f2;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
    }
}

.delete-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem;
}

.delete-modal-message {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 2rem;
}

.delete-modal-message strong {
    color: #dc2626;
    font-weight: 600;
}

.delete-modal-actions {
    display: flex;
    gap: 0.75rem;
}

.delete-modal-btn-cancel,
.delete-modal-btn-confirm {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.delete-modal-btn-cancel {
    background: #f1f5f9;
    color: #475569;
    border-color: #e2e8f0;
}

.delete-modal-btn-cancel:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.delete-modal-btn-confirm {
    background: #dc2626;
    color: white;
    border-color: #dc2626;
}

.delete-modal-btn-confirm:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.3);
}

.delete-modal-btn-confirm:active {
    transform: translateY(0);
}

/* ==========================================================================
   Modal de Detalhes
   ========================================================================== */

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.2s ease-out;
}

.project-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.project-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 1100px;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.project-modal-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.project-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.project-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.project-modal-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.project-modal-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-modal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Modal Sections */
.modal-section {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.modal-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.modal-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.modal-section-title svg {
    color: #64748b;
}

.modal-client-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.modal-client-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #334155;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
}

.modal-client-email {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
}

.modal-dates-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.modal-date-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
}

.modal-date-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.modal-date-value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #0f172a;
}

.modal-date-input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f172a;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
}

.modal-date-input:hover {
    border-color: #cbd5e1;
}

.modal-date-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Seletor de Status - Editável ao clicar */
.modal-status-editable-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-status-label-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.modal-status-editable-container {
    flex: 1;
    min-width: 0;
}

.modal-status-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-status-display:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.modal-status-current {
    flex: 1;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f172a;
}

.modal-status-selector {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f172a;
    background: white;
    border: 1px solid #3b82f6;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
}

.modal-status-selector:hover {
    border-color: #3b82f6;
}

.modal-status-selector:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Descrição do Projeto */
.modal-descricao-text {
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #475569;
    text-align: justify;
    transition: all 0.2s;
}

.modal-descricao-text:hover {
    background: #eff6ff;
    border-color: #3b82f6;
}

.modal-descricao-text:hover .modal-descricao-edit-hint {
    opacity: 1 !important;
}

.modal-descricao-textarea {
    font-family: inherit;
    transition: border-color 0.2s;
}

.modal-descricao-textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.modal-descricao-actions button {
    transition: all 0.2s;
}

.modal-descricao-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: white;
}

.modal-descricao-btn-save {
    background: #10B981;
}

.modal-descricao-btn-cancel {
    background: #6B7280;
}

.modal-descricao-actions button:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.modal-descricao-actions button:active {
    transform: translateY(0);
}

#modal-descricao-save-btn:hover,
.modal-descricao-btn-save:hover {
    background: #059669;
}

#modal-descricao-cancel-btn:hover,
.modal-descricao-btn-cancel:hover {
    background: #4b5563;
}

/* Barra de ferramentas de formatação */
.toolbar-btn {
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4b5563;
}

.toolbar-btn:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
    transform: translateY(-1px);
}

.toolbar-btn:active {
    transform: translateY(0);
}

.toolbar-btn svg {
    pointer-events: none;
}

/* Dica de atalhos na barra de ferramentas */
.descricao-toolbar span {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .descricao-toolbar span {
        display: none;
    }
}

/* Editor contenteditable */
.modal-descricao-editor {
    outline: none;
}

.modal-descricao-editor:focus {
    border-color: #2563eb !important;
}

/* Placeholder para contenteditable */
.modal-descricao-editor.is-empty::before {
    content: attr(data-placeholder);
    color: #9ca3af;
    pointer-events: none;
}

.modal-descricao-editor:empty::before {
    content: attr(data-placeholder);
    color: #9ca3af;
    pointer-events: none;
}

/* Estilos para o conteúdo formatado no editor */
.modal-descricao-editor strong,
.modal-descricao-editor b {
    font-weight: 700;
}

.modal-descricao-editor em,
.modal-descricao-editor i {
    font-style: italic;
}

.modal-descricao-editor u {
    text-decoration: underline;
}

.modal-descricao-editor ul,
.modal-descricao-editor ol {
    margin-left: 24px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.modal-descricao-editor li {
    margin-bottom: 4px;
}

.modal-descricao-editor h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 8px;
    color: #1f2937;
}

/* Estilos para visualização (display) */
.modal-descricao-text strong,
.modal-descricao-text b {
    font-weight: 700;
    color: #1f2937;
}

.modal-descricao-text em,
.modal-descricao-text i {
    font-style: italic;
}

.modal-descricao-text u {
    text-decoration: underline;
}

.modal-descricao-text ul,
.modal-descricao-text ol {
    margin-left: 24px;
    margin-top: 8px;
    margin-bottom: 8px;
}

.modal-descricao-text li {
    margin-bottom: 4px;
}

.modal-descricao-text h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 8px;
    color: #1f2937;
}

.modal-descricao-text p {
    margin-bottom: 12px;
}

.modal-descricao-text p:last-child {
    margin-bottom: 0;
}

/* Sidebar */
.modal-sidebar-section {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.modal-sidebar-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-briefing-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #3b82f6;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
}

.modal-briefing-link:hover {
    background: #eff6ff;
    border-color: #3b82f6;
}

/* Lista de Documentos */
.documentos-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.documentos-list .modal-briefing-link {
    width: 100%;
    position: relative;
}

/* Bot\u00e3o de deletar documento */
.documento-delete-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 6px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 1;
}

.modal-briefing-link:hover .documento-delete-btn {
    display: flex;
}

.documento-delete-btn:hover {
    background: #dc2626;
    transform: translateY(-50%) scale(1.05);
}

/* Bot\u00e3o adicionar documento */
.add-documento-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: white;
    border: 2px dashed #cbd5e1;
    border-radius: 6px;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 0.5rem;
    width: 100%;
}

.add-documento-btn:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
}

/* Formul\u00e1rio adicionar documento */
.add-documento-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.add-documento-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.add-documento-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Ajuste específico para input de adicionar item ao checklist */
#add-checklist-item-form .add-documento-input {
    margin-bottom: 0.25rem;
}

.add-documento-actions {
    display: flex;
    gap: 0.5rem;
}

.add-documento-save-btn,
.add-documento-cancel-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.add-documento-save-btn {
    background: #10b981;
    color: white;
}

.add-documento-save-btn:hover {
    background: #059669;
}

.add-documento-cancel-btn {
    background: #e2e8f0;
    color: #64748b;
}

.add-documento-cancel-btn:hover {
    background: #cbd5e1;
}

/* Inputs edit\u00e1veis de cliente */
.modal-client-input {
    flex: 1;
    padding: 0.375rem 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f172a;
    transition: all 0.2s;
}

.modal-client-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal-client-name span,
.modal-client-email span {
    position: relative;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.modal-client-name span:hover,
.modal-client-email span:hover {
    background: #f1f5f9;
}

.modal-client-name span::after,
.modal-client-email span::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 0.375rem;
    opacity: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: opacity 0.2s;
    vertical-align: middle;
}

.modal-client-name span:hover::after,
.modal-client-email span:hover::after {
    opacity: 0.5;
}

.modal-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.modal-info-item:last-child {
    border-bottom: none;
}

.modal-info-label {
    font-size: 0.75rem;
    color: #64748b;
}

.modal-info-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

.modal-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 0.5rem;
    background: #e2e8f0;
    color: #475569;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.modal-empty-state {
    padding: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* ==========================================================================
   Responsivo - Modal
   ========================================================================== */

@media (max-width: 1024px) {
    .project-modal-body {
        grid-template-columns: 1fr;
    }

    .project-modal-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .project-modal-content {
        border-radius: 0;
        max-height: 100vh;
    }

    .project-modal-header {
        padding: 1rem;
    }

    .project-modal-title {
        font-size: 1.125rem;
    }

    .project-modal-body {
        padding: 1rem;
        gap: 1rem;
    }

    .modal-dates-grid {
        grid-template-columns: 1fr;
    }

    .modal-status-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .modal-status-selector {
        width: 100%;
    }
}
/* Status Badges (usado no card e modal) */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Badge de Responsável Compacto (usado no card) */
.card-compact-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.card-compact-responsavel {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 12px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.card-compact-responsavel.responsavel-equipe {
    background: #dbeafe;
    color: #1e40af;
}

.card-compact-responsavel.responsavel-cliente {
    background: #fed7aa;
    color: #9a3412;
}

.card-compact-responsavel-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.card-compact-responsavel.responsavel-equipe .card-compact-responsavel-indicator {
    background: #3b82f6;
}

.card-compact-responsavel.responsavel-cliente .card-compact-responsavel-indicator {
    background: #f97316;
}

.status-yellow {
    background: #fef9c3;
    color: #854d0e;
}

.status-orange {
    background: #fed7aa;
    color: #9a3412;
}

.status-purple {
    background: #e9d5ff;
    color: #6b21a8;
}

.status-blue {
    background: #dbeafe;
    color: #1e40af;
}

.status-green {
    background: #d1fae5;
    color: #065f46;
}

.status-red {
    background: #fee2e2;
    color: #991b1b;
}

/* ==========================================================================
   Prazo Pausado (usado no modal)
   ========================================================================== */

.prazo-pausado {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 6px;
    color: #92400e;
    font-weight: 500;
    margin-top: 0.25rem;
}

.prazo-pausado svg {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ==========================================================================
   Listas: Escopo e Dependências (usado no modal)
   ========================================================================== */

.scope-list,
.dependencies-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.scope-list li,
.dependencies-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.5;
}

.scope-list li span,
.dependencies-list li span {
    flex: 1;
}

/* ==========================================================================
   Checklist
   ========================================================================== */

.checklist {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.checklist-item:hover {
    background: #f8fafc;
}

.checklist-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0;
}

.checklist-checkbox:checked {
    background-color: #10b981;
    border-color: #10b981;
}

.checklist-item span {
    font-size: 0.875rem;
    color: #475569;
    transition: all 0.2s;
}

/* Checklist - Wrapper e Ações */
.checklist-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.checklist-item-wrapper:hover {
    background: #f8fafc;
}

.checklist-item-wrapper .checklist-item {
    flex: 1;
    padding: 0;
    background: transparent;
}

.checklist-item-wrapper .checklist-item:hover {
    background: transparent;
}

.checklist-item-text {
    flex: 1;
    font-size: 0.875rem;
    color: #475569;
    transition: all 0.2s;
}

.checklist-item-edit-input {
    flex: 1;
    padding: 0.25rem 0.5rem;
    border: 2px solid #3B82F6;
    border-radius: 4px;
    font-size: 0.875rem;
    outline: none;
}

.checklist-item-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.2s;
}

.checklist-item-wrapper:hover .checklist-item-actions {
    opacity: 1;
}

.checklist-edit-btn,
.checklist-delete-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    color: #64748b;
}

.checklist-edit-btn:hover {
    background: #dbeafe;
    color: #2563eb;
}

.checklist-delete-btn:hover {
    background: #fee2e2;
    color: #dc2626;
}

.checklist-edit-btn svg,
.checklist-delete-btn svg {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   Barra de Progresso
   ========================================================================== */

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ==========================================================================
   Responsável
   ========================================================================== */

.responsavel-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Responsável Editável */
.responsavel-badge-editable {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.responsavel-badge-editable:hover {
    opacity: 0.8;
    border-color: rgba(0, 0, 0, 0.1);
}

.responsavel-selector {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0f172a;
    background: white;
    border: 1px solid #3b82f6;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.responsavel-selector:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.responsavel-equipe {
    background: #dbeafe;
    color: #1e40af;
}

.responsavel-cliente {
    background: #fed7aa;
    color: #9a3412;
}

.responsavel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse-dot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.responsavel-equipe .responsavel-indicator {
    background: #3b82f6;
}

.responsavel-cliente .responsavel-indicator {
    background: #f97316;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ==========================================================================
   Comentários
   ========================================================================== */

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
    padding-right: 0.25rem;
}

.comments-list::-webkit-scrollbar {
    width: 6px;
}

.comments-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.comments-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.comments-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.comment-item {
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #e2e8f0;
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.comment-header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.comment-author {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}

.comment-date {
    font-size: 0.75rem;
    color: #94a3b8;
}

.comment-delete-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    color: #94a3b8;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0;
}

.comment-item:hover .comment-delete-btn {
    opacity: 1;
}

.comment-delete-btn:hover {
    color: #ef4444;
    background: #fef2f2;
}

.comment-delete-btn:active {
    transform: scale(0.95);
}

.comment-text {
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

/* Formulário de Adicionar Comentário */
.add-comment-form {
    margin-top: 1rem;
    padding: 0.75rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

/* ==========================================================================
   Botão Criar Projeto
   ========================================================================== */

.btn-criar-projeto {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.2);
}

.btn-criar-projeto:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3);
}

.btn-criar-projeto:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(59, 130, 246, 0.2);
}

.btn-criar-projeto svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==========================================================================
   Modal Criar Projeto - Formulário
   ========================================================================== */

/* Ajuste específico para o modal de criar projeto */
#criar-projeto-modal .project-modal-body {
    display: block;
    padding: 2rem 3rem;
}

.criar-projeto-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.form-label svg {
    width: 1rem;
    height: 1rem;
    color: #64748b;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.9375rem;
    color: #1e293b;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.btn-cancelar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancelar:hover {
    background: #e2e8f0;
    color: #334155;
}

.btn-salvar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.btn-salvar:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.btn-salvar:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(16, 185, 129, 0.2);
}

.btn-cancelar svg,
.btn-salvar svg {
    width: 1rem;
    height: 1rem;
}

.add-comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.add-comment-textarea {
    width: 100%;
    padding: 0.625rem;
    font-size: 0.8125rem;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.2s;
}

.add-comment-textarea:focus {
    outline: none;
    background: white;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.add-comment-textarea::placeholder {
    color: #94a3b8;
}

.add-comment-footer {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.add-comment-author-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    transition: all 0.2s;
}

.add-comment-author-input:focus {
    outline: none;
    background: white;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.add-comment-author-input::placeholder {
    color: #94a3b8;
}

.add-comment-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: white;
    background: #3b82f6;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.add-comment-btn:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.add-comment-btn:active {
    transform: translateY(0);
}

.add-comment-note {
    margin-top: 0.5rem;
    font-size: 0.6875rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ==========================================================================
   Estado Vazio
   ========================================================================== */

.kanban-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    text-align: center;
}

/* ==========================================================================
   Responsivo
   ========================================================================== */

@media (max-width: 1024px) {
    .kanban-board {
        gap: 1rem;
    }

    .kanban-column {
        flex: 0 0 320px;
    }
}

@media (max-width: 768px) {
    .kanban-main {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .kanban-board {
        flex-direction: column;
        overflow-x: visible;
    }

    .kanban-column {
        flex: 1 1 auto;
        width: 100%;
    }

    .kanban-column-content {
        max-height: 600px;
    }

    .card-compact-title {
        font-size: 0.9375rem;
    }
}

@media (max-width: 640px) {
    .kanban-header h1 {
        font-size: 1.5rem;
    }

    .kanban-card-compact {
        padding: 1rem;
    }
}

/* ==========================================================================
   Utilitários
   ========================================================================== */

.line-through {
    text-decoration: line-through;
}

/* ==========================================================================
   Drag & Drop (Visual)
   ========================================================================== */

.kanban-card-compact.dragging {
    opacity: 0.5;
    transform: rotate(2deg);
}

.kanban-column.drag-over {
    background: #f0f9ff;
    border-radius: 12px;
}

.kanban-column-content.drag-over {
    background: #e0f2fe;
}

/* ==========================================================================
   Animações
   ========================================================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.kanban-card-compact {
    animation: fadeIn 0.3s ease-out;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .kanban-header,
    .site-header,
    .site-footer,
    .project-modal {
        display: none;
    }

    .kanban-board {
        display: block;
    }

    .kanban-column {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }

    .kanban-card-compact {
        break-inside: avoid;
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }

    .card-compact-details-btn {
        display: none;
    }
}
/* ==========================================================================
   Restrições para Usuários Clientes
   ========================================================================== */

/* Desabilitar hover e cursor em elementos editáveis para clientes */
.user-cliente .modal-status-display,
.user-cliente .modal-responsavel-display {
    cursor: default !important;
}

.user-cliente .modal-status-display:hover,
.user-cliente .modal-responsavel-display:hover {
    background-color: inherit !important;
    transform: none !important;
}

.user-cliente .modal-status-display svg,
.user-cliente .modal-responsavel-display svg {
    opacity: 0.3 !important;
}

/* Desabilitar edição visual de datas para clientes */
.user-cliente .modal-date-input {
    cursor: default;
    pointer-events: none;
    background-color: #f9fafb;
}

/* Ocultar botão de deletar documento para clientes */
.user-cliente .documento-delete-btn {
    display: none !important;
}

/* Ocultar botão de adicionar documento para clientes */
.user-cliente .add-documento-btn {
    display: none !important;
}

/* Desabilitar checkboxes do checklist para clientes */
.user-cliente .modal-checklist-item {
    cursor: default;
    pointer-events: none;
}

/* Desabilitar edição de descrição para clientes */
.user-cliente #modal-descricao {
    cursor: default !important;
}

.user-cliente #modal-descricao:hover {
    background-color: transparent !important;
}

/* Ocultar apenas botões de deletar comentário para clientes */
.user-cliente .comment-delete-btn {
    display: none !important;
}