/* Estilos Customizados - GTEC Sistema */

body {
    background-color: #f7f9fb;
    color: #191c1e;
}

.bento-card {
    background: #ffffff;
    border: 1px solid #c6c6cd;
    padding: 1.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.bento-card:hover {
    border-color: #76777d;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Transições para o Vue (Toasts, etc) */
.toast-enter-active,
.toast-leave-active {
    transition: all 0.3s ease;
}
.toast-enter-from {
    opacity: 0;
    transform: translateX(30px);
}
.toast-leave-to {
    opacity: 0;
    transform: translateX(30px);
}

/* Área Segura Mobile (iOS) */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .pb-safe {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }
}

/* Responsive - View Agendamento */
@media (max-width: 767px) {
    .agendamento-container {
        padding: 1rem;
    }
    .agendamento-title {
        font-size: 1.5rem;
    }
    .agendamento-card {
        padding: 1rem;
        border-radius: 1rem;
    }
    .agendamento-input, 
    .agendamento-select,
    .agendamento-textarea {
        padding: 0.75rem;
        font-size: 0.875rem;
        border-radius: 0.75rem;
    }
    .agendamento-btn-add {
        padding: 0.75rem;
    }
    .agendamento-btn-add span {
        font-size: 1.125rem;
    }
    .agendamento-textarea {
        height: 8rem;
    }
    .agendamento-info {
        padding: 1rem;
        border-radius: 0.75rem;
    }
    .agendamento-actions {
        flex-direction: column;
    }
    .agendamento-actions button {
        width: 100%;
    }
}

/* Responsive - Modais */
@media (max-width: 767px) {
    .modal-container {
        padding: 1rem;
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-header {
        padding: 1rem;
        position: sticky;
        top: 0;
    }
    .modal-body {
        padding: 1rem;
    }
    .modal-footer {
        padding: 1rem;
        position: sticky;
        bottom: 0;
    }
    .modal-input,
    .modal-select {
        padding: 0.75rem;
        font-size: 0.875rem;
        border-radius: 0.75rem;
    }
    .modal-btn-add {
        padding: 0.75rem;
    }
    .modal-btn-add span {
        font-size: 1.125rem;
    }
    .modal-title {
        font-size: 1.125rem;
    }
}

/* Tarja Orçamento */
.tarja-orcamento {
    position: absolute;
    top: 0;
    left: 0;
    background: #f59e0b;
    color: white;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-top-left-radius: 12px;
    border-bottom-right-radius: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
}
.tarja-orcamento .material-symbols-outlined {
    font-size: 12px;
}

/* Badges de Categoria, Fabricante e Modelo */
.badge-categoria {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f3e8ff;
    color: #9333ea;
}
.badge-categoria .material-symbols-outlined {
    font-size: 12px;
}

.badge-fabricante {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 4px;
    background: #dbeafe;
    color: #2563eb;
}
.badge-fabricante .material-symbols-outlined {
    font-size: 12px;
}

.badge-modelo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #64748b;
}
.badge-modelo .material-symbols-outlined {
    font-size: 12px;
}

/* Estilos para a barra de ações em lote e filtros */
#batch-action-bar {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
}
#batch-action-bar.hidden-bar {
    transform: translateY(100%) translateX(-50%);
    opacity: 0;
    pointer-events: none;
}
.filter-panel {
    transition: max-height 0.3s ease-out, opacity 0.2s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}
.filter-panel.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
/* Tooltip para observações e observações internas */
.comment-tooltip {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.group-tooltip:hover .comment-tooltip {
    visibility: visible;
    opacity: 1;
}
