/**
 * Liber Rating - Styles
 * Multi-Rating benzeri tasarım
 */

/* Rating Result */
.liber-rating-result {
    text-align: center;
    padding: 10px 0;
}

.liber-rating-stars {
    margin-bottom: 10px;
}

.liber-stars {
    display: inline-flex;
    gap: 2px;
}

.liber-star svg {
    width: 24px;
    height: 24px;
    fill: #e0e0e0;
    transition: fill 0.2s ease;
}

.liber-star-full svg {
    fill: #d4af37;
}

.liber-star-half svg {
    fill: url(#half-gradient);
}

.liber-star-empty svg {
    fill: #e0e0e0;
}

.liber-rating-score {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
    font-family: 'museo-sans', sans-serif;
}

.liber-rating-count {
    font-size: 14px;
    color: #9b9b9b;
    font-weight: 300;
}

/* Rating Wrapper */
.liber-rating-wrapper {
    text-align: center;
}

/* Sen de Puanla Trigger Button */
.liber-rating-trigger {
    display: block;
    width: 100%;
    padding: 15px 24px;
    background: #FF9E00;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.liber-rating-trigger:hover {
    background: #e68a00;
}

/* Rating Form */
.liber-rating-form {
    text-align: center;
    padding: 15px 0 0;
}

/* Mekanlar template'deki li için özel */
.mekanlar-template-default .place-right .row ul li:has(.liber-rating-wrapper),
.mekanlar-template-default .place-right .row ul li:has(.liber-rating-form) {
    padding: 10px 10px 0;
}

.liber-rating-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.liber-rating-stars-select {
    display: inline-flex;
    gap: 5px;
    margin-bottom: 20px;
}

.liber-star-select {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.liber-star-select svg {
    width: 32px;
    height: 32px;
    fill: #e0e0e0;
    transition: fill 0.2s ease;
}

.liber-star-select:hover svg,
.liber-star-select.active svg,
.liber-star-select.hover svg {
    fill: #d4af37;
}

.liber-star-select:hover {
    transform: scale(1.1);
}

.liber-rating-submit {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #333;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.liber-rating-submit:hover {
    background: #333;
    color: #fff;
}

.liber-rating-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.liber-rating-message {
    margin-top: 15px;
    font-size: 14px;
    color: #4CAF50;
}

.liber-rating-message.error {
    color: #f44336;
}

/* Voted State */
.liber-rating-voted {
    padding: 20px 0;
}

.liber-rating-user-score {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.liber-rating-thanks {
    font-size: 16px;
    color: #4CAF50;
    margin-top: 10px;
}

/* Mekanlar template uyumu */
.mekanlar-template-default .liber-rating-result,
.mekanlar-template-default .liber-rating-form {
    background: transparent;
}

.mekanlar-template-default .liber-rating-submit {
    background: #FF9E00;
    border-color: #FF9E00;
    color: #fff;
    border-radius: 4px;
}

.mekanlar-template-default .liber-rating-submit:hover {
    background: #e68a00;
    border-color: #e68a00;
}

/* Responsive */
@media (max-width: 768px) {
    .liber-rating-score,
    .liber-rating-user-score {
        font-size: 36px;
    }
    
    .liber-star-select svg {
        width: 28px;
        height: 28px;
    }
}

