﻿
/* Repliy  */
.toggle-replies {
    cursor: pointer;
}
/* Rating star animation  */
.star-container {
    display: flex;
}

.star {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.4s ease-in-out;
}

    .star.show {
        opacity: 1;
        transform: scale(1);
    }




.product-main-img {
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
    transition: transform 0.3s;
}

    .product-main-img:hover {
        transform: scale(1.02);
    }

.product-thumb {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: border 0.2s ease-in;
}

    .product-thumb:hover {
        border-color: red;
        cursor: pointer;
    }

.product-info-box {
    padding: 1.5rem;
    background-color: #1f1f1f;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.1);
}

.product-card {
    transition: transform 0.3s;
}

.product-thumb-hover {
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s;
}

.product-card:hover .product-thumb-hover {
    transform: scale(1.05);
}
.nav-tabs .nav-link {
    border: none;
    font-weight: bold;
    background-color: transparent;
}

    .nav-tabs .nav-link.active {
        border-bottom: 3px solid red;
        color: red;
    }

.modal-content {
    background-color: #121212;
    color: white;
}
.comment-box {
    background-color: #1e1e1e;
    border-left: 5px solid #dc3545;
    transition: all 0.3s ease;
}

.reply-box {
    background-color: #2a2a2a;
    border-left: 3px solid red;
    padding-left: 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease-in-out;
}

    .reply-box:hover {
        background-color: #333333;
    }
.emoji-btn {
    background-color: #333;
    color: white;
    border: none;
    border-radius: 5px;
    width: 36px;
    height: 36px;
    font-size: 18px;
}

    .emoji-btn:hover {
        background-color: #dc3545;
        color: white;
    }

.modal-content {
    background-color: #121212;
    color: #f1f1f1;
}

.modal-body {
    font-family: 'Segoe UI', sans-serif;
}


/* Rating input styling */
.rating-input {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.star-select {
    cursor: pointer;
    color: #555;
    transition: color 0.2s;
}

    .star-select:hover, .star-select.active {
        color: gold;
    }

        .star-select:hover ~ .star-select {
            color: #555;
        }

/* Review cards */
.review-card {
    transition: transform 0.2s;
    border-left: 4px solid transparent;
}

    .review-card:hover {
        transform: translateY(-3px);
        border-left-color: #0d6efd;
    }

/* Reaction buttons */
.reaction-buttons .btn {
    border-radius: 20px;
    margin-right: 5px;
    transition: all 0.2s;
}

    .reaction-buttons .btn:hover {
        transform: scale(1.2);
    }

.reaction-btn.active {
    background-color: #212529;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .rating-summary .col-md-4 {
        border-bottom: 1px solid #444;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
    }
}