/* Estilos para el Directorio AGC */
.flc-dir-wrap {
    max-width: 1200px;
    margin: 2rem auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.flc-dir-filters {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
}

.flc-search-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.flc-search-header h2 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.flc-search-header p {
    color: #64748b;
    font-size: 0.95rem;
    margin: 0;
}

.flc-search-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.flc-search-group {
    display: flex;
    flex-direction: column;
    grid-column: span 4;
}

.flc-search-main {
    grid-column: span 6;
}

.flc-search-actions {
    grid-column: span 12;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.flc-search-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 0.5rem;
}

.flc-search-group label svg {
    color: #00659C;
}

.flc-search-group input {
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    background-position: left 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    transition: all 0.2s ease;
}

.flc-search-group input:focus {
    outline: none;
    border-color: #00659C;
    box-shadow: 0 0 0 3px rgba(0, 101, 156, 0.15);
}

#flc-dpi-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364748b' viewBox='0 0 16 16'%3E%3Cpath d='M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2zm4.5 0a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm5 2.755C12.146 12.825 10.623 12 8 12s-4.146.826-5 1.755V14a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-.245z'/%3E%3C/svg%3E");
}

.flc-search-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #00659C;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flc-search-btn:hover {
    background: #004d7a;
    transform: translateY(-1px);
}

.flc-clear-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #004d7a;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.flc-clear-btn:hover {
    background: #e2e8f0;
    color: #475569;
}

.flc-results-summary {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: #e8f4fc;
    border-radius: 8px;
    color: #00659C;
    font-size: 0.95rem;
}

.flc-dir-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.flc-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.flc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.flc-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f3f4f6;
}

.flc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flc-card-content {
    padding: 1.25rem;
    flex: 1;
}

.flc-card-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: #2c3e50;
    font-weight: 600;
}

.flc-card-meta {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.flc-tags-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.75rem 0;
}

.flc-tag {
    background: #eef2ff;
    color: #3730a3;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.flc-card-detail {
    color: #374151;
    font-size: 0.92rem;
    margin: 0.5rem 0;
}

.flc-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}

.flc-profile-button {
    display: inline-block;
    text-decoration: none;
    background: #00659C;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s;
}

.flc-profile-button:hover {
    background: #004d7a;
}

.flc-status-icon {
    font-size: 1.2rem;
}

.flc-no-results {
    grid-column: 1/-1;
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 12px;
}

.flc-dir-pager {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.flc-page-link {
    padding: 0.6rem 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.2s;
}

.flc-page-link:hover {
    background: #f3f4f6;
    color: #00659C;
}

.flc-page-link.current {
    background: #00659C;
    color: white;
    border-color: #00659C;
}

/* Responsive */
@media (max-width: 1024px) {
    .flc-search-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    
    .flc-search-group {
        grid-column: span 3;
    }
    
    .flc-search-main {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .flc-search-group {
        grid-column: span 6;
    }
    
    .flc-search-main {
        grid-column: span 6;
    }
    
    .flc-search-actions {
        flex-direction: column;
    }
    
    .flc-search-btn,
    .flc-clear-btn {
        justify-content: center;
    }
    
    .flc-dir-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .flc-dir-filters {
        padding: 1rem;
    }
    
    .flc-search-group {
        grid-column: span 6;
    }
    
    .flc-search-header h2 {
        font-size: 1.25rem;
    }
    
    .flc-card-actions {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}
/* Estilos para el grid de tarjetas */
.flc-dir-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.flc-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.flc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.flc-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    position: relative;
}

.flc-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.flc-card:hover .flc-card-image img {
    transform: scale(1.05);
}

.flc-verified-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #10b981;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.flc-verified-badge svg {
    width: 14px;
    height: 14px;
}

.flc-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.flc-card-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: #1f2937;
    font-weight: 600;
    line-height: 1.3;
}

.flc-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.flc-gender {
    color: #6b7280;
    font-size: 0.9rem;
}

.flc-member-since {
    color: #9ca3af;
    font-size: 0.8rem;
    font-style: italic;
}

.flc-tags-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.75rem 0;
}

.flc-tag {
    background: #eef2ff;
    color: #3730a3;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
}

.flc-card-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #374151;
    font-size: 0.92rem;
    margin: 0.5rem 0;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 8px;
}

.flc-card-detail svg {
    color: #6b7280;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.flc-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.flc-profile-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    background: #00659C;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.flc-profile-button:hover {
    background: #004d7a;
    transform: translateY(-1px);
}

.flc-profile-button svg {
    width: 14px;
    height: 14px;
}

.flc-status-indicator {
    display: flex;
    align-items: center;
}

.flc-status-verified,
.flc-status-pending {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
}

.flc-status-verified {
    color: #065f46;
    background: #d1fae5;
}

.flc-status-pending {
    color: #92400e;
    background: #fef3c7;
}

.flc-status-verified svg,
.flc-status-pending svg {
    width: 12px;
    height: 12px;
}

.flc-no-results {
    grid-column: 1/-1;
    text-align: center;
    padding: 3rem 1rem;
    color: #6b7280;
    background: #f9fafb;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flc-no-results svg {
    color: #9ca3af;
    margin-bottom: 1rem;
}

.flc-no-results h3 {
    color: #374151;
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.flc-no-results p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

/* Responsive para tarjetas */
@media (max-width: 768px) {
    .flc-dir-grid {
        grid-template-columns: 1fr;
    }
    
    .flc-card-content {
        padding: 1.25rem;
    }
    
    .flc-card-actions {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .flc-status-indicator {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .flc-card-image {
        height: 180px;
    }
    
    .flc-card-title {
        font-size: 1.1rem;
    }
    
    .flc-profile-button {
        width: 100%;
        justify-content: center;
    }
}
.elementor-kit-7555 a {
  color: #374151 !important;
}
/* Estilos mejorados para imágenes de miembros */
.flc-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    position: relative;
}

.flc-member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%; /* Enfoca en el área del rostro (25% desde arriba) */
    transition: transform 0.3s ease;
}

.flc-card:hover .flc-member-photo {
    transform: scale(1.05);
}

/* Badge de verificación mejorado */
.flc-verified-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    z-index: 2;
    border: 2px solid white;
}

.flc-verified-badge svg {
    width: 16px;
    height: 16px;
}

/* Mejoras responsive para imágenes */
@media (max-width: 768px) {
    .flc-card-image {
        height: 180px;
    }
    
    .flc-member-photo {
        object-position: center 20%; /* Ajuste para móviles */
    }
}

/* Efecto de carga suave para imágenes */
.flc-member-photo {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flc-member-photo.loaded {
    opacity: 1;
}
