/* Reviews Hub Styles - Light Modern Theme */
:root {
    --reviews-accent: #1e2022;
    --reviews-accent-light: #333639;
    --reviews-bg-light: #fdfdfd;
    --reviews-text-muted: #666;
    --reviews-star-active: #ffc107;
}

.reviews-hub {
    padding: 100px 0;
    background: #ffffff;
    color: #1a1a1a;
}

.reviews-header h2 {
    margin-bottom: 10px;
}

.reviews-nav-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.review-action-card {
    background: #fdfdfd;
    padding: 40px 30px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 280px;
    min-height: 250px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.review-action-card i {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
    transition: transform 0.3s ease;
}

.review-action-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.review-action-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.review-action-card:hover {
    transform: translateY(-8px);
    background: #ffffff;
    border-color: #000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.review-action-card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: #000;
}

/* Modal Enhancements */
.modal-content {
    background: #fff;
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 30px;
}

.modal-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #1a1a1a;
}

.btn-close {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #000;
    opacity: 1;
    filter: invert(0);
    padding: 10px;
    border-radius: 50%;
    background-size: 50%;
    transition: all 0.2s ease;
    z-index: 10;
}

.btn-close:hover {
    transform: translateY(-50%) rotate(90deg);
    background-color: #333;
}

.btn-close.btn-close-white {
    background-color: #000;
    filter: invert(1) !important;
}
.btn-close.btn-close-white:hover {
    background-color: #111;
}

/* Feedback List Styles */
#reviewsList {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

.review-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.review-item h4 {
    margin-bottom: 5px;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 600;
}

.review-stars {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 12px;
}

.review-text {
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* Star Rating Interaction */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}
.star-rating input[type="radio"] {
    display: none;
}
.star-rating label {
    font-size: 35px;
    color: #e4e5e9;
    cursor: pointer;
    line-height: 1;
    margin: 0;
    transition: color 0.2s;
}
.star-rating input[type="radio"]:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--reviews-star-active, #ffc107);
}

/* Scrollbar for modal */
#reviewsList::-webkit-scrollbar {
    width: 6px;
}

#reviewsList::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#reviewsList::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

#reviewsList::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* Note Modal Overrides */
#modalNoteGallery .modal-dialog {
    max-width: fit-content;
}

#modalNoteGallery .modal-content {
    background: transparent;
    box-shadow: none;
}

.note-viewer-container {
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.note-image-wrap img {
    max-height: 80vh;
    border-radius: 8px;
    display: block;
}

.note-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.note-nav-btn {
    background: #1a1a1a;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.note-nav-btn:hover {
    background: #000;
    transform: scale(1.1);
}

.note-close-fixed {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #000;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1060;
    transition: all 0.2s ease;
}

.note-close-fixed:hover {
    transform: rotate(90deg) scale(1.1);
}
