/* public/assets/css/propertyco-style.css */

:root {
    --propertyco-primary: #2B8CC4;
    --propertyco-primary-dark: #1e6b96;
    --propertyco-primary-light: #3fa4e0;
    --propertyco-secondary: #000000;
    --propertyco-white: #ffffff;
    --propertyco-gray-50: #f9fafb;
    --propertyco-gray-100: #f3f4f6;
    --propertyco-gray-200: #e5e7eb;
    --propertyco-gray-300: #d1d5db;
    --propertyco-gray-400: #9ca3af;
    --propertyco-gray-500: #6b7280;
    --propertyco-gray-600: #4b5563;
    --propertyco-gray-700: #374151;
    --propertyco-gray-800: #1f2937;
    --propertyco-gray-900: #111827;
    
    --propertyco-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --propertyco-container-max: 1200px;
    --propertyco-container-padding: 2rem;
    --propertyco-border-radius: 12px;
    --propertyco-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --propertyco-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --propertyco-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.propertyco-body {
    font-family: var(--propertyco-font-family);
    line-height: 1.6;
    color: var(--propertyco-gray-800);
    background-color: var(--propertyco-white);
    overflow-x: hidden;
}

.propertyco-container {
    max-width: var(--propertyco-container-max);
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.propertyco-header {
    background: var(--propertyco-white);
    box-shadow: var(--propertyco-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.propertyco-navbar {
    padding: 1rem 0;
}

.propertyco-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.propertyco-logo-img {
    height: 60px;
    width: auto;
}

.propertyco-language-selector {
    position: relative;
}

.propertyco-language-dropdown {
    background: var(--propertyco-white);
    border: 2px solid var(--propertyco-gray-200);
    border-radius: var(--propertyco-border-radius);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--propertyco-gray-700);
    cursor: pointer;
    transition: var(--propertyco-transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.propertyco-language-dropdown:hover {
    border-color: var(--propertyco-primary);
}

.propertyco-language-dropdown:focus {
    outline: none;
    border-color: var(--propertyco-primary);
    box-shadow: 0 0 0 3px rgba(43, 140, 196, 0.1);
}

.propertyco-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.propertyco-mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--propertyco-secondary);
    border-radius: 2px;
    transition: var(--propertyco-transition);
}

/* ===== LIVEWIRE COMPONENT STYLES ===== */

/* Contenedor principal del componente */
.propertyco-search-container {
    width: 100%;
}

/* Hero Section con búsqueda integrada */
.propertyco-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 3rem 0 1rem 0;
    color: var(--propertyco-white);
}

.propertyco-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 1;
}

.propertyco-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--propertyco-primary) 0%, var(--propertyco-primary-dark) 100%);
    z-index: 0;
}

.propertyco-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.propertyco-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.propertyco-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.propertyco-hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.propertyco-hero-search-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.propertyco-search-form {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Filtros compactos */
.propertyco-compact-filters .form-select,
.propertyco-compact-filters .form-control {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    font-size: 0.9rem;
    padding: 0.5rem 0.6rem;
    transition: all 0.2s ease;
}

.propertyco-compact-filters .form-select:focus,
.propertyco-compact-filters .form-control:focus {
    border-color: #2c5aa0;
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.15);
}

.propertyco-compact-filters .input-group-text {
    border-radius: 8px 0 0 8px;
    border: 1px solid #dee2e6;
    border-right: none;
}

.propertyco-compact-filters .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.propertyco-compact-filters .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
}

/* Badges de características */
.propertyco-filter-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-top: 0.3rem;
}

.propertyco-filter-badges .form-check {
    margin-bottom: 0;
}

.propertyco-filter-badges .form-check-input {
    display: none;
}

.propertyco-filter-badges .badge-label {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(44, 90, 160, 0.1);
    color: #2c5aa0;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid rgba(44, 90, 160, 0.2);
}

.propertyco-filter-badges .form-check-input:checked + .badge-label {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.propertyco-filter-badges .badge-label:hover {
    background: rgba(44, 90, 160, 0.2);
    transform: translateY(-1px);
}

/* Projects Section */
.propertyco-projects-section {
    padding: 1rem 0 3rem 0;
    background: #f8f9fa;
}

.propertyco-section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.propertyco-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.propertyco-section-subtitle {
    font-size: 1rem;
    color: #6c757d;
}

/* Grid de proyectos */
.propertyco-projects-grid-extended {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.propertyco-project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.propertyco-project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.propertyco-project-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.propertyco-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--propertyco-transition);
}

.propertyco-project-card:hover .propertyco-card-img {
    transform: scale(1.05);
}

.propertyco-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #dee2e6;
}

.propertyco-project-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.propertyco-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.propertyco-badge-keyready { background: #28a745; }
.propertyco-badge-arena { background: #007bff; }
.propertyco-badge-d3 { background: #28a745; }
.propertyco-badge-propertyco { background: #ffc107; color: #333; }

.propertyco-project-content {
    padding: 1.2rem;
}

.propertyco-project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.propertyco-project-location {
    color: #6c757d;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.propertyco-project-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.propertyco-stat {
    text-align: center;
}

.propertyco-stat-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c5aa0;
}

.propertyco-stat-label {
    font-size: 0.8rem;
    color: #6c757d;
}

.propertyco-project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.propertyco-feature {
    background: #e9ecef;
    color: #495057;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.propertyco-project-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.propertyco-project-actions {
    display: flex;
    gap: 0.75rem;
}

.propertyco-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
    font-size: 0.9rem;
}

.propertyco-btn-primary {
    background: #2c5aa0;
    color: white;
}

.propertyco-btn-primary:hover {
    background: #1e3f73;
    transform: translateY(-2px);
}

.propertyco-btn-outline {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
    flex: none;
    width: 50px;
}

.propertyco-btn-outline:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

/* Estado vacío */
.propertyco-empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.propertyco-empty-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.propertyco-empty-title {
    font-size: 1.8rem;
    color: #495057;
    margin-bottom: 0.5rem;
}

.propertyco-empty-text {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Paginación */
.propertyco-pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* About section */
.propertyco-about-section {
    padding: 3rem 0;
    background: white;
}

.propertyco-about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.propertyco-about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.propertyco-about-subtitle {
    font-size: 1.5rem;
    color: #495057;
    margin-bottom: 2rem;
}

.propertyco-about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: #6c757d;
}

.propertyco-about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.propertyco-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.propertyco-about-image {
    text-align: center;
}

.propertyco-about-img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* ===== ORIGINAL STYLES (mantener para compatibilidad) ===== */

.propertyco-hero-search-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.propertyco-hero-search-form {
    width: 100%;
}

.propertyco-hero-search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 1.5rem;
    align-items: center;
}

.propertyco-hero-search-field {
    display: flex;
    flex-direction: column;
}

.propertyco-hero-select {
    background: var(--propertyco-white);
    border: 2px solid var(--propertyco-gray-200);
    border-radius: 12px;
    padding: 1.2rem 3rem 1.2rem 1.2rem;
    font-size: 1rem;
    color: var(--propertyco-gray-800);
    cursor: pointer;
    transition: var(--propertyco-transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    font-weight: 500;
    min-width: 200px;
    width: 100%;
}

.propertyco-hero-select:hover {
    border-color: var(--propertyco-primary);
    transform: translateY(-1px);
}

.propertyco-hero-select:focus {
    outline: none;
    border-color: var(--propertyco-primary);
    box-shadow: 0 0 0 3px rgba(43, 140, 196, 0.15);
}

.propertyco-hero-search-button-wrapper {
    display: flex;
    align-items: center;
}

.propertyco-hero-search-button {
    background: var(--propertyco-primary);
    color: var(--propertyco-white);
    border: none;
    border-radius: 12px;
    padding: 1.2rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--propertyco-transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(43, 140, 196, 0.3);
    white-space: nowrap;
    min-width: 140px;
}

.propertyco-hero-search-button:hover {
    background: var(--propertyco-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 140, 196, 0.4);
}

.propertyco-hero-search-button:active {
    transform: translateY(0);
}

.propertyco-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.propertyco-projects-footer {
    text-align: center;
}

.propertyco-view-all-button {
    display: inline-block;
    background: transparent;
    color: var(--propertyco-primary);
    border: 2px solid var(--propertyco-primary);
    padding: 1rem 2rem;
    border-radius: var(--propertyco-border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--propertyco-transition);
}

.propertyco-view-all-button:hover {
    background: var(--propertyco-primary);
    color: var(--propertyco-white);
    transform: translateY(-2px);
}

.propertyco-project-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--propertyco-primary);
    color: var(--propertyco-white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.propertyco-project-description {
    color: var(--propertyco-gray-700);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Footer */
.propertyco-footer {
    background: var(--propertyco-secondary);
    color: var(--propertyco-white);
    padding: 3rem 0 1rem;
}

.propertyco-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.propertyco-footer-logo-img {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.propertyco-footer-tagline {
    color: var(--propertyco-gray-300);
    font-style: italic;
}

.propertyco-footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.propertyco-footer-contact p {
    margin-bottom: 0.5rem;
    color: var(--propertyco-gray-300);
}

.propertyco-social-links {
    display: flex;
    gap: 1rem;
}

.propertyco-social-link {
    color: var(--propertyco-gray-300);
    text-decoration: none;
    transition: var(--propertyco-transition);
}

.propertyco-social-link:hover {
    color: var(--propertyco-primary);
}

.propertyco-footer-bottom {
    border-top: 1px solid var(--propertyco-gray-700);
    padding-top: 2rem;
    text-align: center;
    color: var(--propertyco-gray-400);
    font-size: 0.875rem;
}

/* Utility Classes */
.propertyco-text-center { text-align: center; }
.propertyco-text-left { text-align: left; }
.propertyco-text-right { text-align: right; }

.propertyco-mb-0 { margin-bottom: 0; }
.propertyco-mb-1 { margin-bottom: 0.25rem; }
.propertyco-mb-2 { margin-bottom: 0.5rem; }
.propertyco-mb-3 { margin-bottom: 0.75rem; }
.propertyco-mb-4 { margin-bottom: 1rem; }
.propertyco-mb-5 { margin-bottom: 1.25rem; }
.propertyco-mb-6 { margin-bottom: 1.5rem; }

.propertyco-mt-0 { margin-top: 0; }
.propertyco-mt-1 { margin-top: 0.25rem; }
.propertyco-mt-2 { margin-top: 0.5rem; }
.propertyco-mt-3 { margin-top: 0.75rem; }
.propertyco-mt-4 { margin-top: 1rem; }
.propertyco-mt-5 { margin-top: 1.25rem; }
.propertyco-mt-6 { margin-top: 1.5rem; }

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 768px) {
    .propertyco-hero {
        min-height: 40vh;
        padding: 2rem 0 0.5rem 0;
    }
    
    .propertyco-hero-title {
        font-size: 1.8rem;
    }
    
    .propertyco-hero-subtitle {
        font-size: 0.95rem;
    }
    
    .propertyco-search-form {
        padding: 0.8rem;
        border-radius: 10px;
    }
    
    .propertyco-projects-grid-extended {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .propertyco-filter-badges {
        gap: 0.3rem;
    }
    
    .propertyco-filter-badges .badge-label {
        padding: 0.25rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .propertyco-project-actions {
        flex-direction: column;
    }
    
    .propertyco-about-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .propertyco-about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .propertyco-about-section {
        padding: 2rem 0;
    }
    
    .propertyco-mobile-toggle {
        display: flex;
    }
    
    .propertyco-hero-search-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .propertyco-projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .propertyco-hero-title {
        font-size: 1.5rem;
    }
    
    .propertyco-section-title {
        font-size: 1.6rem;
    }
    
    .propertyco-search-form {
        padding: 0.6rem;
    }
    
    .propertyco-compact-filters .form-select,
    .propertyco-compact-filters .form-control {
        font-size: 0.85rem;
        padding: 0.4rem 0.5rem;
    }
    
    .propertyco-container {
        padding: 0 1rem;
    }
}

@media (min-width: 1400px) {
    .propertyco-projects-grid-extended {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

/* ===== ESTILOS ADICIONALES PARA LOS FILTROS DEL HERO ===== */

/* Contenedor de filtros del hero */
.propertyco-hero-filters {
    width: 100%;
}

/* Input de búsqueda principal */
.propertyco-search-input-group {
    position: relative;
    width: 100%;
}

.propertyco-search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--propertyco-gray-500);
    z-index: 2;
    font-size: 1.1rem;
}

.propertyco-search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--propertyco-gray-200);
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    transition: var(--propertyco-transition);
    color: var(--propertyco-gray-800);
}

.propertyco-search-input:focus {
    outline: none;
    border-color: var(--propertyco-primary);
    box-shadow: 0 0 0 3px rgba(43, 140, 196, 0.1);
}

.propertyco-search-input::placeholder {
    color: var(--propertyco-gray-400);
}

/* Selectores de filtros */
.propertyco-filter-select {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 2px solid var(--propertyco-gray-200);
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    color: var(--propertyco-gray-800);
    cursor: pointer;
    transition: var(--propertyco-transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
}

.propertyco-filter-select:focus {
    outline: none;
    border-color: var(--propertyco-primary);
    box-shadow: 0 0 0 3px rgba(43, 140, 196, 0.1);
}

.propertyco-filter-select:hover {
    border-color: var(--propertyco-primary-light);
}

/* Botón de reset */
.propertyco-reset-btn {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    color: var(--propertyco-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--propertyco-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.propertyco-reset-btn:hover {
    background: white;
    border-color: var(--propertyco-primary);
    color: var(--propertyco-primary-dark);
    transform: translateY(-1px);
}

/* Filtros de características */
.propertyco-characteristics-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
}

.propertyco-characteristic-filter {
    position: relative;
}

.propertyco-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.propertyco-checkbox-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: var(--propertyco-primary);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--propertyco-transition);
    user-select: none;
}

.propertyco-checkbox-label:hover {
    background: white;
    border-color: var(--propertyco-primary);
    transform: translateY(-1px);
}

.propertyco-checkbox:checked + .propertyco-checkbox-label {
    background: var(--propertyco-primary);
    color: white;
    border-color: var(--propertyco-primary);
}

.propertyco-checkbox:checked + .propertyco-checkbox-label:hover {
    background: var(--propertyco-primary-dark);
    border-color: var(--propertyco-primary-dark);
}

/* ===== RESPONSIVE PARA LOS NUEVOS ELEMENTOS ===== */

@media (max-width: 768px) {
    .propertyco-search-input,
    .propertyco-filter-select {
        padding: 0.6rem 1rem 0.6rem 2.25rem;
        font-size: 0.9rem;
    }
    
    .propertyco-search-icon {
        left: 0.75rem;
        font-size: 1rem;
    }
    
    .propertyco-filter-select {
        padding-right: 2.25rem;
    }
    
    .propertyco-reset-btn {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .propertyco-characteristics-filters {
        gap: 0.3rem;
    }
    
    .propertyco-checkbox-label {
        padding: 0.3rem 0.75rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .propertyco-search-input,
    .propertyco-filter-select {
        padding: 0.5rem 0.75rem 0.5rem 2rem;
        font-size: 0.85rem;
    }
    
    .propertyco-search-icon {
        left: 0.6rem;
        font-size: 0.9rem;
    }
    
    .propertyco-filter-select {
        padding-right: 2rem;
        background-size: 1em 1em;
        background-position: right 0.6rem center;
    }
    
    .propertyco-reset-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.8rem;
        gap: 0.3rem;
    }
    
    .propertyco-checkbox-label {
        padding: 0.25rem 0.6rem;
        font-size: 0.75rem;
    }

    /* PropertyCo - Estilos para Comerciales y Modificaciones */

/* Comerciales Styles */
.propertyco-project-comerciales {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.propertyco-comerciales-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.propertyco-comerciales-title::before {
    content: "👥";
    font-size: 1rem;
}

.propertyco-comerciales-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.propertyco-comercial-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background-color: white;
    border-radius: 6px;
    transition: all 0.2s ease;
    border: 1px solid #e9ecef;
}

.propertyco-comercial-item:hover {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

/* Avatar Styles - Siguiendo el patrón de Bootstrap */
.propertyco-comercial-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dee2e6;
}

.propertyco-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    border: 2px solid #dee2e6;
}

.propertyco-comercial-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0; /* Para permitir text-overflow */
}

.propertyco-comercial-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.propertyco-comercial-phone {
    font-size: 0.75rem;
    color: #007bff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.propertyco-comercial-phone:hover {
    color: #0056b3;
    text-decoration: underline;
}

.propertyco-comercial-phone i {
    font-size: 0.7rem;
}

/* Modificaciones a la ubicación para ser clicable */
.propertyco-project-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #007bff !important;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.propertyco-project-location:hover {
    color: #0056b3 !important;
    text-decoration: none;
    transform: translateX(2px);
}

.propertyco-project-location i {
    transition: transform 0.3s ease;
}

.propertyco-project-location:hover i {
    transform: scale(1.1);
}

/* Mejoras en los botones de acción */
.propertyco-project-actions {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.propertyco-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex: 1;
    justify-content: center;
}

.propertyco-btn-primary {
    background-color: #007bff;
    color: white;
}

.propertyco-btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 8px rgba(0,123,255,0.3);
}

.propertyco-btn i {
    font-size: 0.9rem;
}

/* Mejoras en el card general */
.propertyco-project-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

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

.propertyco-project-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Responsive para comerciales */
@media (max-width: 768px) {
    .propertyco-project-comerciales {
        padding: 0.75rem;
    }
    
    .propertyco-comercial-item {
        padding: 0.4rem;
        gap: 0.5rem;
    }
    
    .propertyco-comercial-avatar img,
    .propertyco-avatar-placeholder {
        width: 28px;
        height: 28px;
    }
    
    .propertyco-comercial-name {
        font-size: 0.8rem;
    }
    
    .propertyco-comercial-phone {
        font-size: 0.7rem;
    }
    
    .propertyco-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

/* Estados sin comerciales */
.propertyco-no-comerciales {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #dee2e6;
    text-align: center;
    color: #6c757d;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.propertyco-no-comerciales i {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Mejoras adicionales para badges */
.propertyco-project-badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.propertyco-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.propertyco-badge-keyready {
    background-color: rgba(40, 167, 69, 0.9);
    color: white;
}

.propertyco-badge-arena {
    background-color: rgba(255, 107, 53, 0.9);
    color: white;
}

.propertyco-badge-d3 {
    background-color: rgba(111, 66, 193, 0.9);
    color: white;
}

.propertyco-badge-propertyco {
    background-color: rgba(0, 123, 255, 0.9);
    color: white;
}
}