/**
 * Featured Properties Styles
 * Apex27 All-in-One Plugin
 */

/* Featured property badge */
.apex27-featured-badge {
    display: inline-block;
    background: #FFD700;
    color: #333;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Featured property card/listing */
.apex27-featured-property {
    position: relative;
    border: 2px solid #FFD700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Featured property in grid */
.property-grid .apex27-featured-property {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.property-grid .apex27-featured-property:hover {
    transform: scale(1.05);
}

/* Featured property in list view */
.property-list .apex27-featured-property {
    background: linear-gradient(to right, rgba(255, 215, 0, 0.05) 0%, transparent 100%);
    border-left: 4px solid #FFD700;
    padding-left: 20px;
}

/* Featured property title */
.apex27-featured-property .property-title {
    position: relative;
}

.apex27-featured-property .property-title:after {
    content: "⭐";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

/* Admin column indicator */
.column-featured {
    width: 80px;
    text-align: center;
}

.featured-indicator {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ccc;
}

.featured-indicator.is-featured {
    background: #FFD700;
}

/* Featured filter in admin */
.subsubsub .featured a {
    color: #FFD700;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .apex27-featured-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .property-grid .apex27-featured-property {
        transform: none;
    }
}