/* Container Principal */
.classifieds-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 15px;
    font-family: 'Arial', sans-serif;
}

/* Formulários Públicos */
.classifieds-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.classifieds-form-container h3 {
    text-align: center;
    color: #2A5298;
    margin-bottom: 30px;
    font-size: 28px;
    border-bottom: 3px solid #2A5298;
    padding-bottom: 15px;
}

.classifieds-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    font-weight: 600;
    color: #2A5298;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafbfc;
    color: #2A5298;
}

/* Correção específica para combobox de estado */
.form-group select[name="state"],
.form-group select[name="classified_state"],
.form-group select[id="state"] {
    color: #2A5298;
    background: #fff;
}

.form-group select[name="state"] option,
.form-group select[name="classified_state"] option,
.form-group select[id="state"] option {
    color: #2A5298;
    background: #fff;
    padding: 8px;
}

.form-group select[name="state"]:focus,
.form-group select[name="classified_state"]:focus,
.form-group select[id="state"]:focus {
    color: #2A5298;
    background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2A5298;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    color: #666;
    font-size: 12px;
    margin-top: 5px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.submit-btn {
    background: linear-gradient(135deg, #2A5298, #1e3a6b);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1e3a6b, #152a4f);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 82, 152, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Upload de arquivo */
.form-group input[type="file"] {
    padding: 10px;
    border: 2px dashed #2A5298;
    background: #f8f9ff;
    cursor: pointer;
}

.form-group input[type="file"]:hover {
    background: #e8f2ff;
    border-color: #1e3a6b;
}

/* Validação de campos */
.form-group input:invalid,
.form-group select:invalid,
.form-group textarea:invalid {
    border-color: #dc3545;
}

.form-group input:valid,
.form-group select:valid,
.form-group textarea:valid {
    border-color: #28a745;
}

/* Formulário de Pesquisa */
.classifieds-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.classifieds-search-form select,
.classifieds-search-form input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.classifieds-search-form select:focus,
.classifieds-search-form input[type="text"]:focus {
    border-color: #2A5298;
    outline: none;
}

.classifieds-search-form button {
    padding: 10px 25px;
    background: #2A5298;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.classifieds-search-form button:hover {
    background: #1e3a6b;
}

.classifieds-search-results {
    width: 100%;
    margin-top: 20px;
}

/* Estilo dos Títulos das Seções */
.classifieds-container h3 {
    font-size: 24px;
    color: #2A5298;
    margin-bottom: 20px;
    border-bottom: 2px solid #2A5298;
    padding-bottom: 10px;
}

/* Lista de Anúncios */
.classifieds-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

/* Item de Anúncio */
.classified-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.classified-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Estilo para Anúncios em Destaque */
.classified-item.boosted {
    border: 2px solid #ffca2c;
    background: #fffbe6;
}

.boost-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffca2c;
    color: #333;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.classified-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.classified-item h4 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.classified-item h4 a {
    color: #2A5298;
    text-decoration: none;
    transition: color 0.3s;
}

.classified-item h4 a:hover {
    color: #1e3a6b;
}

.classified-item p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.classified-item p strong {
    color: #2A5298;
    font-weight: 600;
}

.classified-item p a {
    color: #2A5298;
    text-decoration: none;
}

.classified-item p a:hover {
    text-decoration: underline;
}

/* Ícones para campos específicos */
.classified-item p strong::before {
    margin-right: 5px;
}

.classified-item p strong:contains("Descrição:")::before {
    content: "📝";
}

.classified-item p strong:contains("Subcategoria:")::before {
    content: "🏷️";
}

.classified-item p strong:contains("Empresa:")::before {
    content: "🏢";
}

.classified-item p strong:contains("Localização:")::before {
    content: "📍";
}

.classified-item p strong:contains("Email:")::before {
    content: "✉️";
}

.classified-item p strong:contains("Telefone:")::before {
    content: "📞";
}

.classified-item p strong:contains("Data de Publicação:")::before {
    content: "📅";
}

.classified-item .action-button {
    display: inline-block;
    padding: 8px 16px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 10px;
    transition: background 0.3s;
}

.classified-item .action-button:hover {
    background: #0056b3;
    color: #fff;
}

.classifieds-pagination {
    text-align: center;
    margin-top: 30px;
}

.classifieds-pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.classifieds-pagination a:hover {
    background: #0056b3;
}

.classifieds-pagination .current {
    background: #6c757d;
    color: #fff;
}

.classifieds-user-dashboard {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.classifieds-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.classifieds-table th,
.classifieds-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.classifieds-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.classifieds-table td {
    color: #666;
}

.fancyTabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.fancyTab {
    flex: 1;
}

.fancyTab a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #666;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    font-weight: 500;
}

.fancyTab a.active {
    color: #007bff;
    background: #fff;
    border-bottom-color: #007bff;
}

.fancyTab a:hover {
    background: #e9ecef;
    color: #333;
}

.tab-content {
    background: #fff;
    padding: 30px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Responsividade */
@media (max-width: 768px) {
    .classifieds-search-form {
        flex-direction: column;
    }

    .classifieds-search-form select,
    .classifieds-search-form input[type="text"] {
        min-width: auto;
    }

    .classifieds-list {
        grid-template-columns: 1fr;
    }

    .classified-item {
        margin-bottom: 20px;
    }

    .classified-item h4 {
        font-size: 16px;
    }

    .classified-item p {
        font-size: 13px;
    }

    .fancyTabs {
        flex-direction: column;
    }

    .fancyTab {
        border-bottom: 1px solid #e9ecef;
    }

    .fancyTab a {
        padding: 12px 15px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .classifieds-form-container {
        padding: 20px;
        margin: 15px;
    }
}

@media (max-width: 576px) {
    .classifieds-container {
        padding: 15px;
    }

    .classifieds-search-form {
        padding: 15px;
    }

    .classifieds-container h3 {
        font-size: 20px;
    }

    .classified-item .action-button {
        width: 100%;
        text-align: center;
    }

    .classifieds-table th,
    .classifieds-table td {
        padding: 8px 10px;
        font-size: 14px;
    }
}

/* Loading spinner */
.loading-spinner {
    text-align: center;
    padding: 20px;
    color: #666;
}

.loading-spinner::before {
    content: "⏳";
    display: block;
    font-size: 24px;
    margin-bottom: 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mensagens de erro e sucesso */
.classifieds-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.classifieds-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.classifieds-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.classifieds-message.warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Página Inicial Simplificada */
.classifieds-simple-homepage {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
    background: #fff;
}

/* Header */
.classifieds-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.2);
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.classifieds-header h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Texto introdutório */
.classifieds-intro {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Grid de categorias */
.classifieds-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Cards de categoria */
.category-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107, #dc3545);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.category-card:hover::before {
    opacity: 1;
}

/* Header do card */
.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.category-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-icon {
    font-size: 32px;
    background: #f8f9fa;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: #007bff;
    color: #fff;
    transform: scale(1.1);
}

/* Opções de oferta/procura */
.category-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.option-link {
    display: block;
    padding: 12px 15px;
    background: #f8f9fa;
    color: #007bff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option-link:hover {
    background: #007bff;
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Anúncios em destaque */
.featured-ads {
    background: #fff8e1;
    border: 1px solid #ffecb3;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.featured-ads h4 {
    font-size: 14px;
    color: #f57c00;
    margin: 0 0 10px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-ad-item {
    margin-bottom: 8px;
}

.featured-ad-item:last-child {
    margin-bottom: 0;
}

.featured-ad-item a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.featured-ad-item a:hover {
    color: #007bff;
    text-decoration: underline;
}

/* Call to Action */
.classifieds-cta {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(40, 167, 69, 0.2);
}

.classifieds-cta p {
    color: #fff;
    font-size: 18px;
    margin: 0;
    font-weight: 500;
}

.classifieds-cta a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
    transition: all 0.3s ease;
}

.classifieds-cta a:hover {
    color: #ffeb3b;
    text-decoration: none;
}

/* Busca rápida */
.quick-search {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.quick-search h3 {
    color: #333;
    font-size: 24px;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.quick-search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-inputs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.search-input,
.search-select {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.search-input:focus,
.search-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

/* Responsividade */
@media (max-width: 1024px) {
    .classifieds-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .classifieds-simple-homepage {
        padding: 20px 15px;
    }
    
    .classifieds-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .classifieds-header h1 {
        font-size: 28px;
    }
    
    .classifieds-categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .search-inputs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input,
    .search-select,
    .search-button {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .classifieds-header h1 {
        font-size: 24px;
    }
    
    .classifieds-intro {
        font-size: 16px;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .category-header h3 {
        font-size: 18px;
    }
    
    .quick-search {
        padding: 20px;
    }
    
    .quick-search h3 {
        font-size: 20px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card {
    animation: fadeInUp 0.6s ease forwards;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }

/* Estados de loading */
.classifieds-simple-homepage.loading {
    opacity: 0.7;
    pointer-events: none;
}

.classifieds-simple-homepage.loading::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Melhorias de acessibilidade */
.category-card:focus-within {
    outline: 3px solid #007bff;
    outline-offset: 2px;
}

.option-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Modo escuro (opcional) - DESABILITADO */
/* @media (prefers-color-scheme: dark) {
    .classifieds-simple-homepage {
        background: #1a1a1a;
        color: #fff;
    }
    
    .category-card {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .category-header h3 {
        color: #fff;
    }
    
    .option-link {
        background: #404040;
        color: #4fc3f7;
    }
    
    .option-link:hover {
        background: #4fc3f7;
        color: #1a1a1a;
    }
    
    .search-input,
    .search-select {
        background: #2d2d2d;
        border-color: #404040;
        color: #fff;
    }
} */

/* Páginas de Categoria */
.classifieds-category-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-family: 'Arial', sans-serif;
}

/* Header da página de categoria */
.category-page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.category-page-header h1 {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.category-page-header p {
    color: #666;
    font-size: 18px;
    margin: 0;
    line-height: 1.6;
}

/* Filtros */
.category-filters {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.filter-form {
    margin: 0;
}

.filter-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-input,
.filter-select {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafbfc;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: #007bff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.filter-button {
    padding: 12px 25px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.filter-button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

/* Lista de anúncios melhorada */
.classifieds-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.classified-item {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 25px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.classified-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107, #dc3545);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.classified-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.classified-item:hover::before {
    opacity: 1;
}

.classified-item.boosted {
    border-color: #ffca2c;
    background: linear-gradient(135deg, #fffbe6, #fff8e1);
}

.classified-item.boosted::before {
    background: linear-gradient(90deg, #ffca2c, #ff9800);
    opacity: 1;
}

.boost-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ffca2c, #ff9800);
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 202, 44, 0.3);
}

.classified-item h4 {
    margin: 0 0 15px 0;
    font-size: 20px;
    line-height: 1.4;
}

.classified-item h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.classified-item h4 a:hover {
    color: #007bff;
}

.classified-content {
    margin-bottom: 20px;
}

.classified-content p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.classified-content p strong {
    color: #333;
    font-weight: 600;
}

.classified-content a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.classified-content a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.action-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.action-button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

/* Paginação melhorada */
.classifieds-pagination {
    text-align: center;
    margin-top: 40px;
}

.classifieds-pagination .page-numbers {
    display: inline-block;
    padding: 12px 16px;
    margin: 0 5px;
    background: #fff;
    color: #007bff;
    text-decoration: none;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.classifieds-pagination .page-numbers:hover,
.classifieds-pagination .page-numbers.current {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.classifieds-pagination .prev,
.classifieds-pagination .next {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border-color: #007bff;
}

.classifieds-pagination .prev:hover,
.classifieds-pagination .next:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
}

/* Estado sem resultados melhorado */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 15px;
    margin: 40px 0;
}

.no-results h3 {
    color: #333;
    font-size: 28px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.no-results p {
    color: #666;
    font-size: 18px;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

.no-results-actions {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.no-results-actions p {
    text-align: center;
    margin-bottom: 20px;
}

.no-results-actions ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.no-results-actions li {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
    font-size: 16px;
    line-height: 1.5;
}

.no-results-actions li:last-child {
    border-bottom: none;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    text-decoration: none;
}

.cta-button.primary {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, #495057, #343a40);
}

/* Responsividade para páginas de categoria */
@media (max-width: 768px) {
    .classifieds-category-page {
        padding: 20px 15px;
    }
    
    .category-page-header {
        padding: 20px;
    }
    
    .category-page-header h1 {
        font-size: 28px;
    }
    
    .category-page-header p {
        font-size: 16px;
    }
    
    .filter-inputs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-input,
    .filter-select,
    .filter-button {
        min-width: auto;
        width: 100%;
    }
    
    .classifieds-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .classified-item {
        padding: 20px;
    }
    
    .classified-item h4 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .category-page-header h1 {
        font-size: 24px;
    }
    
    .category-page-header p {
        font-size: 14px;
    }
    
    .classified-item {
        padding: 15px;
    }
    
    .classified-item h4 {
        font-size: 16px;
    }
    
    .classified-content p {
        font-size: 13px;
    }
    
    .action-button {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Animações para páginas de categoria */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.classified-item {
    animation: slideInUp 0.6s ease forwards;
}

.classified-item:nth-child(1) { animation-delay: 0.1s; }
.classified-item:nth-child(2) { animation-delay: 0.2s; }
.classified-item:nth-child(3) { animation-delay: 0.3s; }
.classified-item:nth-child(4) { animation-delay: 0.4s; }
.classified-item:nth-child(5) { animation-delay: 0.5s; }
.classified-item:nth-child(6) { animation-delay: 0.6s; }

/* Melhorias de acessibilidade */
.classified-item:focus-within {
    outline: 3px solid #007bff;
    outline-offset: 2px;
}

.action-button:focus {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* Modo escuro para páginas de categoria */
@media (prefers-color-scheme: dark) {
    .classifieds-category-page {
        background: #1a1a1a;
        color: #fff;
    }
    
    .category-page-header {
        background: linear-gradient(135deg, #2d2d2d, #404040);
    }
    
    .category-page-header h1 {
        color: #fff;
    }
    
    .category-page-header p {
        color: #ccc;
    }
    
    .category-filters {
        background: #2d2d2d;
    }
    
    .filter-input,
    .filter-select {
        background: #404040;
        border-color: #555;
        color: #fff;
    }
    
    .classified-item {
        background: #2d2d2d;
        border-color: #404040;
    }
    
    .classified-item h4 a {
        color: #fff;
    }
    
    .classified-content p {
        color: #ccc;
    }
    
    .classified-content p strong {
        color: #fff;
    }
    
    .classified-item.boosted {
        background: linear-gradient(135deg, #2d2d2d, #404040);
    }
    
    .no-results {
        background: #2d2d2d;
    }
    
    .no-results h3 {
        color: #fff;
    }
    
    .no-results p {
        color: #ccc;
    }
}

/* Página de Adição de Anúncio */
.classifieds-add-form-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
    background: #fff;
}

.add-form-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.add-form-header h1 {
    color: #333;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.add-form-header p {
    color: #666;
    font-size: 18px;
    margin: 0;
    line-height: 1.6;
}

/* Seletor de tipo de formulário */
.form-type-selector {
    margin-bottom: 50px;
}

.form-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.form-type-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.form-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107, #dc3545);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #007bff;
}

.form-type-card:hover::before {
    opacity: 1;
}

.form-type-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.form-type-card h3 {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-type-card p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.form-type-button {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #007bff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: none;
    cursor: pointer;
}

.form-type-button:hover {
    background: #007bff;
    color: #fff;
    text-decoration: none;
}

.form-type-actions {
    margin-top: 20px;
}

.action-button {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.action-button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.3);
}

.action-button.primary {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.action-button.primary:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
}

/* Informações sobre o processo */
.add-form-info {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
}

.add-form-info h3 {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.info-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.step-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Responsividade */
@media (max-width: 1024px) {
    .form-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .classifieds-add-form-page {
        padding: 20px 15px;
    }
    
    .add-form-header {
        padding: 30px 20px;
    }
    
    .add-form-header h1 {
        font-size: 28px;
    }
    
    .add-form-header p {
        font-size: 16px;
    }
    
    .form-type-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-type-card {
        padding: 25px;
    }
    
    .form-type-card h3 {
        font-size: 20px;
    }
    
    .info-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .info-step {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .add-form-info {
        padding: 30px 20px;
    }
    
    .add-form-info h3 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .add-form-header h1 {
        font-size: 24px;
    }
    
    .add-form-header p {
        font-size: 14px;
    }
    
    .form-type-card {
        padding: 20px;
    }
    
    .form-type-icon {
        font-size: 36px;
    }
    
    .form-type-card h3 {
        font-size: 18px;
    }
    
    .action-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-type-card {
    animation: fadeInUp 0.6s ease forwards;
}

.form-type-card:nth-child(1) { animation-delay: 0.1s; }
.form-type-card:nth-child(2) { animation-delay: 0.2s; }
.form-type-card:nth-child(3) { animation-delay: 0.3s; }
.form-type-card:nth-child(4) { animation-delay: 0.4s; }

/* Container Dinâmico */
.dynamic-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
    background: #fff;
}

.dynamic-content-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6c757d, #495057);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.back-button:hover {
    background: linear-gradient(135deg, #495057, #343a40);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
    color: #fff;
    text-decoration: none;
}

.dynamic-content-header h2 {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Botões estilizados */
.cta-link {
    background: none;
    border: none;
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    font-size: inherit;
}

.cta-link:hover {
    color: #ffeb3b;
    text-decoration: none;
}

.option-link {
    display: block;
    padding: 12px 15px;
    background: #f8f9fa;
    color: #007bff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-size: 14px;
}

.option-link:hover {
    background: #007bff;
    color: #fff;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.form-type-button {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    color: #007bff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: none;
    cursor: pointer;
}

.form-type-button:hover {
    background: #007bff;
    color: #fff;
    text-decoration: none;
}

/* Mensagens de erro e loading */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    text-align: center;
    font-weight: 500;
    margin: 20px 0;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
    font-weight: 500;
}

.loading-spinner::before {
    content: "⏳";
    display: block;
    font-size: 48px;
    margin-bottom: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsividade para container dinâmico */
@media (max-width: 768px) {
    .dynamic-content-container {
        padding: 20px 15px;
    }
    
    .dynamic-content-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .dynamic-content-header h2 {
        font-size: 24px;
    }
    
    .back-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .dynamic-content-header h2 {
        font-size: 20px;
    }
    
    .loading-spinner {
        padding: 30px 20px;
        font-size: 16px;
    }
    
    .loading-spinner::before {
        font-size: 36px;
    }
}

/* Layout Simplificado para Exibição de Anúncios */
.classifieds-simple-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.content-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
}

.content-header h2 {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.classifieds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.classified-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.classified-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.classified-card h3 {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.classified-card p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.classified-card p strong {
    color: #333;
    font-weight: 600;
}

.view-button {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.view-button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    text-decoration: none;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin: 20px 0;
}

.no-results h3 {
    color: #333;
    font-size: 24px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.no-results p {
    color: #666;
    font-size: 16px;
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
    text-decoration: none;
}

/* Responsivo */
@media (max-width: 768px) {
    .classifieds-simple-content {
        padding: 15px;
    }
    
    .content-header h2 {
        font-size: 24px;
    }
    
    .classifieds-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .classified-card {
        padding: 15px;
    }
}

#dynamic-content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Navegação Rápida */
.classifieds-quick-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #e1e5e9;
}

.nav-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    transition: all 0.3s ease;
}

.nav-section:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-section h4 {
    color: #333;
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.nav-link {
    display: block;
    padding: 10px 15px;
    margin: 8px 0;
    background: #fff;
    color: #007bff;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: #007bff;
    color: #fff;
    text-decoration: none;
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

/* Botões de Categoria */
.category-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.category-buttons .btn {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-buttons .btn-primary {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.category-buttons .btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.category-buttons .btn-secondary {
    background: #6c757d;
    color: #fff;
    border-color: #6c757d;
}

.category-buttons .btn-secondary:hover {
    background: #545b62;
    border-color: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

/* Responsividade para navegação rápida */
@media (max-width: 768px) {
    .classifieds-quick-nav {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .nav-section {
        padding: 15px;
    }
    
    .category-buttons {
        flex-direction: column;
    }
    
    .category-buttons .btn {
        min-width: auto;
        width: 100%;
    }
}

/* Navegação Rápida Standalone */
.classifieds-quick-nav-standalone {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.classifieds-quick-nav-standalone h3 {
    text-align: center;
    color: #333;
    margin-bottom: 25px;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 3px solid #007bff;
    padding-bottom: 15px;
}

.classifieds-quick-nav-standalone .classifieds-quick-nav {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* Estilos para página de criação de anúncios */
.classifieds-create-ad-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.create-ad-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 15px;
    color: white;
}

.create-ad-header h1 {
    margin: 15px 0 10px 0;
    font-size: 2.5em;
    font-weight: bold;
}

.header-description {
    font-size: 1.1em;
    opacity: 0.9;
    margin: 0;
}

.back-navigation {
    margin-bottom: 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f8f9fa;
    color: #2A5298;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-link:hover {
    background: #2A5298;
    color: white;
    border-color: #2A5298;
    text-decoration: none;
}

.create-ad-form-container {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.create-ad-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.info-box {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #2A5298;
}

.info-box h3 {
    color: #2A5298;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: 600;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
}

.info-box li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.5;
}

/* Responsividade para página de criação */
@media (max-width: 768px) {
    .classifieds-create-ad-page {
        padding: 15px;
    }
    
    .create-ad-header {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .create-ad-header h1 {
        font-size: 2em;
    }
    
    .create-ad-form-container {
        padding: 20px;
    }
    
    .create-ad-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-box {
        padding: 20px;
    }
}

/* Estilos personalizados para páginas de categoria */
.classifieds-category-page {
    background-color: #fff !important;
}

.category-page-header {
    background: linear-gradient(15deg, #2a5298, #1F437D);
}

.category-filters {
    background-color: #1F437D !important;
    margin-top: -30px !important;
}

.filter-inputs input {
    font-size: 1rem !important;
    color: #000 !important;
    font-weight: bold;
    padding: 10px;
    border-radius: 10px;
}

.filter-inputs select {
    font-size: 1rem !important;
    color: #000 !important;
    font-weight: bold;
}

.classified-item {
    background: linear-gradient(15deg, #2a5298, #1F437D) !important;
    color: #fff !important;
}

.classified-content p {
    color: #fff !important;
    font-size: 1rem;
}

/* Estilos para os botões "Novo Anúncio PF" e "Novo Anúncio PJ" */
.new-ad-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.new-ad-button {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.new-ad-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.new-ad-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.new-ad-button:hover::before {
    left: 100%;
}

.new-ad-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

/* Estilos específicos para PF e PJ */
.new-ad-button.pf {
    background: linear-gradient(135deg, #007bff, #0056b3);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.new-ad-button.pf:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.new-ad-button.pj {
    background: linear-gradient(135deg, #6f42c1, #5a32a3);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.new-ad-button.pj:hover {
    background: linear-gradient(135deg, #5a32a3, #4a2b8a);
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

/* Responsividade para os botões "Novo Anúncio PF" e "Novo Anúncio PJ" */
@media (max-width: 768px) {
    .new-ad-buttons {
        gap: 6px;
        margin-top: 8px;
    }
    
    .new-ad-button {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .new-ad-buttons {
        gap: 5px;
        margin-top: 6px;
    }
    
    .new-ad-button {
        padding: 6px 12px;
        font-size: 11px;
    }
}

/* Estilos para os resultados dos anúncios */
.classifieds-results-grid {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.classified-result-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.classified-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.result-header h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.result-header h4 a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.result-header h4 a:hover {
    color: #0056b3;
}

.result-date {
    font-size: 12px;
    color: #666;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
}

.result-excerpt {
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.result-advertiser {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
}

.result-actions {
    text-align: right;
}

.btn-ver-mais {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease;
}

.btn-ver-mais:hover {
    background: #0056b3;
    color: white;
}

.classifieds-no-results {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.classifieds-no-results p {
    margin: 10px 0;
    color: #666;
    font-size: 16px;
}

.classifieds-pagination {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.classifieds-pagination p {
    margin: 0;
    color: #666;
    font-weight: 600;
}

/* Responsividade para resultados */
@media (max-width: 768px) {
    .result-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .result-header h4 {
        font-size: 16px;
    }
    
    .classified-result-item {
        padding: 15px;
    }
    
    .result-actions {
        text-align: center;
    }
}