/* =====================================================
   WATCHGUIDE REVIEW SYSTEM - SIDEBAR CSS
   Version 1.0 - Sidebar-Komponenten
   Pfad: /wp-content/themes/GP-Child-Watchguide/assets/css/reviews-sidebar.css
   ===================================================== */

/* === SIDEBAR CONTAINER === */
.review-sidebar {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* === SIDEBAR CARDS BASE === */
.review-sidebar-card {
    background: white;
    border-radius: var(--wgr-radius);
    box-shadow: var(--wgr-shadow-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.review-sidebar-card:hover {
    box-shadow: var(--wgr-shadow-lg);
}

/* === FILM INFO CARD === */
.film-info-card {
    padding: 0;
}

.film-info-header {
    background: linear-gradient(135deg, var(--wgr-primary) 0%, var(--wgr-secondary) 100%);
    color: white;
    padding: 25px;
    text-align: center;
}

.film-info-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
}

.film-info-year {
    font-size: 14px;
    opacity: 0.9;
}

.film-info-body {
    padding: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--wgr-gray-200);
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-icon {
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.info-content {
    flex: 1;
}

.info-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--wgr-gray-400);
    margin-bottom: 5px;
}

.info-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--wgr-dark);
    line-height: 1.4;
}

/* === RATING CARD === */
.rating-card {
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg, white 0%, var(--wgr-gray-50) 100%);
}

.rating-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.rating-number {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--wgr-primary) 0%, var(--wgr-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-stars {
    display: flex;
    gap: 3px;
}

.star {
    color: #ffd700;
    font-size: 22px;
}

.star.empty {
    color: var(--wgr-gray-300);
}

.rating-text {
    font-size: 14px;
    color: var(--wgr-gray-600);
    font-style: italic;
    margin-top: 10px;
}

/* === QUICK LINKS CARD === */
.quick-links-card {
    padding: 25px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--wgr-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--wgr-gray-200);
}

.quick-links-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--wgr-gray-50);
    border-radius: 8px;
    text-decoration: none;
    color: var(--wgr-dark);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.quick-link:hover {
    background: var(--wgr-primary);
    color: white;
    transform: translateX(5px);
    text-decoration: none;
    border-color: var(--wgr-primary);
}

/* === FUN FACTS CARD === */
.fun-facts-card {
    padding: 25px;
    background: linear-gradient(135deg, white 0%, #fffaf0 100%);
}

.fun-fact {
    padding: 15px;
    background: white;
    border-left: 3px solid var(--wgr-accent);
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.6;
    position: relative;
    padding-left: 40px;
    box-shadow: var(--wgr-shadow-sm);
    transition: all 0.2s;
}

.fun-fact:hover {
    transform: translateX(3px);
    box-shadow: var(--wgr-shadow-md);
}

.fun-fact::before {
    content: '💡';
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 18px;
}

.fun-fact:last-child {
    margin-bottom: 0;
}

/* === SHARE CARD === */
.share-card {
    padding: 25px;
    text-align: center;
    background: linear-gradient(135deg, white 0%, var(--wgr-gray-50) 100%);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 20px;
    box-shadow: var(--wgr-shadow-md);
    cursor: pointer;
    border: none;
}

.share-btn:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: var(--wgr-shadow-lg);
}

.share-facebook {
    background: #1877f2;
    color: white;
}

.share-twitter {
    background: #000;
    color: white;
}

.share-whatsapp {
    background: #25d366;
    color: white;
}

.share-copy {
    background: var(--wgr-gray-600);
    color: white;
}

/* === AUTHOR CARD === */
.author-card {
    padding: 0;
}

.author-header {
    background: linear-gradient(135deg, var(--wgr-dark) 0%, var(--wgr-gray-600) 100%);
    color: white;
    padding: 25px;
    text-align: center;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
    margin: 0 auto 15px;
    display: block;
}

.author-name {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: white;
}

.author-role {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.author-bio {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.95;
}

.author-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 20px;
    background: var(--wgr-gray-50);
}

.stat-box {
    text-align: center;
    padding: 10px;
    border-right: 1px solid var(--wgr-gray-200);
}

.stat-box:last-child {
    border-right: none;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--wgr-primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 11px;
    color: var(--wgr-gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .review-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .review-sidebar {
        grid-template-columns: 1fr;
    }
    
    .share-buttons {
        gap: 8px;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .rating-number {
        font-size: 36px;
    }
    
    .star {
        font-size: 18px;
    }
}

/* Datei: reviews-sidebar.css */
/* Pfad: /wp-content/themes/GP-Child-Watchguide/assets/css/reviews-sidebar.css */