/* Property Details Modal Styles */

/* Overlay */
.property-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1300;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    overflow-y: auto;
}

/* Container */
.property-modal-container {
    background-color: #fff;
    border-radius: 12px;
    max-width: 1200px;
    width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Loading & Error States */
.property-modal-loading,
.property-modal-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    min-height: 400px;
}

/* Header */
.property-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    background: transparent;
    z-index: 10;
}

.property-modal-logo {
    height: 32px;
    width: auto;
}

.property-modal-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* Content */
.property-modal-content {
    padding: 24px;
}

.property-modal-main {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
}

@media (max-width: 900px) {
    .property-modal-main {
        grid-template-columns: 1fr;
    }

    .property-modal-right {
        order: -1;
    }
}

.property-modal-left {
    min-width: 0;
}

.property-modal-right {
    position: relative;
}

.property-modal-sidebar {
    position: sticky;
    top: 80px;
}

/* Image Gallery */
.property-image-gallery {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 4px;
    height: 450px;
    overflow: hidden;
    border-radius: 0;
    position: relative;
}

.property-image-gallery.full-width {
    grid-template-columns: 1fr;
}

@media (max-width: 768px) {
    .property-image-gallery {
        grid-template-columns: 1fr;
        height: 300px;
    }

    .property-image-grid {
        display: none;
    }
}

/* Main image (used by PropertyImageGallery component) */
.property-image-main {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.property-image-main.full-width {
    grid-column: 1 / -1;
}

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

.property-image-main:hover img {
    transform: scale(1.02);
}

/* Side images grid */
.property-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
}

/* Thumbnail images */
.property-image-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.property-image-thumb:hover img {
    transform: scale(1.05);
}

/* Overlay for "See all photos" */
.property-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    gap: 4px;
    cursor: pointer;
}

.property-image-overlay:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

/* Empty state */
.property-image-gallery-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    height: 100%;
}

/* See all photos button - !important needed to override MudBlazor .mud-button-root position: relative */
.property-see-all-btn {
    position: absolute !important;
    bottom: 16px;
    right: 16px;
    z-index: 5;
}

/* Legacy class names (for backwards compatibility) */
.property-main-image {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.property-main-image:hover img {
    transform: scale(1.02);
}

.property-thumbnail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 4px;
}

.property-thumbnail {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.property-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-thumbnail:hover img {
    transform: scale(1.05);
}

.property-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

/* Status Badge */
.property-status-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
}

/* Price Header */
.property-price-header {
    margin-bottom: 16px;
}

.property-price-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
}

.property-price-main.affordable {
    color: #2e7d32;
}

.property-price-main.over-budget {
    color: #d32f2f;
}

.property-divider {
    width: 1px;
    height: 20px;
    background-color: #e0e0e0;
}

/* Stats Bar */
.property-stats-bar {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.property-stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.property-stat-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
}

.property-stat-label {
    font-size: 0.875rem;
    color: #666;
}

/* Quick Info */
.property-quick-info {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    color: #666;
    font-size: 0.875rem;
}

/* Section */
.property-section {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e0e0e0;
}

.property-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Facts Card */
.property-facts-card {
    padding: 20px;
    border-radius: 8px;
}

.property-facts-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-fact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.property-fact-row:last-child {
    border-bottom: none;
}

/* Facts & Features */
.property-facts-section {
    padding: 16px;
    background-color: #fafafa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.property-facts-grid-multi {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

.property-fact-group {
    padding: 16px;
    background-color: #fafafa;
    border-radius: 8px;
}

.property-fact-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.875rem;
}

.property-fact-item .text-muted {
    color: #666;
}

.property-expansion-panels .mud-expansion-panel {
    border-radius: 8px !important;
    margin-bottom: 8px;
}

/* Incentive Card */
.property-incentive-card {
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #4caf50;
    background-color: #e8f5e9;
}

.property-incentive-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

/* Changes Timeline */
.property-changes-timeline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-change-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: background-color 0.15s ease;
}

.property-change-item:hover {
    background-color: #f0f1f3;
}

.property-change-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
}

.property-change-icon i {
    font-size: 14px;
}

.property-change-content {
    flex: 1;
    min-width: 0;
}

.property-change-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.property-change-date {
    font-size: 12px;
    color: #888;
}

/* Actions Card */
.property-actions-card {
    padding: 20px;
    border-radius: 8px;
}

.property-actions-buttons {
    display: flex;
    flex-direction: column;
}

/* Quick Facts Card */
.property-quick-facts-card {
    padding: 20px;
    border-radius: 8px;
}

.property-quick-facts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property-quick-fact-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.875rem;
}

.property-quick-fact-row:last-child {
    border-bottom: none;
}

.property-quick-fact-row .text-muted {
    color: #666;
    flex-shrink: 0;
    margin-right: 12px;
}

.property-quick-fact-row span:last-child {
    text-align: right;
    word-break: break-word;
}

/* Listing Agent Footer */
.property-listing-agent-footer {
    margin-top: 32px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.property-agent-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1976d2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.property-agent-info {
    flex: 1;
}

/* Share Modal */
.property-share-buyer-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.property-share-buyer-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.property-share-buyer-item:last-child {
    border-bottom: none;
}

.property-share-buyer-item:hover {
    background-color: #f5f5f5;
}

.property-share-buyer-item.selected {
    background-color: #e3f2fd;
}

/* Fullscreen Gallery Modal */
.property-gallery-modal,
.property-gallery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1400;
    display: flex;
    flex-direction: column;
}

.property-gallery-header,
.property-gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.property-gallery-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 60px;
    min-height: 0;
    overflow: hidden;
}

.property-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.property-gallery-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.property-gallery-nav-prev,
.property-gallery-nav-next {
    position: fixed !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1401;
}

.property-gallery-nav-prev {
    left: 20px;
}

.property-gallery-nav-next {
    right: 20px;
}

.property-gallery-thumbs {
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.5);
}

.property-gallery-thumbs-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    justify-content: center;
}

.property-gallery-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    border: 2px solid transparent;
}

.property-gallery-thumb:hover {
    opacity: 0.8;
}

.property-gallery-thumb.active {
    opacity: 1;
    border-color: #fff;
}

.property-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-gallery-modal-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 60px;
}

.property-gallery-modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.property-gallery-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.property-gallery-nav-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.property-gallery-nav-button.prev {
    left: 16px;
}

.property-gallery-nav-button.next {
    right: 16px;
}

.property-gallery-thumbnails {
    display: flex;
    gap: 8px;
    padding: 16px 24px;
    overflow-x: auto;
    justify-content: center;
}

.property-gallery-thumbnail {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    border: 2px solid transparent;
}

.property-gallery-thumbnail:hover {
    opacity: 0.8;
}

.property-gallery-thumbnail.active {
    opacity: 1;
    border-color: #1976d2;
}

.property-gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MudDialog - Property Details Dialog */
.mud-dialog.property-details-dialog {
    max-width: 1200px;
    border-radius: 0 !important;
}

.mud-dialog.property-details-dialog .mud-dialog-content {
    padding: 0;
    border-radius: 0 !important;
}

.mud-dialog.property-details-dialog .mud-dialog-title {
    border-radius: 0 !important;
}

/* MudDialog - Image Gallery Dialog (fullscreen) */
.mud-dialog.property-gallery-dialog {
    background-color: rgba(0, 0, 0, 0.95) !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.mud-dialog.property-gallery-dialog .mud-dialog-content {
    padding: 0;
    background-color: transparent;
    height: 100%;
    overflow: hidden;
}

.property-gallery-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .property-modal-overlay {
        padding: 0;
    }

    .property-modal-container {
        border-radius: 0;
        max-height: 100vh;
    }

    .property-modal-content {
        padding: 16px;
    }

    .property-price-main {
        font-size: 2rem;
    }

    .property-stats-bar {
        gap: 16px;
    }

    .property-gallery-modal-content {
        padding: 0 40px;
    }

    .property-gallery-nav-button {
        width: 36px;
        height: 36px;
    }
}

/* ========================================
   Property Details Dialog - Modern Design
   ======================================== */

.property-details-dialog {
    max-width: 1200px !important;
}

.property-details-dialog .mud-dialog-content {
    padding: 0 !important;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
    background: #f8fafc;
}

.property-details-dialog .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background: transparent;
}

.property-details-dialog .dialog-logo {
    height: 24px;
}

.property-details-dialog .close-btn {
    color: #64748b !important;
}

.property-details-dialog .close-btn:hover {
    background: #f1f5f9 !important;
}

/* Loading & Error States */
.property-details-dialog .loading-container,
.property-details-dialog .error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 48px;
    text-align: center;
}

.property-details-dialog .loading-spinner {
    margin-bottom: 24px;
}

.property-details-dialog .loading-title,
.property-details-dialog .error-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.property-details-dialog .error-icon {
    margin-bottom: 16px;
}

/* Hero Section */
.property-details-dialog .hero-section {
    position: relative;
    background: #fff;
    margin-top: 0;
}

.property-details-dialog .status-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 5;
}

.property-details-dialog .favorite-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.95);
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease;
    z-index: 5;
}

.property-details-dialog .favorite-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.property-details-dialog .favorite-btn.favorited {
    color: #ef4444;
}

/* Content Wrapper */
.property-details-dialog .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    padding: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .property-details-dialog .content-wrapper {
        grid-template-columns: 1fr;
    }
}

.property-details-dialog .main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Price Hero */
.property-details-dialog .price-hero {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.property-details-dialog .price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.property-details-dialog .price {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -1px;
}

.property-details-dialog .price.affordable {
    color: #10b981;
}

.property-details-dialog .price.over-budget {
    color: #ef4444;
}

.property-details-dialog .affordability-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.property-details-dialog .affordability-badge.affordable {
    background: #d1fae5;
    color: #059669;
}

.property-details-dialog .affordability-badge.over-budget {
    background: #fee2e2;
    color: #dc2626;
}

.property-details-dialog .monthly-payment {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: #6366f1;
    font-size: 15px;
    font-weight: 500;
}

.property-details-dialog .address {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: #64748b;
    font-size: 16px;
}

/* Stats Grid */
.property-details-dialog .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 600px) {
    .property-details-dialog .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.property-details-dialog .stat-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.property-details-dialog .stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.property-details-dialog .stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
}

.property-details-dialog .stat-icon.beds { background: #dbeafe; color: #2563eb; }
.property-details-dialog .stat-icon.baths { background: #e0e7ff; color: #4f46e5; }
.property-details-dialog .stat-icon.sqft { background: #fef3c7; color: #d97706; }
.property-details-dialog .stat-icon.price-sqft { background: #d1fae5; color: #059669; }

.property-details-dialog .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
}

.property-details-dialog .stat-label {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

/* Quick Pills */
.property-details-dialog .quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.property-details-dialog .pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: white;
    border-radius: 20px;
    font-size: 13px;
    color: #475569;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.property-details-dialog .pill.hot {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #b45309;
}

/* Section Cards */
.property-details-dialog .section-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.property-details-dialog .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.property-details-dialog .section-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #64748b;
}

.property-details-dialog .section-icon.trending {
    background: #dbeafe;
    color: #2563eb;
}

.property-details-dialog .section-icon.market {
    background: #ede9fe;
    color: #7c3aed;
}

.property-details-dialog .section-icon.facts {
    background: #d1fae5;
    color: #059669;
}

.property-details-dialog .section-icon.agent {
    background: #fef3c7;
    color: #d97706;
}

.property-details-dialog .section-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.property-details-dialog .description-text {
    font-size: 15px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
}

/* Incentive Card */
.property-details-dialog .incentive-card {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #10b981;
    border-radius: 16px;
    padding: 24px;
}

.property-details-dialog .incentive-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.property-details-dialog .incentive-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-details-dialog .incentive-badge {
    background: #10b981;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-details-dialog .incentive-title {
    font-size: 18px;
    font-weight: 600;
    color: #065f46;
    margin: 0 0 8px;
}

.property-details-dialog .incentive-values {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.property-details-dialog .incentive-value-item {
    background: rgba(16, 185, 129, 0.15);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 100px;
}

.property-details-dialog .incentive-value-item--percentage {
    background: rgba(33, 150, 243, 0.12);
}

.property-details-dialog .incentive-value-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6b7280;
}

.property-details-dialog .incentive-value-amount {
    font-size: 22px;
    font-weight: 700;
    color: #059669;
}

.property-details-dialog .incentive-value-item--percentage .incentive-value-amount {
    color: #1976d2;
}

.property-details-dialog .incentive-value {
    font-size: 28px;
    font-weight: 800;
    color: #059669;
    margin-bottom: 8px;
}

.property-details-dialog .incentive-description {
    color: #047857;
    margin: 0;
    font-size: 14px;
}

/* Timeline */
.property-details-dialog .timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property-details-dialog .timeline-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f8fafc;
    transition: background-color 0.15s ease;
}

.property-details-dialog .timeline-item:hover {
    background: #f1f5f9;
}

.property-details-dialog .timeline-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-details-dialog .timeline-event {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.property-details-dialog .timeline-price {
    font-weight: 700;
    color: #059669;
    font-size: 16px;
}

.property-details-dialog .timeline-date {
    color: #94a3b8;
    font-size: 13px;
}

/* Sidebar */
.property-details-dialog .sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Action Card */
.property-details-dialog .action-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-details-dialog .action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.property-details-dialog .action-btn.primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
}

.property-details-dialog .action-btn.primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.property-details-dialog .action-btn.primary:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

.property-details-dialog .action-btn.secondary {
    background: #f8fafc;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.property-details-dialog .action-btn.secondary:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.property-details-dialog .action-btn.secondary.favorited {
    border-color: #ef4444;
    color: #ef4444;
    background: #fef2f2;
}

.property-details-dialog .action-row {
    display: flex;
    gap: 8px;
}

.property-details-dialog .action-btn-small {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: white;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.property-details-dialog .action-btn-small:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.property-details-dialog .action-btn-small:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Facts Card */
.property-details-dialog .facts-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.property-details-dialog .facts-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px;
}

.property-details-dialog .facts-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.property-details-dialog .fact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.property-details-dialog .fact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.property-details-dialog .fact-label {
    color: #64748b;
    font-size: 14px;
}

.property-details-dialog .fact-value {
    font-weight: 600;
    color: #1e293b;
    font-size: 14px;
}

.property-details-dialog .fact-value.highlight {
    color: #6366f1;
}

/* Agent Card */
.property-details-dialog .agent-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 20px;
}

.property-details-dialog .main-content > .property-section {
    margin-bottom: 0;
    padding-bottom: 0;
}

.property-details-dialog .agent-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #94a3b8;
    margin-bottom: 12px;
}

.property-details-dialog .agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.property-details-dialog .agent-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.property-details-dialog .agent-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 15px;
}

.property-details-dialog .agent-office {
    color: #64748b;
    font-size: 13px;
    margin-top: 2px;
}
