/* Modern Floor Plan Layout with top filters */
body {
    margin: 0;
}
/* Progressive Enhancement - Hide JS content when JS is disabled */
.no-js .js-only {
    display: none;
}

.no-js .seo-content {
    display: block;
}

/* Show JS content when JS is enabled */
.js .seo-content {
    display: none;
}

.js .js-only {
    display: block;
}

/* Preserve grid layout for floor plans grid */
.js .js-only.floor-plans-grid {
    display: grid;
    position: relative;
}

.js .js-only.floor-plans-grid.floor-plans-grid--list {
    display: flex;
    flex-direction: column;
}

/* Same as above: .js .js-only { display: block } would override filters-sidebar grid */
.js .js-only.filters-sidebar {
    display: grid;
}

/* Preserve flex layout for pagination */
.js .js-only.pagination {
    display: flex;
}

/* Modern Container */
.modern-container {
  background: #f2f0ee;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.header p {
    font-size: 1.1rem;
    color: #7f8c8d;
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    background: white;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tab {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: #6c757d;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.tab.active {
    color: #2c3e50;
    border-bottom-color: #cd8b50;
    font-weight: 600;
    background: #f8f9fa;
}

.tab:hover {
    color: #2c3e50;
    background-color: #f8f9fa;
}

.tab:focus {
    outline: 2px solid #cd8b50;
    outline-offset: 2px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Modern Layout */
.modern-layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-height: 70vh;
}

/* Top filters bar: title row, then four controls in one row (LTR) */
.filters-sidebar {
    width: 100%;
    position: static;
    height: auto;
    overflow: visible;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 20px;
    align-items: end;
}

.filters-header {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f3f4;
}

.filters-header h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0;
    font-weight: 300;
    font-style: italic;
    line-height: 1.2;
}

.clear-filters {
    background: #e74c3c;
    display: none;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.clear-filters:hover {
    background: #c0392b;
}

.clear-filters:focus {
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}

/* Filter Groups */
.filter-group {
    margin-bottom: 0;
    min-width: 0;
}

.filter-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #cd8b50;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.filter-group select:hover,
.filter-group input:hover {
    border-color: #bdc3c7;
}

/* Main Content Area */
.main-content {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

/* Floor Plans Grid */
.floor-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.floor-plan-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
    padding: 15px 15px 50px 15px;
    position: relative;
}


.floor-plan-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.floor-plan-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.floor-plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floor-plan-card::after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 57px;
    height: 57px;
    background-image: url('images/fp-corner.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 2;
}

.floor-plan-info {
    padding: 20px;
}

.floor-plan-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.floor-plan-details {
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-content {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.card-content span {
    font-weight: 600;
    color: #2c3e50;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.detail-icon {
    width: 16px;
    height: 16px;
    background-color: #cd8b50;
    border-radius: 50%;
    flex-shrink: 0;
}

.floor-plan-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 15px;
}

.floor-plan-availability {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
}

.apartment-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

/* List view: one card per row, no floorplan image (same panel as grid) */
.floor-plans-grid.floor-plans-grid--list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floor-plans-grid.floor-plans-grid--list .floor-plan-card {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    padding: 14px 16px 14px;
    margin-bottom: 0;
}

.floor-plans-grid.floor-plans-grid--list .floor-plan-card::after {
    display: none;
}

.floor-plans-grid.floor-plans-grid--list .floor-plan-card > a {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    flex: 1 1 220px;
    min-width: 0;
}

.floor-plans-grid.floor-plans-grid--list .floor-plan-image {
    display: none !important;
}

.floor-plans-grid.floor-plans-grid--list .floor-plan-title {
    margin-bottom: 0;
    flex: 0 0 auto;
}

.floor-plans-grid.floor-plans-grid--list .floor-plan-details {
    margin-bottom: 0;
    flex: 1 1 200px;
    min-width: 0;
}

.floor-plans-grid.floor-plans-grid--list .apartment-actions {
    margin-top: 0;
    flex: 1 1 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.floor-plans-grid.floor-plans-grid--list .view-units-btn,
.floor-plans-grid.floor-plans-grid--list .apply-now-btn {
    width: auto;
    min-width: 140px;
    max-width: 48%;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:focus {
    outline: 2px solid #cd8b50;
    outline-offset: 2px;
}

.btn-primary {
    background-color: #cd8b50;
    color: white;
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination button {
    padding: 12px 18px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.pagination button:hover:not(:disabled) {
    border-color: #cd8b50;
    color: #cd8b50;
    transform: translateY(-2px);
}

.pagination button:focus {
    outline: 2px solid #cd8b50;
    outline-offset: 2px;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .active {
    background-color: #cd8b50;
    color: white;
    border-color: #cd8b50;
}

/* Map Container */
.map-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 600px;
}

.map-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Loading and No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
    background: transparent;
    border-radius: 12px;
}

/* Full width in grid view (otherwise one column of the multi-col grid) */
.floor-plans-grid:not(.floor-plans-grid--list) .no-results {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.loading {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */

/* Desktop: four floor-plan cards per row */
@media (min-width: 1025px) {
    .floor-plans-grid:not(.floor-plans-grid--list) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Desktop: always four filters in one row */
@media (min-width: 901px) {
    .filters-sidebar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* Below desktop width: two filter columns per row */
@media (max-width: 900px) {
    .filters-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .floor-plans-grid:not(.floor-plans-grid--list) {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile and small tablet */
@media (max-width: 768px) {
    .modern-container {
        padding: 15px;
    }

    .header h1 {
        font-size: 2rem;
    }

    .tabs {
        flex-direction: column;
    }

    .tab {
        text-align: center;
        border-bottom: 1px solid #e9ecef;
    }

    .filters-sidebar {
        padding: 16px;
        grid-template-columns: 1fr;
    }

    .filters-header h3 {
        font-size: 1.5rem;
    }

    .floor-plans-grid:not(.floor-plans-grid--list) {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .floor-plans-grid--list .floor-plan-card {
        flex-direction: column;
        align-items: stretch;
    }

    .floor-plans-grid--list .floor-plan-card > a {
        flex-direction: column;
        align-items: flex-start;
    }

    .floor-plans-grid--list .apartment-actions {
        justify-content: stretch;
        width: 100%;
    }

    .floor-plans-grid--list .view-units-btn,
    .floor-plans-grid--list .apply-now-btn {
        max-width: none;
        width: 100%;
    }

    .floor-plan-details {
        grid-template-columns: 1fr;
    }

    .apartment-actions {
        flex-direction: column;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }

    .floor-plan-card {
        margin: 0 5px;
    }

    .floor-plan-info {
        padding: 15px;
    }

    .btn {
        padding: 12px 16px;
        font-size: 1rem;
    }
    
    .filters-sidebar {
        padding: 15px;
    }
}

/* View Units Button Custom Styling */
.view-units-btn {
    all: unset;
    position: relative;
    background: #cd8b50;
    display: grid;
    place-content: center;
    font-family: nobel, sans-serif;
    font-weight: 500;
    width: 40%;
    text-align: center;
    height: 44px;
    font-size: 14px;
    margin: 9px 0px 10px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 90% 100%, 0% 100%);
    cursor: pointer !important;
}

.view-units-btn::after {
    width: 100%;
    height: 100%;
    content: "";
    position: absolute;
    background: #fff;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    clip-path: polygon(2px 2px, calc(100% - 2px) 2px, calc(100% - 2px) 75%, 90% calc(100% - 2px), 2px calc(100% - 2px));
}


.apply-now-btn {
    all: unset;
    position: relative;
    background: #cd8b50;
    display: grid;
    place-content: center;
    font-family: nobel, sans-serif;
    font-weight: 500;
    width: 40%;
    text-align: center;
    height: 44px;
    font-size: 14px;
    margin: 9px 0px 10px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 75%, 90% 100%, 0% 100%);
    cursor: pointer !important;
}

/* Print Styles */
@media print {
    .tabs,
    .filters-sidebar,
    .pagination,
    .apartment-actions,
    .map-container {
        display: none;
    }

    .tab-content {
        display: block !important;
    }

    .floor-plan-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .modern-container {
        max-width: none;
        padding: 0;
    }
    
    .modern-layout {
        flex-direction: column;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .floor-plan-card {
        border: 2px solid #000;
    }

    .btn {
        border: 2px solid #000;
    }

    .tab.active {
        border-bottom-color: #000;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floor-plan-card:hover {
        transform: none;
    }
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus indicators for keyboard navigation */
*:focus {
    outline: 2px solid #cd8b50;
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}
apps-fileview.texmex_20260408.09_p0
floorplan_modern.css
Displaying floorplan_modern.css.