/*
Theme Name: Twenty Twenty-Five Child
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: Raul Ferreira da Rocha
Author URI: https://wordpress.org
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: twentytwentyfive-child
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
/* Kanban Board Styles */
.kanban-section {
    margin-top: 2rem;
}

/* Topbar Navigation Styles */
.topbar-navigation {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 1rem;
    margin-top: 25px!important;
}

.topbar-navigation .btn-group .btn {
    margin-right: 0.5rem;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.topbar-navigation .btn-group .btn:last-child {
    margin-right: 0;
}

.topbar-navigation .btn-group .btn:hover,
.topbar-navigation .btn-group .btn:focus {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.5);
}

.kanban-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.kanban-board {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.kanban-column {
    background: #f8f9fa;
    border-radius: 0.25rem;
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    max-height: 600px;
}

.column-header {
    padding: 0.5rem 1rem;
    background: #e9ecef;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.column-count {
    background: #6c757d;
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.6rem;
    font-size: 0.9rem;
}

.kanban-cards {
    overflow-y: auto;
    padding: 0.5rem 1rem;
    flex-grow: 1;
}

.kanban-card {
    background: white;
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: grab;
    user-select: none;
}

.kanban-card.dragging {
    opacity: 0.6;
    cursor: grabbing;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.card-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.card-priority {
    padding: 0.1rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.priority-high {
    background-color: #dc3545;
    color: white;
}

.priority-medium {
    background-color: #ffc107;
    color: black;
}

.priority-low {
    background-color: #6c757d;
    color: white;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-kanban-action {
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .kanban-board {
        flex-direction: column;
    }
    .kanban-column {
        max-height: none;
        flex: 1 1 auto;
    }
}

/* Cursor de “mover” no handle */
.handle { cursor: move; }

/* Dá um destaque visual enquanto arrasta */
.sort-highlight { background: #f0f0f0; border: 1px dashed #6c757d; }

/* Esconde botões e bordas na impressão, mostra só a lista enxuta */
@media print {
  #btn-imprimir-romaneio,
  .card-header,
  .handle { display: none !important; }
  #romaneio .card { border: none; }
}

.star-rating {
    color: #FFD700;
    font-size: 1.2em;
}
.rating-text {
    color: #666;
    font-size: 0.9em;
    margin-left: 5px;
}
.visits-search { margin-left: auto; }
.visits-search .search-input {
  min-width: 180px; height: 34px; padding: 6px 10px;
  border: 1px solid var(--border, #e5e7eb); border-radius: 8px;
  outline: none;
}
@media (max-width: 480px){
  .visits-search .search-input { min-width: 140px; }
}
/* ESTILOS ADICIONAIS PARA CORRIGIR O FORMULÁRIO */
        .preventiva-card {
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            padding: 1.5rem;
            margin: 1rem 0;
        }
        
        .form-header {
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid #e9ecef;
        }
        
        .form-header h2 {
            margin: 0;
            color: #333;
        }
        
        .form-header p {
            margin: 0.5rem 0 0;
            color: #6c757d;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: #333;
        }
        
        .form-input {
            width: 100%;
            padding: 0.75rem;
            border: 1px solid #ced4da;
            border-radius: 0.375rem;
            font-size: 1rem;
            line-height: 1.5;
            color: #495057;
            background-color: #fff;
            transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        }
        
        .form-input:focus {
            border-color: #80bdff;
            outline: 0;
            box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
        }
        
        .select {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
            background-size: 16px 12px;
            padding-right: 2.5rem;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
        }
        
        /* Estilos para os checkboxes */
        .checks {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 0.75rem;
            margin-top: 0.5rem;
        }
        
        .check {
            display: flex;
            align-items: center;
            padding: 0.5rem;
            background: #f8f9fa;
            border-radius: 0.375rem;
            transition: background-color 0.15s ease-in-out;
        }
        
        .check:hover {
            background: #e9ecef;
        }
        
        .check input[type="checkbox"] {
            margin-right: 0.75rem;
            width: 1.1rem;
            height: 1.1rem;
            cursor: pointer;
        }
        
        /* Estilos para o upload de arquivos */
        .file-upload {
            border: 2px dashed #dee2e6;
            border-radius: 0.375rem;
            padding: 1.5rem;
            text-align: center;
            margin-bottom: 1rem;
            cursor: pointer;
            transition: border-color 0.15s ease-in-out;
        }
        
        .file-upload:hover {
            border-color: #0d6efd;
        }
        
        .file-upload .icon {
            margin-bottom: 0.75rem;
            color: #6c757d;
        }
        
        .file-upload .text {
            font-weight: 600;
            margin-bottom: 0.25rem;
            color: #495057;
        }
        
        .file-upload .hint {
            font-size: 0.875rem;
            color: #6c757d;
        }
        
        .file-upload input[type="file"] {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect(0, 0, 0, 0);
            white-space: nowrap;
            border: 0;
        }
        
        /* Preview de arquivos */
        .file-preview {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }
        
        .file-preview-item {
            position: relative;
            border-radius: 0.375rem;
            overflow: hidden;
            box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
        }
        
        .file-preview-item img {
            width: 100%;
            height: 100px;
            object-fit: cover;
            display: block;
        }
        
        .file-preview-item .remove {
            position: absolute;
            top: 0.25rem;
            right: 0.25rem;
            width: 1.5rem;
            height: 1.5rem;
            background: #dc3545;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1rem;
            font-weight: bold;
        }
        
        /* Botão de submit */
        .btn-submit {
            display: block;
            width: 100%;
            padding: 0.75rem 1.5rem;
            background-color: #0d6efd;
            color: white;
            border: none;
            border-radius: 0.375rem;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.15s ease-in-out;
        }
        
        .btn-submit:hover {
            background-color: #0b5ed7;
        }
        
        /* Status messages */
        #form-status {
            margin-top: 1rem;
            padding: 0.75rem;
            border-radius: 0.375rem;
            text-align: center;
        }
        
        #form-status.error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c2c7;
        }
        
        #form-status.success {
            background-color: #d1e7dd;
            color: #0f5132;
            border: 1px solid #badbcc;
        }
        
        /* Responsividade para o formulário */
        @media (max-width: 768px) {
            .checks {
                grid-template-columns: 1fr;
            }
            
            .preventiva-card {
                padding: 1rem;
            }
        }
        .altura{
    height: 180px
}
label.check{
    
    position: relative!important;
}

  .ss-wrap{position:relative;display:block}
  .ss-wrap input[type="search"]{width:100%;padding:.6rem .75rem;border:1px solid #ccc;border-radius:8px}
  .ss-hidden{display:none !important}

