/* DekatRumah Property Insight Card */

/* Float animation */
@keyframes drFloat33003b52 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Pulse ring */
@keyframes drPulse33003b52 {
    0% { transform: scale(1); opacity: 0.5; }
    70% { transform: scale(2.2); opacity: 0; }
    100% { transform: scale(2.2); opacity: 0; }
}

/* Chart line draw */
@keyframes drChartDraw33003b52 {
    from { stroke-dashoffset: 200; }
    to { stroke-dashoffset: 0; }
}

/* Chart area fade */
@keyframes drChartFade33003b52 {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Chart dot pulse */
@keyframes drDotPulse33003b52 {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.6); opacity: 0.7; }
}

/* Live dot blink */
@keyframes drLiveBlink33003b52 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Wrapper */
.dr-insight-wrapper-33003b52 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    pointer-events: none;
}

/* Card */
.dr-insight-card-33003b52 {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 24px;
    width: 280px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.06),
        0 10px 30px -5px rgba(37, 99, 235, 0.1),
        0 0 0 1px rgba(37, 99, 235, 0.04);
    animation: drFloat33003b52 5s ease-in-out infinite;
    will-change: transform;
    pointer-events: auto;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
}

/* Header */
.dr-insight-header-33003b52 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.dr-insight-icon-33003b52 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 8px;
    flex-shrink: 0;
}

.dr-insight-label-33003b52 {
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.01em;
    line-height: 1.3;
}

/* Body */
.dr-insight-body-33003b52 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

/* Stat with pulse */
.dr-insight-stat-33003b52 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dr-insight-pulse-ring-33003b52 {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    animation: drPulse33003b52 2.5s ease-out infinite;
    will-change: transform, opacity;
}

.dr-insight-value-33003b52 {
    font-size: 32px;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: -0.02em;
    line-height: 1;
    position: relative;
    z-index: 1;
}

/* Chart */
.dr-insight-chart-33003b52 {
    flex: 1;
    min-width: 0;
    height: 40px;
    overflow: hidden;
}

.dr-chart-svg-33003b52 {
    width: 100%;
    height: 100%;
    display: block;
}

.dr-chart-line-33003b52 {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drChartDraw33003b52 2s ease-out 0.3s forwards;
}

.dr-chart-area-33003b52 {
    opacity: 0;
    animation: drChartFade33003b52 1s ease-out 1.2s forwards;
}

.dr-chart-dot-33003b52 {
    animation: drDotPulse33003b52 2s ease-in-out infinite;
    transform-origin: center;
}

/* Footer */
.dr-insight-footer-33003b52 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.dr-insight-period-33003b52 {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.01em;
}

.dr-insight-live-33003b52 {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #2563eb;
    letter-spacing: 0.02em;
}

.dr-live-dot-33003b52 {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2563eb;
    animation: drLiveBlink33003b52 1.5s ease-in-out infinite;
    will-change: opacity;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .dr-insight-card-33003b52 {
        animation: none;
    }
    .dr-insight-pulse-ring-33003b52 {
        animation: none;
        opacity: 0.15;
    }
    .dr-chart-line-33003b52 {
        animation: none;
        stroke-dashoffset: 0;
    }
    .dr-chart-area-33003b52 {
        animation: none;
        opacity: 1;
    }
    .dr-chart-dot-33003b52 {
        animation: none;
    }
    .dr-live-dot-33003b52 {
        animation: none;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .dr-insight-card-33003b52 {
        width: 260px;
        padding: 18px 20px;
    }
    .dr-insight-value-33003b52 {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .dr-insight-wrapper-33003b52 {
        justify-content: center;
    }
    .dr-insight-card-33003b52 {
        width: 100%;
        max-width: 320px;
        animation: none;
        padding: 18px 20px;
    }
}
