/* Reset e Estilos Base */
.passeios-ws-wrap, .wrap {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background-color: #f3f4f6;
    padding: 20px;
    margin: 0;
    color: #1f2a44;
}

.passeios-ws-wrap h1, .wrap h1 {
    font-size: 24px;
    font-weight: 600;
    color: #1f2a44;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

/* Estilo da Tabela (Cadastro Passeios) */
.wp-list-table {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.wp-list-table th, .wp-list-table td {
    padding: 12px 15px;
    font-size: 14px;
    color: #1f2a44;
}

.wp-list-table th {
    background: #f8fafc;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
}

.wp-list-table tr:hover {
    background: #f1f5f9;
    transition: background 0.2s ease;
}

.wp-list-table .check-column {
    width: 40px;
    text-align: center;
}

.wp-list-table img {
    border-radius: 4px;
    max-width: 50px;
    height: auto;
}

/* Barra de Busca */
.search-box {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.search-box input[type="search"] {
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 250px;
}

.search-box input[type="search"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-box .button {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.1s ease;
}

.search-box .button:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Ações em Massa */
.tablenav .actions select {
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #ffffff;
}

.tablenav .button.action {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.1s ease;
}

.tablenav .button.action:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

/* Paginação */
.tablenav .tablenav-pages a, .tablenav .tablenav-pages span {
    padding: 8px 12px;
    margin: 0 4px;
    border-radius: 6px;
    font-size: 14px;
    color: #3b82f6;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    transition: background 0.2s ease, color 0.2s ease;
}

.tablenav .tablenav-pages a:hover {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.tablenav .tablenav-pages .current-page {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

/* Formulário (Adicionar Novo Passeio) */
.form-table {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
    border: 1px solid #e5e7eb;
}

.form-table th {
    font-weight: 600;
    font-size: 14px;
    color: #1f2a44;
    padding: 12px 20px;
    width: 200px;
}

.form-table td {
    padding: 12px 20px;
}

.form-table input[type="text"],
.form-table input[type="url"],
.form-table input[type="number"],
.form-table select {
    width: 100%;
    max-width: 400px;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-table input[type="text"]:focus,
.form-table input[type="url"]:focus,
.form-table input[type="number"]:focus,
.form-table select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Botões do Formulário */
.button, .button-primary {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.button:hover, .button-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.button-primary {
    background: #10b981;
}

.button-primary:hover {
    background: #059669;
}

/* Galeria de Imagens */
#passeios-gallery .gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 15px;
}

#passeios-gallery .gallery-images li {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

#passeios-gallery .gallery-images img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    display: block;
}

#passeios-gallery .gallery-images .remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s ease;
}

#passeios-gallery .gallery-images .remove-image:hover {
    background: #dc2626;
}

/* Imagem Destaque */
#imagem-destaque-preview img {
    max-width: 150px;
    border-radius: 6px;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Notificações */
.updated, .error {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.updated {
    background: #d1fae5;
    border: 1px solid #10b981;
    color: #065f46;
}

.error {
    background: #fee2e2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

/* Responsividade */
@media (max-width: 768px) {
    .form-table th, .form-table td {
        display: block;
        width: 100%;
        padding: 10px;
    }

    .search-box {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box input[type="search"] {
        width: 100%;
    }
}