/* Custom scrollbar to match dark theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #2D2D2D;
}

::-webkit-scrollbar-thumb {
    background: #4A4A4A;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00B3A4;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.review-text-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-text-expanded {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    -webkit-line-clamp: unset !important;
    overflow: visible !important;
}

.star-filled {
    color: #EAB308;
}

.star-empty {
    color: #4A4A4A;
}

.star-rating-group {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.star-rating-group input[type="radio"] {
    display: none;
}

.star-rating-group label {
    cursor: pointer;
    font-size: 1.75rem;
    color: #4A4A4A;
    transition: color 0.15s ease, transform 0.1s ease;
}

.star-rating-group label:hover,
.star-rating-group label:hover ~ label,
.star-rating-group input[type="radio"]:checked ~ label {
    color: #EAB308;
}

.star-rating-group label:hover {
    transform: scale(1.15);
}

.youtube-preview {
    display: none;
}

.youtube-preview.active {
    display: block;
}

textarea:focus, input:focus {
    outline: none;
}

.form-input {
    background: #2D2D2D;
    border: 1px solid #4A4A4A;
    color: #E0E0E0;
    border-radius: 0.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    border-color: #00B3A4;
    box-shadow: 0 0 0 3px rgba(0, 179, 164, 0.15);
}

.form-input::placeholder {
    color: #A0A0A0;
}

.char-counter {
    transition: color 0.2s ease;
}

.char-counter.warning {
    color: #F59E0B;
}

.char-counter.danger {
    color: #EF4444;
}

.stat-divider
{
    background: linear-gradient(to bottom, transparent, #4A4A4A, transparent);
}
.review-text-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-text-expanded {
    display: block !important;
    -webkit-line-clamp: unset !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}
