/**
 * Lyra Floor Plan Configurator - Minimal Styles
 * Just tabs and floor plan cards
 */

/* Tab Navigation */
.lyra-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
}

.lyra-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #6b7280;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: -2px;
}

.lyra-tab:hover {
    color: #374151;
}

.lyra-tab.active {
    color: #0ea5e9;
    border-bottom-color: #0ea5e9;
}

.lyra-tab svg {
    width: 20px;
    height: 20px;
}

/* Tab Content */
.lyra-view {
    display: none;
}

.lyra-view.active {
    display: block;
}

/* Floor Plans Grid */
.lyra-floorplans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Floor Plan Card */
.lyra-floorplan-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lyra-floorplan-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.lyra-floorplan-image {
    position: relative;
    height: 200px;
    background: #f9fafb;
}

.lyra-floorplan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lyra-placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 18px;
}

.lyra-availability-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    background: #10b981;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.lyra-floorplan-details {
    padding: 15px;
}

.lyra-floorplan-details h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    color: #111827;
}

.lyra-specs {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 8px;
}

.lyra-price {
    color: #374151;
    font-size: 16px;
}

.lyra-price strong {
    color: #111827;
    font-size: 20px;
}

/* Loading State */
.lyra-loading {
    text-align: center;
    padding: 60px 20px;
}

.lyra-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 4px solid #e5e7eb;
    border-top-color: #0ea5e9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Error State */
.lyra-error,
.lyra-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
}

/* Map Container */
.lyra-map-container {
    min-height: 600px;
    background: #f9fafb;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
    .lyra-tabs {
        justify-content: center;
    }
    
    .lyra-tab {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .lyra-floorplans-grid {
        grid-template-columns: 1fr;
    }
}