.tip-goal-widget {
    background: rgba(12, 12, 16, 0.75);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
}

.tip-goal-widget__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tip-goal-widget__title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

.tip-goal-widget__list,
.tip-goal-widget__recent {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tip-goal-widget__recent-title {
    margin-top: 18px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
}

.tip-goal-widget__empty {
    font-size: 0.9rem;
    opacity: 0.65;
    padding: 12px 0;
}

.tip-goal-card {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tip-goal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.tip-goal-card__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 8px;
}

.tip-goal-card__title {
    font-weight: 600;
    font-size: 1rem;
}

.tip-goal-card__value {
    font-size: 0.85rem;
    opacity: 0.8;
}

.tip-goal-card__progress {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    overflow: hidden;
}

.tip-goal-card__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff7a18, #ffca3a);
    transition: width 0.8s ease;
}

.tip-goal-card__meta {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 6px;
}

.tip-goal-card--flash {
    animation: tipGoalPulse 1.2s ease;
}

.tip-goal-card--complete {
    box-shadow: 0 0 12px rgba(255, 202, 58, 0.6);
    border-color: rgba(255, 202, 58, 0.8);
}

@keyframes tipGoalPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.tip-goal-widget--girlinfo {
    background: #111;
    border-color: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .tip-goal-widget {
        padding: 12px;
    }

    .tip-goal-card__header {
        flex-direction: column;
        align-items: flex-start;
    }
}
