/* Comments section styling */
.reviews-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.reviews-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.reviews-item--own {
    border-left: 3px solid #FFCB0D;
}

.reviews-item--pending {
    opacity: 0.8;
}

.reviews-item__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.reviews-item__name {
    font-weight: bold;
    font-size: 18px;
    color: #FFCB0D;
}

.reviews-item__info {
    display: flex;
    gap: 15px;
    color: #9ca3af;
    font-size: 14px;
}

.reviews-item__casino {
    position: relative;
}

.reviews-item__casino:after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background-color: #9ca3af;
}

.reviews-item__content {
    color: #fff;
}

.reviews-item__rating {
    margin-bottom: 10px;
}

.reviews-item__text {
    line-height: 1.5;
    white-space: pre-line;
}

.reviews-item__pending {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #FFCB0D;
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.star {
    color: #9ca3af;
    font-size: 20px;
}

.star--full {
    color: #FFCB0D;
}

/* Loading and error messages */
.loading,
.error,
.no-comments {
    text-align: center;
    padding: 30px;
    color: #9ca3af;
}

.error {
    color: #ef4444;
}

/* Toast notification */
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFCB0D;
    color: #000;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    max-width: 350px;
}

.toast-content {
    flex: 1;
}

.toast-link {
    display: block;
    margin-top: 8px;
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}

.toast-close {
    background: none;
    border: none;
    color: #000;
    font-size: 20px;
    cursor: pointer;
    padding: 0 0 0 10px;
}

/* Responsive */
@media (max-width: 767px) {
    .reviews-item__header {
        flex-direction: column;
        gap: 8px;
    }

    .reviews-item__info {
        justify-content: flex-start;
    }

    .toast-notification {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* Character counter for review form */
.character-counter {
    text-align: right;
    font-size: 12px;
    margin-top: 5px;
    color: #9ca3af;
}