/**
 * TutorPrestige - Urgency Banner Styles
 *
 * @package TutorPrestige
 * @since 2.0.0
 */

/* Urgency banner container */
.tutorprestige-urgency-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 50%, #fffbeb 100%);
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    animation: tutorprestigeUrgencyIn 0.5s ease both;
}

@keyframes tutorprestigeUrgencyIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Inner content */
.tutorprestige-urgency-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Icon */
.tutorprestige-urgency-icon {
    font-size: 20px;
    animation: tutorprestigeUrgencyPulse 1.5s infinite;
}

@keyframes tutorprestigeUrgencyPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Text */
.tutorprestige-urgency-text {
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    line-height: 1.4;
}

/* Count badge */
.tutorprestige-urgency-count {
    display: inline-flex;
    align-items: center;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #78350f;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* People section */
.tutorprestige-urgency-people {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Avatars row */
.tutorprestige-urgency-avatars {
    display: flex;
    align-items: center;
    gap: 0;
    margin-right: 6px;
}

/* Individual avatar circle */
.tutorprestige-urgency-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border: 2px solid #fff;
    margin-right: -8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.tutorprestige-urgency-avatar:hover {
    transform: scale(1.15);
    z-index: 2;
}

/* People text */
.tutorprestige-urgency-people-text {
    font-size: 12px;
    color: #78350f;
    font-style: italic;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    .tutorprestige-urgency-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 14px;
        gap: 10px;
    }

    .tutorprestige-urgency-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .tutorprestige-urgency-text {
        font-size: 13px;
    }

    .tutorprestige-urgency-people-text {
        display: none;
    }
}
