body {
    margin: 0;
    padding: 0;
    background: #f5f7fa;
    font-family: "Segoe UI", sans-serif;
}
.review-card {
    width: min(600px, calc(100% - 24px));
    margin: 15px auto;
    padding: 25px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.10);
    text-align: center;
}
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.clinic-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
    box-shadow: 0 12px 25px rgba(0,0,0,.12);
}
.clinic-name {
    font-size: 26px;
    font-weight: bold;
    margin-top: 10px;
}

.message {
    margin-top: 15px;
    color: #666;
    font-size: 15px;
    line-height: 22px;
}

.stars {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}
.star {
    font-size: 40px;
    color: #cfcfcf;
    cursor: pointer;
    transition: all .18s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 6px;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

    .star:hover {
        transform: scale(1.15);
    }

.selected {
    color: #ffc107;
    transform: scale(1.15);
}

.star:active {
    transform: scale(.92);
}

#result {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #0d6efd;
}

.hovered {
    color: #ffc107;
}

textarea {
    margin-top: 20px;
    border-radius: 10px;
}

.btn {
    border-radius: 10px;
    padding: 10px 25px;
}
@media (max-width:600px) {

    .review-card {
        width: calc(100% - 16px);
        margin: 10px auto;
        padding: 20px 15px;
    }

    .clinic-logo {
        width: 90px;
        height: 90px;
    }
    
    .clinic-name {
        font-size: 22px;
    }

    .stars {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 4px;
        flex-wrap: nowrap;
    }

    .star {
        font-size: 36px;
        padding: 4px;
    }

    #selectedRating {
        min-height: 30px;
        margin-top: 12px;
        font-size: 18px;
        font-weight: 600;
        transition: .25s;
    }
    textarea {
        margin-top: 20px;
        border-radius: 14px !important;
        padding: 15px !important;
        resize: none;
    }

    .btn {
        border-radius: 12px !important;
        font-weight: 600;
        height: 48px;
    }

    #charCount {
        color: #888;
    }
}
