/* ================================================================
   AJ03 Star Rating Plugin — aj03-star-rating.css
   Brand: Gold #D1AE52 | Dark #1A1A18
   ================================================================ */

.aj03-rating-wrap {
    text-align: center;
    margin: 14px 0 18px;
    font-family: inherit;
}

/* Stars row */
.aj03-stars {
    display: inline-flex;
    gap: 5px;
    margin-bottom: 6px;
}

.aj03-star {
    position: relative;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    user-select: none;
    transition: transform 0.12s ease, color 0.12s ease;
    color: #D8D0C0; /* empty */
}

.aj03-star.aj03-star-full {
    color: #D1AE52;
}

.aj03-star.aj03-star-empty {
    color: #D8D0C0;
}

/* Half star: overlay technique */
.aj03-star.aj03-star-half {
    color: #D8D0C0;
}

.aj03-star.aj03-star-half .aj03-star-inner {
    display: none;
}

.aj03-star.aj03-star-half .aj03-star-half-fill {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    overflow: hidden;
    color: #D1AE52;
    display: inline-block;
}

/* Hover highlight — only when not voted */
.aj03-stars:not(.aj03-voted) .aj03-star:hover,
.aj03-stars:not(.aj03-voted) .aj03-star.aj03-hover {
    transform: scale(1.2);
    color: #D1AE52;
}

/* Lock cursor after voting */
.aj03-voted .aj03-star {
    cursor: default;
}

/* Score line */
.aj03-rating-score {
    font-size: 14px;
    color: #2C2C2A;
    font-weight: 600;
    margin-bottom: 4px;
}

.aj03-score-num {
    font-size: 18px;
    font-weight: 800;
    color: #1A1A18;
}

.aj03-score-sep {
    font-size: 14px;
    color: #7A7568;
    margin: 0 2px;
}

.aj03-score-count {
    font-size: 13px;
    color: #7A7568;
}

/* Status message */
.aj03-rating-msg {
    font-size: 12px;
    font-weight: 700;
    color: #D1AE52;
    min-height: 18px;
    margin-top: 2px;
}

.aj03-rating-msg.aj03-msg-done {
    color: #7A7568;
}

/* Submitting spinner state */
.aj03-rating-msg.aj03-submitting {
    color: #9E7D23;
    font-style: italic;
}
