
/* ========================================================
   HRMS Beneficiary Feedback & Satisfaction Rating Styling
   ======================================================== */
.hrms-feedback-floating-btn {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1040;
    background-color: var(--hrms-secondary, #197A56);
    color: #ffffff !important;
    border: 2px solid #ffffff;
    border-radius: 50px;
    min-height: 44px;
    min-width: 44px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(25, 122, 86, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hrms-feedback-floating-btn:hover {
    background-color: var(--hrms-secondary-hover, #136044);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 28px rgba(19, 96, 68, 0.45);
    color: #ffffff !important;
}

.hrms-rating-stars {
    display: flex;
    justify-content: center;
    gap: 12px;
    direction: rtl;
}

.hrms-rating-stars .star-btn {
    background: transparent;
    border: none;
    outline: none;
    padding: 4px;
    font-size: 2rem;
    color: #CBD5E1;
    cursor: pointer;
    transition: transform 0.15s ease, color 0.15s ease;
}

.hrms-rating-stars .star-btn:hover {
    transform: scale(1.2);
    color: var(--hrms-accent-gold, #A48954);
}

.hrms-rating-stars .star-btn.active {
    color: var(--hrms-accent-gold, #A48954);
}

/* Sub-criteria Star Ratings (RTL aligned with general rating) */
.hrms-subrating-stars {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    direction: rtl;
}

.hrms-subrating-stars .sub-star-btn {
    background: transparent;
    border: none;
    outline: none;
    padding: 2px;
    font-size: 1.25rem;
    color: #CBD5E1;
    cursor: pointer;
    transition: transform 0.15s ease, color 0.15s ease;
}

.hrms-subrating-stars .sub-star-btn:hover {
    transform: scale(1.2);
    color: var(--hrms-accent-gold, #A48954);
}

.hrms-subrating-stars .sub-star-btn.active {
    color: var(--hrms-accent-gold, #A48954);
}

.hrms-subrating-card {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 16px;
    transition: border-color 0.2s ease;
}

.hrms-subrating-card:hover {
    border-color: #CBD5E1;
}

.hrms-subrating-badge {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hrms-secondary, #197A56);
    min-width: 58px;
    text-align: end;
}
