/* Geral */
.products-page {
    padding: 20px;
    background-color: none;
    font-family: 'Inter', sans-serif;
    color: #525B65;
}

/* Cabeçalho da página */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-title {
    font-size: 18px;
    font-weight: bold;
    color: #525B65;
}

.action-buttons .btn {
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: #1F2326 !important;
    font-weight: bold;
    margin-left: 10px;
    display: inline-block;
    transition: background-color 0.3s ease;

}

.btn-primary:hover {
    background-color: #2563eb;
}

/* Barra de busca */
.search-bar {
    padding: 15px;
    background-color: #1f2326;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    color: #374151;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    border-color: #3A0B5D;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
    outline: none;
}

.search-select {
    padding: 10px 15px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    color: #374151;
    background-color: #1F2326 !important;
    transition: border-color 0.3s ease;
}

.search-button {
    padding: 10px 20px;
    color: #2BC4C3;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.search-button:hover {

}

/* Tabela de produtos */
.product-list .table {
    width: 100%;
    border-collapse: collapse;
    background-color: #1F2326 !important;
    border-radius: 5px;
    overflow: hidden;
   
}

.table th,
.table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
    font-size: 0.9rem;
}

.table th {
    background-color: #f9f9f9;
    font-weight: 600;
    text-transform: uppercase;
    color: #525B65;
}

.table tbody tr:hover {
    background-color: #f9fafb;
}

/* Imagem do produto */
.product-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #e5e7eb;
}

/* Título do produto */
.product-title {
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
    vertical-align: middle;
    font-weight: bold;
    color: #525B65;
}

/* Logo da loja */
.store-logo img {
    width: 90px;
    height: 30px;
    object-fit: contain;
}

/* Etiquetas do produto */
.product-labels {
    color: #525B65;
    font-size: 0.9rem;
}

/* Status */
.status {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    text-align: center;
}

.status.active {
    background-color: #d4f8d4;
    color: #006400;
}

.status.inactive {
    background-color: #ffe5b4;
    color: #fe5000;
}

/* Ações */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #525B65;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1f2326;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    z-index: 10;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #374151;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: #f9fafb;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Sem produtos */
.no-products {
    text-align: center;
    color: #525B65;
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Layout responsivo */
@media (max-width: 768px) {
    .products-header {
        flex-direction: column;
        gap: 10px;
    }

    .search-bar {
        flex-direction: column;
        gap: 10px;
    }

    .search-input {
        width: 100%;
    }
}

/* Estilo para a barra de pesquisa */
.search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background-color:#1F2326 !important;
  
    border-radius: 5px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    gap: 10px;
}

/* Formulário de busca */
.search-form {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 10px;
}

/* Input de texto para busca */
.search-input {
    flex: 1;
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
    border-color: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
    outline: none;
}

/* Dropdown para filtro de loja */
.search-select {
    width: 150px;
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    background-color: #1f2326;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-select:focus {
    border-color: #34d399;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3);
    outline: none;
}

/* Botão de busca */
.search-button {
    padding: 10px;
    background-color: #1F2326 !important;
    color:  color: #2BC4C3;;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button i {
    font-size: 1.2rem;
    background-color: #1F2326 !important;
}

.search-button:hover {
    
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .search-bar {
        flex-direction: column;
        gap: 10px;
    }

    .search-form {
        flex-direction: column;
        gap: 10px;
    }

    .search-input,
    .search-select {
        width: 100%;
    }
}

.integration-logo {
    max-width: 30px; /* Largura máxima */
    object-fit: contain; /* Mantém a proporção da imagem */
    display: block;
    margin: 0 auto; /* Centraliza a imagem no espaço disponível */
}
/* Estilos gerais para o dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 8px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #1F2326 !important;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 9999; /* Garantir que fique acima de outros elementos */
    padding: 10px 0;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
    color: #3A0B5D;
}

/* Ajustes específicos para ícones */
.dropdown-item i {
    margin-right: 8px;
    color: #3A0B5D;
    font-size: 1rem;
}
/* Estilos gerais para o dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 8px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: #1F2326 !important;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 9999; /* Garantir que fique acima de outros elementos */
    padding: 10px 0;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
    background-color: #f0f0f0;
    color: #3A0B5D;
}

/* Ajustes específicos para ícones */
.dropdown-item i {
    margin-right: 8px;
    color: #3A0B5D;
    font-size: 1rem;
}
/* Modal Background */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Modal Content */
.modal-content {
    background-color: #1F2326 !important;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    width: 30%;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Options */
#modal-options {
    margin-top: 20px;
}

#modal-options a {
    display: block;
    margin: 10px 0;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    background: linear-gradient(#2BC4C3, #2BC4C3);
    color: #1F2326 !important;
    transition: background-color 0.3s;
}

#modal-options a:hover {
    background-color: #0056b3;
}
.btn-delete {
    background-color: #dc3545; /* Vermelho */
    color: #1F2326 !important;
}

.btn-delete:hover {
    background-color: #c82333; /* Vermelho mais escuro */
}


.btn {
    display: inline-block;
    padding: 10px 15px;
    margin: 2px;
    font-size: 14px;
    border-radius: 4px;
    text-decoration: none;
    color: #1F2326 !important;
    background: linear-gradient(#2BC4C3, #2BC4C3);
}
   


.product-title a {
    text-decoration: none;
    color: #525B65;
}






.products-page {
    background: #1F2326 !important;
    border-radius: 5px;
}


