/**
 * Frontend Styles
 */

/* ============================================
   Single Listing Page - Bozkurt MODERN Style
   ============================================ */

/* Top Bar */
.bozkurt-modern-listing .listing-top-bar {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.bozkurt-modern-listing .top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bozkurt-modern-listing .price-display {
    font-size: 32px;
    font-weight: 700;
    color: #e74c3c;
}

.bozkurt-modern-listing .action-buttons {
    display: flex;
    gap: 10px;
}

.bozkurt-modern-listing .btn-action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bozkurt-modern-listing .btn-action:hover {
    border-color: #e74c3c;
    color: #e74c3c;
    transform: translateY(-2px);
}

/* Modern Gallery */
.bozkurt-modern-listing .main-gallery-wrapper {
    margin-bottom: 40px;
}

.bozkurt-modern-listing .modern-gallery-slider {
    position: relative;
}

.bozkurt-modern-listing .slider-container {
    height: 600px;
    overflow: hidden;
    position: relative;
}

.bozkurt-modern-listing .slide-item {
    display: none;
    height: 100%;
}

.bozkurt-modern-listing .slide-item.active {
    display: block;
}

.bozkurt-modern-listing .slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bozkurt-modern-listing .slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.bozkurt-modern-listing .slider-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    transition: all 0.3s;
}

.bozkurt-modern-listing .slider-controls button:hover {
    background: #e74c3c;
    color: #fff;
}

.bozkurt-modern-listing .slider-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px 0;
    overflow-x: auto;
}

.bozkurt-modern-listing .thumb-item {
    flex: 0 0 120px;
    height: 80px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    border-radius: 8px;
    overflow: hidden;
}

.bozkurt-modern-listing .thumb-item.active,
.bozkurt-modern-listing .thumb-item:hover {
    opacity: 1;
}

.bozkurt-modern-listing .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Layout */
.bozkurt-modern-listing .listing-content-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .bozkurt-modern-listing .listing-content-layout {
        grid-template-columns: 1fr;
    }
}

/* Title Section */
.bozkurt-modern-listing .listing-main-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.bozkurt-modern-listing .quick-info-bar {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.bozkurt-modern-listing .info-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    color: #555;
}

.bozkurt-modern-listing .info-ref strong {
    color: #e74c3c;
}

/* Key Features Bar */
.bozkurt-modern-listing .key-features-bar {
    display: flex;
    gap: 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    padding: 25px 30px;
    border-radius: 12px;
    margin: 30px 0;
    color: #fff;
}

.bozkurt-modern-listing .feature-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bozkurt-modern-listing .feature-icon {
    font-size: 28px;
    opacity: 0.9;
}

.bozkurt-modern-listing .feature-text {
    font-size: 18px;
    font-weight: 600;
}

.bozkurt-modern-listing .feature-text small {
    font-size: 13px;
    opacity: 0.8;
    display: block;
}

/* Description */
.bozkurt-modern-listing .description-section {
    margin-bottom: 40px;
}

.bozkurt-modern-listing .section-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    padding-bottom: 10px;
    border-bottom: 3px solid #e74c3c;
}

.bozkurt-modern-listing .listing-description-content {
    font-size: 16px;
    line-height: 1.8;
    color: #34495e;
}

/* Features Accordion */
.bozkurt-modern-listing .features-accordion {
    margin-bottom: 40px;
}

.bozkurt-modern-listing .feature-category {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.bozkurt-modern-listing .feature-category h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.bozkurt-modern-listing .feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bozkurt-modern-listing .chip {
    padding: 8px 16px;
    background: #fff;
    border: 2px solid #e74c3c;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #e74c3c;
}

/* Agent Card */
.bozkurt-modern-listing .agent-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.bozkurt-modern-listing .agent-profile-header {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.bozkurt-modern-listing .agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #fff;
}

.bozkurt-modern-listing .agent-names h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #2c3e50;
}

.bozkurt-modern-listing .office-name {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

.bozkurt-modern-listing .license-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

.bozkurt-modern-listing .license-info .dashicons {
    color: #e74c3c;
    font-size: 20px;
}

.bozkurt-modern-listing .contact-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bozkurt-modern-listing .btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
}

.bozkurt-modern-listing .btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
}

.bozkurt-modern-listing .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.bozkurt-modern-listing .btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1ebc57 100%);
    color: #fff;
}

.bozkurt-modern-listing .btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.bozkurt-modern-listing .btn-secondary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
}

.bozkurt-modern-listing .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.bozkurt-modern-listing .location-info-mini {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.bozkurt-modern-listing .location-info-mini .dashicons {
    color: #e74c3c;
    font-size: 20px;
}

/* Old styles kept for compatibility */
.moovian-listing-single.bozkurt-style {
    padding: 40px 0;
    background: #f8f9fa;
}

/* Hero Section */
.listing-hero-section {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(231, 76, 60, 0.3);
}

.listing-title {
    font-size: 32px;
    margin: 0 0 15px 0;
    font-weight: 700;
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.listing-price-display .price-amount {
    font-size: 36px;
    font-weight: 700;
    display: block;
}

.listing-actions {
    display: flex;
    gap: 10px;
}

/* Gallery Slider */
.listing-main-gallery {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.gallery-slider {
    position: relative;
    height: 500px;
}

.gallery-slider .slide {
    display: none;
    height: 100%;
}

.gallery-slider .slide.active {
    display: block;
}

.gallery-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    padding: 15px;
    overflow-x: auto;
    background: #f0f0f0;
}

.gallery-thumbnails .thumbnail {
    flex: 0 0 100px;
    height: 75px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    border-radius: 5px;
    overflow: hidden;
}

.gallery-thumbnails .thumbnail.active,
.gallery-thumbnails .thumbnail:hover {
    opacity: 1;
}

.gallery-thumbnails img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Property Summary Grid */
.property-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.summary-item {
    text-align: center;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s;
}

.summary-item:hover {
    border-color: #e74c3c;
    background: #fef9f9;
}

.summary-icon {
    font-size: 28px;
    color: #e74c3c;
    display: block;
    margin-bottom: 10px;
}

.summary-label {
    display: block;
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.summary-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

/* Two Column Layout */
.listing-two-column {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 968px) {
    .listing-two-column {
        grid-template-columns: 1fr;
    }
}

/* Section Blocks */
.listing-section-block {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.section-title {
    font-size: 24px;
    color: #e74c3c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
}

/* Property Details Table */
.property-details-table {
    margin-top: 20px;
}

.details-row-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.property-detail-row {
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
}

.property-detail-row .detail-label {
    display: block;
    font-size: 13px;
    color: #7f8c8d;
    font-weight: 600;
    margin-bottom: 5px;
}

.property-detail-row .detail-value {
    display: block;
    font-size: 16px;
    color: #2c3e50;
    font-weight: 600;
}

/* Features Categories */
.features-category {
    margin-bottom: 25px;
}

.features-category h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.feature-badge {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

/* Sidebar Boxes */
.listing-right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.agent-contact-box,
.location-box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.agent-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.agent-header h3 {
    font-size: 20px;
    color: #2c3e50;
    margin: 0 0 8px 0;
}

.agent-office,
.agent-license {
    font-size: 14px;
    color: #7f8c8d;
    margin: 5px 0;
}

.agent-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-call,
.btn-whatsapp,
.btn-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-call {
    background: #3498db;
    color: #fff;
}

.btn-call:hover {
    background: #2980b9;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1ebc57;
}

.btn-email {
    background: #e74c3c;
    color: #fff;
}

.btn-email:hover {
    background: #c0392b;
}

/* Location Box */
.location-box h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.location-text,
.address-text {
    font-size: 15px;
    line-height: 1.6;
    color: #34495e;
}

/* Description */
.listing-description {
    font-size: 16px;
    line-height: 1.8;
    color: #34495e;
}

.listing-description p {
    margin-bottom: 15px;
}

/* Form Container (existing) */
.moovian-add-listing-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

/* Section Titles */
.moovian-add-listing-form .form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.moovian-add-listing-form .form-section:last-child {
    border-bottom: none;
}

.moovian-add-listing-form .form-section h3 {
    font-size: 22px;
    color: #e74c3c;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e74c3c;
    display: inline-block;
}

.moovian-add-listing-form .features-group h4 {
    font-size: 16px;
    color: #2c3e50;
    margin: 20px 0 15px 0;
    font-weight: 600;
}

/* Form Groups */
.moovian-add-listing-form .form-group {
    margin-bottom: 25px;
}

.moovian-add-listing-form .form-group.full-width {
    width: 100%;
}

.moovian-add-listing-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.moovian-add-listing-form .required {
    color: #e74c3c;
    margin-left: 3px;
}

/* Form Controls */
.moovian-add-listing-form .form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
    background: #fff;
}

.moovian-add-listing-form .form-control:focus {
    outline: none;
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.moovian-add-listing-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.moovian-add-listing-form select.form-control {
    cursor: pointer;
}

/* Form Row (Grid Layout) */
.moovian-add-listing-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .moovian-add-listing-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Checkbox & Radio Groups */
.moovian-add-listing-form .checkbox-group,
.moovian-add-listing-form .radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.moovian-add-listing-form .checkbox-group label,
.moovian-add-listing-form .radio-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 5px;
    transition: all 0.3s;
}

.moovian-add-listing-form .checkbox-group label:hover,
.moovian-add-listing-form .radio-group label:hover {
    background: #f8f9fa;
    border-color: #e74c3c;
}

.moovian-add-listing-form .checkbox-group input[type="checkbox"],
.moovian-add-listing-form .radio-group input[type="radio"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Submit Button */
.moovian-add-listing-form .form-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.moovian-add-listing-form .button-primary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    border: none;
    padding: 16px 50px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.moovian-add-listing-form .button-primary:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

/* Success & Error Messages */
.moovian-success-message {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
    padding: 18px 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
}

.moovian-error-message {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    padding: 18px 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(231, 76, 60, 0.3);
}

.moovian-login-required {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: #fff;
    padding: 18px 25px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(243, 156, 18, 0.3);
}

/* Success & Error Messages */
.moovian-success-message {
    background: #2ecc71;
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.moovian-error-message {
    background: #e74c3c;
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.moovian-login-required {
    background: #f39c12;
    color: #fff;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

/* Search Form Styles */
.moovian-search-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.search-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.search-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.search-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
}

.search-submit {
    text-align: center;
}

.search-button {
    background: #3498db;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-button:hover {
    background: #2980b9;
}

/* Dashboard Login */
.moovian-dashboard-login {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.moovian-dashboard-login h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.moovian-dashboard-login p {
    color: #7f8c8d;
    margin-bottom: 25px;
}

/* Social Share Buttons */
.moovian-share-buttons {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.moovian-share-horizontal {
    flex-wrap: wrap;
}

.share-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: transform 0.3s, opacity 0.3s;
}

.share-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-whatsapp { background: #25d366; }
.share-linkedin { background: #0077b5; }
.share-email { background: #ea4335; }
.share-copy { background: #6c757d; }

/* Favorites Button */
.favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.favorite-btn.active {
    background: #e74c3c;
    color: white;
}

.favorite-btn .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* Reviews & Ratings */
.rating-summary {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

.average-rating {
    display: inline-block;
}

.rating-number {
    font-size: 4em;
    font-weight: bold;
    color: #2c3e50;
    line-height: 1;
}

.star-display,
.review-stars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 10px 0;
}

.star {
    font-size: 1.8em;
    color: #ddd;
}

.star.filled {
    color: #f39c12;
}

.rating-count {
    color: #7f8c8d;
    font-size: 1.1em;
}

.review-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.review-form h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
}

.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.star-rating-input label {
    font-size: 2em;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input[type="radio"]:checked ~ label {
    color: #f39c12;
}

.submit-review-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin: 15px 0;
    resize: vertical;
}

.reviews-list {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.review-item {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-author {
    font-size: 1.1em;
    font-weight: 600;
}

.review-date {
    color: #7f8c8d;
    font-size: 0.9em;
}

.review-content {
    color: #333;
    line-height: 1.6;
}

.no-reviews {
    text-align: center;
    color: #7f8c8d;
    padding: 40px;
}

/* Favorites Grid */
.moovian-favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.favorite-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.favorite-card:hover {
    transform: translateY(-5px);
}

.favorite-thumb {
    display: block;
    height: 200px;
    overflow: hidden;
}

.favorite-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.favorite-card:hover .favorite-thumb img {
    transform: scale(1.1);
}

.favorite-info {
    padding: 20px;
}

.favorite-info h4 {
    margin: 0 0 10px;
    font-size: 1.2em;
}

.favorite-info h4 a {
    color: #2c3e50;
    text-decoration: none;
}

.favorite-price {
    font-size: 1.3em;
    font-weight: bold;
    color: #2ecc71;
    margin-bottom: 15px;
}

.remove-favorite {
    width: 100%;
    background: #e74c3c;
    color: white;
    border: none;
}

.remove-favorite:hover {
    background: #c0392b;
}

.no-favorites {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.no-favorites h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #2c3e50;
}

.no-favorites p {
    color: #7f8c8d;
}

/* Map Container */
.moovian-map-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin: 20px 0;
}

.map-canvas {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Custom Fields Display */
.custom-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.custom-field-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border-left: 3px solid #3498db;
}

.custom-field-label {
    font-size: 0.9em;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.custom-field-value {
    font-size: 1.1em;
    font-weight: 600;
    color: #2c3e50;
}

/* Responsive */
@media (max-width: 768px) {
    .moovian-add-listing-form {
        padding: 20px;
    }
    
    .search-form-row {
        grid-template-columns: 1fr;
    }
    
    .search-submit {
        width: 100%;
    }
    
    .search-button {
        width: 100%;
    }
    
    .moovian-share-buttons {
        flex-direction: column;
    }
    
    .share-button {
        width: 100%;
        justify-content: center;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .custom-fields-grid {
        grid-template-columns: 1fr;
    }
}
