.fabsul-directory-container {
    font-family: Arial, sans-serif;
    margin: 20px 0;
}

.fabsul-filter-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.fabsul-filter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.fabsul-filter-grid .field {
    flex: 1 1 200px;
}

.fabsul-filter-grid input, 
.fabsul-filter-grid select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.fabsul-btn-search {
    background: #0056b3;
    color: #fff;
    border: none;
    padding: 11px 20px;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background 0.2s;
}

.fabsul-btn-search:hover {
    background: #003d80;
}

/* Cards Grid */
.fabsul-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.fabsul-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.fabsul-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.fabsul-card-header {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border-bottom: 1px solid #eee;
    padding: 10px;
}

.fabsul-logo {
    max-height: 90px;
    max-width: 80%;
    object-fit: contain;
}

.fabsul-logo-placeholder {
    width: 60px;
    height: 60px;
    background: #0056b3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
}

.fabsul-card-body {
    padding: 15px;
    flex-grow: 1;
}

.fabsul-card-body h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #1a202c;
}

.fabsul-location {
    font-size: 14px;
    color: #4a5568;
    margin-bottom: 5px;
}

.fabsul-address {
    font-size: 12px;
    color: #718096;
}

.fabsul-card-footer {
    padding: 15px;
    display: flex;
    gap: 10px;
    border-top: 1px solid #edf2f7;
}

.fabsul-btn-site, .fabsul-btn-whatsapp {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    border-radius: 5px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.fabsul-btn-site {
    background: #2b6cb0;
    color: #fff !important;
    text-decoration: none !important;
}

.fabsul-btn-whatsapp {
    background: #0f893c;
    color: #fff !important;
    text-decoration: none !important;
}

.fabsul-btn-site:hover { background: #2c5282; }
.fabsul-btn-whatsapp:hover { background: #1eb857; }

/* Paginação Frontend */
.fabsul-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.fabsul-page-link {
    display: inline-block;
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.fabsul-page-link:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}

.fabsul-page-link.active {
    background: #0056b3;
    border-color: #0056b3;
    color: #ffffff;
}
