/* Sélecteur de propriétés moderne */
.property-selection-container {
    padding: 1rem 0;
}

/* Boutons de catégories */
.property-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, rgba(24, 113, 60, 0.05) 0%, rgba(24, 113, 60, 0.02) 100%);
    border: 2px solid rgba(24, 113, 60, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.category-btn i {
    font-size: 2rem;
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.category-btn:hover {
    background: linear-gradient(135deg, rgba(24, 113, 60, 0.1) 0%, rgba(24, 113, 60, 0.05) 100%);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 113, 60, 0.15);
}

.category-btn:hover i {
    transform: scale(1.1);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--primary-green) 0%, #22c55e 100%);
    border-color: var(--primary-green);
    color: white;
    box-shadow: 0 6px 20px rgba(24, 113, 60, 0.3);
}

.category-btn.active i {
    color: white;
}

/* Grille des types de propriétés */
.property-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    min-height: 200px;
}

.selection-hint {
    grid-column: 1 / -1;
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 3rem;
}

/* Carte de propriété */
.property-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.property-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(24, 113, 60, 0.1);
    transform: translateY(-2px);
}

.property-card.selected {
    border-color: var(--primary-green);
    background: linear-gradient(135deg, rgba(24, 113, 60, 0.05) 0%, rgba(24, 113, 60, 0.02) 100%);
    box-shadow: 0 6px 20px rgba(24, 113, 60, 0.2);
}

.property-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.property-card-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1.1rem;
    flex: 1;
}

.property-card-check {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.property-card.selected .property-card-check {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.property-card-check i {
    font-size: 0.75rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card.selected .property-card-check i {
    opacity: 1;
}

.property-card-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-green);
    text-align: left;
}

.property-card-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card {
    animation: fadeInUp 0.4s ease backwards;
}

.property-card:nth-child(1) { animation-delay: 0.05s; }
.property-card:nth-child(2) { animation-delay: 0.1s; }
.property-card:nth-child(3) { animation-delay: 0.15s; }
.property-card:nth-child(4) { animation-delay: 0.2s; }
.property-card:nth-child(5) { animation-delay: 0.25s; }
.property-card:nth-child(6) { animation-delay: 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .property-categories {
        grid-template-columns: 1fr;
    }
    
    .property-types-grid {
        grid-template-columns: 1fr;
    }
}
