/*
 * MechaMap - Showcase Show Page Styles
 * Extracted from resources/views/showcase/show.blade.php
 * Showcase detail page styles including breadcrumb, gallery, and social sharing
 */

/* ========================================
   BREADCRUMB NAVIGATION
   ======================================== */

.showcase-breadcrumb {
    background-color: #f8f9fa;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
}

/* ========================================
   IMAGE GALLERY
   ======================================== */

.showcase-image-gallery img {
    transition: transform 0.2s ease;
    cursor: pointer;
}

.showcase-image-gallery img:hover {
    transform: scale(1.05);
}

/* ========================================
   SOCIAL SHARE BUTTONS
   ======================================== */

.social-share-buttons .btn {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ========================================
   INLINE STYLES EXTRACTED
   ======================================== */

/* Card header without border */
.showcase-card-header {
    border-bottom: none;
}

/* Featured image styles */
.showcase-featured-image {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}

/* Gallery image styles */
.showcase-gallery-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

/* ========================================
   RATING SYSTEM STYLES
   ======================================== */

/* Rating Summary */
.rating-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.overall-rating {
    text-align: center;
    margin-bottom: 1.5rem;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #495057;
    line-height: 1;
}

.rating-stars {
    margin: 0.5rem 0;
}

.rating-stars .fa-star {
    font-size: 1.5rem;
    margin: 0 2px;
}

.rating-count {
    color: #6c757d;
    font-size: 0.9rem;
}

.category-ratings {
    margin-top: 1.5rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.category-item:last-child {
    border-bottom: none;
}

.category-label {
    font-weight: 500;
    color: #495057;
}

.category-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-stars .fa-star {
    font-size: 1rem;
    margin: 0 1px;
}

.category-average {
    font-weight: 600;
    color: #495057;
    min-width: 2rem;
    text-align: right;
}

/* Rating Items Display */
.showcase-ratings {
    margin-bottom: 2rem;
}

.rating-item {
    transition: all 0.3s ease;
}

.rating-item:hover {
    transform: translateY(-2px);
}

.rating-content {
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.rating-content:hover {
    border-color: #dee2e6;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rating-header {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.rating-body {
    color: #495057;
    line-height: 1.6;
}

.rating-criteria {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.criteria-item {
    padding: 0.5rem 0;
}

.criteria-label {
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
}

.criteria-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.criteria-stars .fa-star {
    font-size: 0.9rem;
}

.rating-criteria .overall-rating {
    background: #fff;
    border-radius: 6px;
    padding: 0.75rem;
    text-align: left;
    margin-top: 0;
}

.rating-criteria .overall-rating .fa-star {
    font-size: 1.1rem;
    margin: 0 1px;
}

/* ========================================
   TAB SYSTEM STYLES
   ======================================== */

.showcase-tabs {
    margin-top: 2rem;
}

.showcase-tabs .nav-tabs {
    border-bottom: 2px solid #dee2e6;
    margin-bottom: 0;
}

.showcase-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    background: none;
    color: #6c757d;
    font-weight: 500;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.showcase-tabs .nav-link:hover {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #f8f9fa;
}

.showcase-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
    background: #fff;
}

.showcase-tabs .nav-link i {
    margin-right: 0.5rem;
}

.tab-content-wrapper {
    padding: 2rem 0;
}

/* Rich Text Editor in Tabs */
.tab-pane .rich-text-editor {
    margin-bottom: 1rem;
}

/* ========================================
   USER RATED NOTICE STYLES
   ======================================== */

.user-rated-notice {
    margin-bottom: 2rem;
}

.user-rated-notice .alert {
    border-left: 4px solid #198754;
    background: linear-gradient(135deg, #d1e7dd 0%, #f8f9fa 100%);
}

.user-rated-notice .alert-heading {
    color: #0f5132;
    font-weight: 600;
}

.user-rated-notice .btn-outline-danger {
    border-width: 2px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.user-rated-notice .btn-outline-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Comment textarea */
.showcase-comment-textarea {
    height: 80px;
}

/* Reply form hidden by default */
.reply-form {
    display: none;
}
