/* Property Detail Page Styles */

.property-detail-page {
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Property Header */
.property-header {
    border-bottom: 2px solid #e9ecef;
}

.property-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.3;
}

.property-meta {
    font-size: 0.9rem;
}

.property-badges .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.price-display .price-amount {
    font-size: 2rem;
    font-weight: 700;
}

.price-details {
    font-size: 0.85rem;
}

/* Property Content */
.property-section {
    margin-bottom: 2rem;
}

.property-description {
    white-space: pre-line;
}

/* Image Gallery Styles */
.image-gallery-container .main-property-image {
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.image-gallery-container .main-property-image:hover {
    cursor: pointer;
}

.thumbnail-gallery .thumbnail-image {
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.thumbnail-gallery .thumbnail-image:hover {
    border-color: #007bff;
    transform: scale(1.05);
    cursor: pointer;
}

.image-overlay {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    border-radius: 0.375rem;
}

.image-counter {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0.375rem;
    padding: 0.25rem 0.5rem;
}

.remaining-count {
    border-radius: inherit;
    font-size: 0.9rem;
}

/* Gallery Grid Layout */
.gallery-grid .gallery-item {
    border-radius: 0.375rem;
    overflow: hidden;
    transition: all 0.2s ease;
}

.gallery-grid .gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.more-images-overlay {
    border-radius: inherit;
    font-size: 1.1rem;
}

/* Property Information Styles */
.spec-group-title {
    color: #6c757d;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.spec-item {
    transition: background-color 0.2s ease;
}

.spec-item:hover {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    margin: 0 -0.5rem;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.spec-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.spec-value {
    color: #212529;
    font-size: 0.9rem;
}

/* Amenities Grid */
.amenities-grid .amenity-item {
    padding: 0.75rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    background-color: #fff;
    border: 1px solid #e9ecef;
}

.amenities-grid .amenity-item:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.amenity-label {
    font-size: 0.9rem;
    color: #495057;
}

/* Sidebar Styles */
.property-sidebar-section {
    margin-bottom: 1.5rem;
}

/* Owner Contact Styles */
.owner-contact-container .card {
    border: 1px solid #dee2e6;
}

.owner-avatar .avatar-circle {
    font-size: 1.2rem;
}

.owner-name {
    color: #212529;
    font-size: 1.1rem;
}

.owner-type {
    font-size: 0.8rem;
}

.contact-item {
    transition: background-color 0.2s ease;
}

.contact-item:hover {
    background-color: #f8f9fa;
    border-radius: 0.25rem;
    margin: 0 -0.75rem;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
}

.contact-label {
    color: #6c757d;
    font-size: 0.9rem;
}

.contact-value {
    font-size: 0.9rem;
}

.contact-value a {
    color: #007bff;
}

.contact-value a:hover {
    color: #0056b3;
}

/* Alert Styles */
.alert-info {
    background-color: #e3f2fd;
    border-color: #bbdefb;
    color: #0277bd;
}

.alert-warning {
    background-color: #fff3e0;
    border-color: #ffcc02;
    color: #ef6c00;
}

/* Similar Properties */
.similar-properties-container .similar-property-item {
    transition: background-color 0.2s ease;
}

.similar-properties-container .similar-property-item:hover {
    background-color: #f8f9fa;
}

.similar-properties-container .property-title a {
    font-size: 0.9rem;
    font-weight: 600;
}

.similar-properties-container .property-title a:hover {
    color: #007bff !important;
}

.similar-properties-container .property-location {
    font-size: 0.8rem;
}

.similar-properties-container .property-price {
    font-size: 0.9rem;
}

.similar-properties-container .property-features {
    font-size: 0.75rem;
}

/* Property Stats */
.stats-grid .stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 0.85rem;
}

.stat-value {
    font-size: 0.9rem;
    color: #007bff;
}

/* Request Details Modal */
.modal-dialog.modal-lg {
    max-width: 600px;
}

.property-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.form-label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.form-control, .form-select {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    font-size: 0.9rem;
}

.form-control:focus, .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Quick Actions */
.btn {
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

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

/* Location & Map */
.map-container {
    border: 1px solid #dee2e6;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.address-display {
    font-size: 0.95rem;
}

.nearby-landmarks {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    .property-title {
        font-size: 1.5rem;
    }
    
    .price-display .price-amount {
        font-size: 1.75rem;
    }
    
    .property-content {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .property-section {
        margin-bottom: 1.5rem;
    }
    
    .spec-item {
        font-size: 0.85rem;
    }
    
    .amenities-grid .amenity-item {
        padding: 0.5rem;
    }
    
    .amenity-label {
        font-size: 0.8rem;
    }
    
    .main-property-image {
        height: 250px !important;
    }
    
    .thumbnail-gallery .thumbnail-image {
        height: 60px !important;
    }
    
    .gallery-grid .gallery-item {
        height: 200px !important;
    }
}

@media (max-width: 576px) {
    .property-title {
        font-size: 1.25rem;
    }
    
    .price-display .price-amount {
        font-size: 1.5rem;
    }
    
    .property-badges .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    .property-meta {
        font-size: 0.8rem;
    }
    
    .main-property-image {
        height: 200px !important;
    }
    
    .thumbnail-gallery .thumbnail-image {
        height: 50px !important;
    }
    
    .similar-properties-container .property-image-container img {
        height: 60px !important;
    }
}

/* Animation and Transitions */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12) !important;
}

/* Lightbox Enhancements */
.lightbox .lb-image {
    border-radius: 0.5rem;
}

.lightbox .lb-outerContainer {
    border-radius: 0.5rem;
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Print Styles */
@media print {
    .property-detail-page {
        background: white !important;
    }
    
    .btn, .modal, .navbar, .footer {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}

.dummy-property-details {
    filter: blur(5px);
}

.login-required-box {
    max-width: 300px;
    top: 60px;
    z-index: 100;
    margin: auto auto;
}
.disclaimer {
    font-size: 12px !important;
    text-align: justify;
}