/* Main Styles */
* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.6;
}

main {
    flex: 1;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Container Fixes */
.container-fluid {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.modern-property-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Property Card Styles */
.property-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.property-image {
    height: 200px;
    object-fit: cover;
}

.property-features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.property-feature {
    display: flex;
    align-items: center;
}

.property-feature i {
    margin-right: 5px;
}

/* Property Details Page */
.property-details-image {
    height: 400px;
    object-fit: cover;
}

.property-details-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.property-details-feature {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 5px;
}

.property-details-feature i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Form Styles */
.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Buttons */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Alerts */
.alert {
    margin-bottom: 20px;
}

/* Loading Spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

/* Image Gallery */
.image-gallery {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin-bottom: 20px;
}

.gallery-image {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
}

.gallery-image.active {
    border: 2px solid #0d6efd;
}

/* Offer Form */
.offer-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .property-details-image {
        height: 300px;
    }
    
    .property-details-features {
        gap: 10px;
    }
    
    .property-details-feature {
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .property-details-image {
        height: 250px;
    }
}

/* Owner Information Styles */
.owner-info-section .card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.owner-info-section .card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.owner-info-section .card-header {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border-bottom: none;
    border-radius: 10px 10px 0 0;
}

.owner-image {
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.owner-image:hover {
    transform: scale(1.05);
}

.owner-name {
    color: #333;
    font-weight: 600;
}

.owner-details .text-muted {
    font-size: 0.9em;
}

/* Responsive Owner Info */
@media (max-width: 768px) {
    .owner-info-section .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .owner-avatar {
        margin-bottom: 15px;
        margin-right: 0 !important;
    }
}

/* Message Modal Styles */
#messageModal .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

#messageModal .modal-header {
    border-radius: 15px 15px 0 0;
    border-bottom: none;
    padding: 20px 25px 15px;
}

#messageModal .modal-body {
    padding: 20px 25px;
    font-size: 1.1em;
}

/* Fix for popup text visibility - ensure text is always visible */
#messageModal .modal-body p,
#messageModalText {
    color: #212529 !important;
    background: transparent !important;
}

#messageModal .modal-footer {
    border-top: none;
    padding: 15px 25px 20px;
    justify-content: center;
}

#messageModal .btn {
    border-radius: 25px;
    padding: 10px 30px;
    font-weight: 600;
    min-width: 100px;
}

/* Report Modal Styles */
#reportModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

#reportModal .modal-header {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    border-radius: 15px 15px 0 0;
    border-bottom: none;
}

/* Fix for report modal text visibility */
#reportModal .modal-body,
#reportModal .modal-body *,
#reportModal .form-label {
    color: #212529 !important;
}

#reportModal .form-control {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

#reportModal .form-control:focus {
    border-color: #ffc107;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

#reportModal .btn-warning {
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
}

/* Modern Property Details Styles */
.modern-property-container {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    padding: 2rem 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.modern-property-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.modern-property-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.property-header-content {
    flex: 1;
    z-index: 2;
    position: relative;
}



.modern-property-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.property-meta-modern {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.price-container, .location-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.price-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modern-price {
    font-size: 1.5rem;
    font-weight: 700;
    background: rgba(255,255,255,0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.location-container {
    align-items: flex-start;
}

.modern-location {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-header-decoration {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2;
}

.decoration-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    animation: pulse 2s infinite;
}

.decoration-circle:nth-child(2) {
    animation-delay: 0.5s;
}

.decoration-circle:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

/* Modern Property Sidebar */
.modern-property-sidebar {
    padding: 0;
}

.modern-stats-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.modern-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.stats-header {
    margin-bottom: 2rem;
    text-align: center;
}

.stats-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stats-title i {
    color: #667eea;
    font-size: 1.8rem;
}

.stats-decoration {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.modern-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem !important;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem !important;
    padding: 1rem !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.modern-stats-grid .stat-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.75rem !important;
    color: white !important;
    position: relative !important;
    z-index: 2 !important;
}

.stat-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem !important;
    color: white;
    position: relative;
    z-index: 2;
}

.stat-icon.levels {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon.bedrooms {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-icon.bathrooms {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-icon.area {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    z-index: 2;
}

.stat-number {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    line-height: 1 !important;
}

.stat-label {
    font-size: 0.7rem !important;
    color: #666 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-weight: 500 !important;
}

/* Modern Offer Statistics */
.modern-offer-statistics {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.modern-offer-statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.offer-stats-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.offer-stats-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.offer-stats-title i {
    color: #4facfe;
    font-size: 1.5rem;
}

.offer-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.offer-stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.offer-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
}

.offer-stat-card.average::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.offer-stat-card.highest::before {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.offer-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.offer-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.offer-stat-card.average .offer-stat-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.offer-stat-card.highest .offer-stat-icon {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.offer-stat-info {
    flex: 1;
}

.offer-stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.offer-stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2c3e50;
    line-height: 1;
}

.offer-comparison {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
}

.comparison-bar {
    width: 100%;
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.comparison-progress {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    transition: width 0.8s ease;
}

.comparison-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comparison-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.comparison-percentage {
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
}

/* Modern Owner Card */
.modern-owner-section {
    margin-top: 2rem;
}

.modern-owner-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
}

.modern-owner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f093fb 0%, #f5576c 100%);
}

.owner-header-modern {
    text-align: center;
    margin-bottom: 1.5rem;
}

.owner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.owner-profile {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.owner-avatar-modern {
    flex-shrink: 0;
}

.avatar-container {
    position: relative;
    display: inline-block;
}

.modern-avatar {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s ease;
}

.modern-avatar:hover {
    transform: scale(1.05);
}

.avatar-status {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    background: #28a745;
    border: 2px solid white;
    border-radius: 50%;
    animation: pulse-status 2s infinite;
}

@keyframes pulse-status {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.owner-info-modern {
    flex: 1;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.modern-owner-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.owner-contact {
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    width: 100%;
    overflow: hidden;
}

.contact-item i {
    color: #667eea;
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.contact-text {
    color: #666;
    font-size: 0.95rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    max-width: 100%;
}



/* Modern Offer Section */
.modern-offer-section {
    margin-top: 2rem;
}

.modern-offer-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.modern-offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
}

.offer-header-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.offer-icon-container {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.offer-title-container {
    flex: 1;
}

.modern-offer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.modern-offer-subtitle {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

.modern-offer-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modern-offer-input-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modern-offer-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.modern-offer-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-indicator {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 15px 0 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.currency-symbol {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.modern-offer-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 80px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #f8f9fa;
    transition: all 0.3s ease;
    position: relative;
}

.modern-offer-input:focus {
    outline: none;
    border-color: #43e97b;
    background: white;
    box-shadow: 0 0 0 4px rgba(67, 233, 123, 0.1);
}

.input-decoration {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-offer-input:focus + .input-decoration {
    opacity: 1;
}

.offer-price-info {
    margin-top: 0.5rem;
}

.asking-price {
    color: #666;
    font-style: italic;
}

.modern-offer-submit-btn {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border: none;
    border-radius: 15px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modern-offer-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(67, 233, 123, 0.4);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.btn-ripple {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-offer-submit-btn:active .btn-ripple {
    opacity: 1;
}

/* Responsive Modern Styles */
@media (max-width: 1200px) {
    .modern-property-container {
        padding: 0 10px;
    }

    .modern-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .stat-item {
        padding: 0.75rem !important;
    }
}

@media (max-width: 992px) {
    .modern-property-header {
        padding: 1.25rem;
    }

    .modern-property-title {
        font-size: 1.75rem;
    }

    .modern-price {
        font-size: 1.4rem;
    }

    .property-meta-modern {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .modern-property-container {
        padding: 1rem 0;
    }

    .modern-property-header {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem 1rem;
        margin-bottom: 1rem;
    }

    .modern-property-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .modern-price {
        font-size: 1.3rem;
    }

    .property-header-decoration {
        flex-direction: row;
        justify-content: center;
        margin-top: 1rem;
    }

    .modern-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .offer-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-item {
        padding: 0.75rem !important;
        gap: 0.5rem !important;
    }

    .stat-number {
        font-size: 1rem !important;
    }

    .stat-label {
        font-size: 0.6rem !important;
    }

    .stat-icon {
        width: 24px !important;
        height: 24px !important;
        font-size: 0.65rem !important;
    }

    .owner-profile {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .modern-avatar {
        width: 80px;
        height: 80px;
    }

    .offer-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .modern-offer-input {
        padding: 1rem 1rem 1rem 70px;
        font-size: 1rem;
    }

    .currency-indicator {
        width: 50px;
    }

    .modern-stats-card,
    .modern-owner-card,
    .modern-description-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .modern-property-container {
        padding: 0.5rem 0;
    }

    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }

    .modern-property-header {
        padding: 1rem 0.75rem;
        margin-bottom: 0.75rem;
    }

    .modern-property-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .modern-price {
        font-size: 1.2rem;
        padding: 0.3rem 0.6rem;
    }

    .modern-stats-card,
    .modern-owner-card,
    .modern-offer-card,
    .modern-offer-statistics,
    .modern-description-card {
        padding: 1rem;
        margin-bottom: 0.75rem;
        border-radius: 12px;
    }

    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0.75rem !important;
    }

    .stat-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }

    .stat-number {
        font-size: 1.1rem !important;
    }

    .stat-label {
        font-size: 0.65rem !important;
    }

    .modern-offer-input {
        padding: 0.8rem 1rem 0.8rem 60px;
        font-size: 0.95rem;
    }

    .currency-indicator {
        width: 45px;
    }

    .modern-avatar {
        width: 70px;
        height: 70px;
    }

    .modern-owner-name {
        font-size: 1.1rem;
    }

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

    .property-meta-modern {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }
}

/* Image Gallery Responsive Fixes */
.property-main-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    scrollbar-width: thin;
}

.gallery-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    border-color: #667eea;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .property-main-image {
        max-height: 300px;
        border-radius: 12px;
    }

    .gallery-thumbnail {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .property-main-image {
        max-height: 250px;
        border-radius: 10px;
    }

    .gallery-thumbnail {
        width: 50px;
        height: 40px;
    }
}

/* Additional Layout Fixes */
.row {
    margin-left: 0;
    margin-right: 0;
}

.col-lg-8, .col-lg-4, .col-md-7, .col-md-5 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

@media (max-width: 576px) {
    .col-lg-8, .col-lg-4, .col-md-7, .col-md-5 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Modern Description Section */
.modern-description-section {
    margin-top: 2rem;
}

.modern-description-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.modern-description-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.description-header-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.description-icon-container {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.description-title-container {
    flex: 1;
}

.modern-description-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.description-decoration {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 2px;
}

.modern-description-content {
    position: relative;
}

.description-text-modern {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 4px solid #4facfe;
}

.modern-description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin: 0;
    text-align: justify;
    position: relative;
    z-index: 2;
}

.description-text-modern::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 10px;
    font-size: 4rem;
    color: #4facfe;
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

.description-text-modern::after {
    content: '"';
    position: absolute;
    bottom: -30px;
    right: 10px;
    font-size: 4rem;
    color: #4facfe;
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

/* Responsive Description Styles */
@media (max-width: 768px) {
    .description-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .modern-description-card {
        padding: 1.5rem;
    }

    .description-text-modern {
        padding: 1rem;
    }

    .modern-description-text {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Standalone Modern Offer Section */
.modern-offer-section-standalone {
    margin-top: 2rem;
}

.modern-offer-card-standalone {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.modern-offer-card-standalone::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

.offer-header-modern-standalone {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.offer-icon-container-standalone {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.offer-title-container-standalone {
    flex: 1;
}

.modern-offer-title-standalone {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.modern-offer-subtitle-standalone {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.modern-offer-form-standalone {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.modern-offer-input-group-standalone {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.modern-offer-label-standalone {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.modern-offer-input-container-standalone {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-indicator-standalone {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    border-right: none;
}

.currency-symbol-standalone {
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.modern-offer-input-standalone {
    width: 100%;
    padding: 1rem 1.5rem 1rem 80px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.modern-offer-input-standalone::placeholder {
    color: rgba(255,255,255,0.7);
}

.modern-offer-input-standalone:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1);
}

.input-decoration-standalone {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.modern-offer-input-standalone:focus + .input-decoration-standalone {
    opacity: 1;
}

.offer-price-info-standalone {
    margin-top: 1rem;
}

.asking-price-standalone {
    color: rgba(255,255,255,0.8);
    font-style: italic;
    font-size: 1rem;
}

.modern-offer-submit-btn-standalone {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(67, 233, 123, 0.3);
}

.modern-offer-submit-btn-standalone:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(67, 233, 123, 0.6);
}

.btn-content-standalone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.btn-ripple-standalone {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-offer-submit-btn-standalone:active .btn-ripple-standalone {
    opacity: 1;
}

/* Responsive Standalone Offer Styles */
@media (max-width: 768px) {
    .modern-offer-card-standalone {
        padding: 2rem;
    }

    .offer-header-modern-standalone {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .offer-icon-container-standalone {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .modern-offer-title-standalone {
        font-size: 2rem;
    }

    .modern-offer-subtitle-standalone {
        font-size: 1.1rem;
    }

    .modern-offer-input-standalone {
        padding: 1.2rem 1.5rem 1.2rem 90px;
        font-size: 1.1rem;
    }

    .currency-indicator-standalone {
        width: 70px;
    }

    .modern-offer-submit-btn-standalone {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .modern-offer-card-standalone {
        padding: 1.5rem;
    }

    .modern-offer-title-standalone {
        font-size: 1.8rem;
    }

    .modern-offer-input-standalone {
        padding: 1rem 1rem 1rem 80px;
        font-size: 1rem;
    }

    .currency-indicator-standalone {
        width: 60px;
    }

    .modern-offer-submit-btn-standalone {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        letter-spacing: 1px;
    }
}

/* Modern Report Section */
.modern-report-section {
    margin-top: 2rem;
}

.modern-report-card {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
    position: relative;
    overflow: hidden;
}

.modern-report-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite reverse;
}

.report-header-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.report-icon-container {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
}

.report-title-container {
    flex: 1;
}

.modern-report-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.modern-report-subtitle {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.3;
}

.modern-report-btn {
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.modern-report-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-content-report {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.btn-ripple-report {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-report-btn:active .btn-ripple-report {
    opacity: 1;
}

/* Responsive Report Styles */
@media (max-width: 768px) {
    .modern-report-card {
        padding: 1.5rem;
    }

    .report-header-modern {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .report-icon-container {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .modern-report-title {
        font-size: 1.3rem;
    }

    .modern-report-subtitle {
        font-size: 0.9rem;
    }

    .modern-report-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* FORCE SMALL ICONS - OVERRIDE ALL OTHER STYLES */
.modern-stats-card .stat-icon,
.modern-stats-grid .stat-item .stat-icon,
div.stat-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    font-size: 0.75rem !important;
    border-radius: 6px !important;
}
