/* Rate This Tool card (v1.30.0) — style approved by the owner from a
   reference screenshot, in iWebSeoTool blue/navy branding. */
.iweb-rate {
    background: #ffffff;
    border: 1px solid #e3edff;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 42, 77, 0.07);
    padding: 22px;
    margin: 28px 0;
    font-family: inherit;
}
.iweb-rate-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.iweb-rate-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff3cf;
    color: #f6b73c;
    font-size: 22px;
    line-height: 1;
}
.iweb-rate-head-text strong {
    display: block;
    color: #0f2a4d;
    font-size: 19px;
    line-height: 1.25;
}
.iweb-rate-head-text small {
    color: #7a8aa0;
    font-size: 13px;
}
.iweb-rate-panel {
    display: flex;
    align-items: center;
    gap: 26px;
    background: #f4f9ff;
    border: 1px solid #e3edff;
    border-radius: 14px;
    padding: 16px 22px;
    flex-wrap: wrap;
}
.iweb-rate-score strong {
    display: block;
    color: #0f2a4d;
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
}
.iweb-rate-score strong.iweb-rate-avg-none {
    font-size: 20px;
    line-height: 1.25;
    max-width: 110px;
}
.iweb-rate-score span {
    color: #93a5bb;
    font-size: 11px;
    letter-spacing: 1.5px;
}
.iweb-rate-stars {
    position: relative;
    display: inline-block;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 3px;
    margin-bottom: 8px;
}
.iweb-rate-stars-bg {
    color: #d7e0ec;
}
.iweb-rate-stars-fg {
    position: absolute;
    left: 0;
    top: 0;
    overflow: hidden;
    white-space: nowrap;
    color: #f6b73c;
}
.iweb-rate-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.iweb-rate-pill {
    border: 1px solid #dbe7ff;
    background: #ffffff;
    color: #41597a;
    border-radius: 999px;
    padding: 3px 11px;
    font-size: 12.5px;
    line-height: 1.5;
}
.iweb-rate-pill.iweb-rate-top {
    background: #e8f9f0;
    border-color: #bfe9d2;
    color: #0a7a43;
}
.iweb-rate-label {
    text-align: center;
    color: #7a8aa0;
    font-size: 14px;
    margin: 18px 0 6px;
}
.iweb-rate-input {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.iweb-rate-star {
    background: none;
    border: 0;
    padding: 2px;
    margin: 0;
    font-size: 36px;
    line-height: 1;
    color: #c9d6e8;
    cursor: pointer;
    transition: color 0.12s ease, transform 0.12s ease;
}
.iweb-rate-star:hover,
.iweb-rate-star.is-hover {
    transform: translateY(-2px);
}
.iweb-rate-star.is-on,
.iweb-rate-star.is-hover {
    color: #f6b73c;
}
.iweb-rate-star:disabled {
    cursor: default;
    transform: none;
}
.iweb-rate-msg {
    background: #e8f9f0;
    color: #0a7a43;
    border-radius: 10px;
    text-align: center;
    padding: 11px 14px;
    margin: 16px 0 0;
    font-size: 14.5px;
}
@media (max-width: 560px) {
    .iweb-rate-panel {
        gap: 14px;
    }
    .iweb-rate-score strong {
        font-size: 36px;
    }
    .iweb-rate-star {
        font-size: 31px;
    }
}

/* Save tool row inside the rating card (v1.47.0) */
.iweb-rate-save {
    border-top: 1px solid #e8eefb;
    margin-top: 18px;
    padding-top: 16px;
    text-align: center;
}
.iweb-rate-save .iweb-tool-actions {
    margin: 0;
    text-align: center;
}
.iweb-rate .iweb-save-btn {
    background: #fff;
    border: 1.5px solid #0b5ed7;
    color: #0b5ed7;
    font-weight: 600;
    font-size: 14.5px;
    padding: 8px 20px;
    border-radius: 99px;
    cursor: pointer;
}
.iweb-rate .iweb-save-btn:hover {
    background: #eef4ff;
}
.iweb-rate .iweb-save-btn.iweb-saved {
    background: #0b5ed7;
    color: #fff;
}

/* Share This Tool box (v1.47.0) — reference layout: bordered box,
   small-caps grey title, square outline icon buttons. */
.iweb-share {
    background: #ffffff;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    padding: 18px 22px 20px;
    margin: 20px 0 28px;
}
.iweb-share-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #7c8aa0;
    margin-bottom: 14px;
}
.iweb-share-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.iweb-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #d5dfef;
    border-radius: 9px;
    background: #fff;
    color: #40506a;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.iweb-share-btn:hover {
    border-color: #0b5ed7;
    color: #0b5ed7;
    transform: translateY(-2px);
}
.iweb-share-msg {
    display: inline-block;
    margin-top: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #0a7a43;
}
.iweb-share-msg[hidden] {
    display: none;
}

/* In-tool icon rail (v1.48.0): Save star + share icons at the top-right
   inside the tool box. */
.iweb-tool-rail {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin: 0 0 28px;
}
.iweb-rail-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #d5dfef;
    border-radius: 8px;
    background: #fff;
    color: #40506a;
    cursor: pointer;
    text-decoration: none;
    font-size: 19px;
    line-height: 1;
    padding: 0;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.iweb-rail-btn:hover {
    border-color: #0b5ed7;
    color: #0b5ed7;
}
.iweb-rail-save.iweb-saved {
    background: #0b5ed7;
    border-color: #0b5ed7;
    color: #fff;
}
.iweb-rail-btn.iweb-copied {
    border-color: #0a7a43;
    color: #0a7a43;
}
