.tinreal-vs-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.tinreal-vs-card {
    border-radius: 8px;
    padding: 14px;
    border-left: 5px solid #ccc;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

.tinreal-vs-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.tinreal-vs-badge {
    display: inline-block;
    background: #333;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: .3px;
}

.tinreal-vs-type-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: .5px;
}

.tinreal-vs-duration {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

.tinreal-vs-card-body {
    font-size: 13px;
    line-height: 1.5;
}

.tinreal-vs-room {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
    color: #222;
}

.tinreal-vs-action {
    color: #444;
    margin-bottom: 4px;
}

.tinreal-vs-narration {
    color: #666;
    font-size: 12px;
}

/* Type colors */
.tinreal-vs-type-exterier {
    border-left-color: #2ecc71;
    background: #f0faf4;
}
.tinreal-vs-type-exterier .tinreal-vs-type-badge {
    background: #2ecc71;
    color: #fff;
}

.tinreal-vs-type-interier {
    border-left-color: #3498db;
    background: #f0f7fe;
}
.tinreal-vs-type-interier .tinreal-vs-type-badge {
    background: #3498db;
    color: #fff;
}

.tinreal-vs-type-highlight {
    border-left-color: #f39c12;
    background: #fffbf0;
}
.tinreal-vs-type-highlight .tinreal-vs-type-badge {
    background: #f39c12;
    color: #fff;
}

/* Footer */
.tinreal-vs-total {
    text-align: center;
    font-size: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 12px;
    color: #333;
}

.tinreal-vs-actions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.tinreal-vs-actions .btn {
    flex: 1;
    font-size: 13px;
}

.tinreal-vs-tip {
    background: #eaf7ea;
    border: 1px solid #c3e6c3;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 12px;
    color: #2d6a2d;
    line-height: 1.5;
}

.tinreal-vs-error {
    background: #fce4e4;
    border: 1px solid #f5c6c6;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 13px;
    color: #a94442;
}

/* Sidebar admin */
#tinreal-vs-box .inside {
    margin: 0;
    padding: 0;
}

/* Print */
@media print {
    .tinreal-vs-actions,
    .tinreal-vs-tip,
    #tinreal-vs-generate,
    #tinreal-vs-loading {
        display: none !important;
    }
    .tinreal-vs-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    #tinreal-vs-result {
        display: block !important;
    }
}

/* Fix for Houzez dashboard block-wrap */
.block-wrap .tinreal-vs-card {
    font-size: 13px;
}
.block-wrap .tinreal-vs-card-body {
    color: #444;
}
