/**
 * Author Shortcodes - Styles
 *
 * Styling für Autor-freundliche Shortcodes
 *
 * @package WG_Streaming
 * @since 2.2.0
 */

/* ========== COMPACT BOX ========== */
.wg-author-streaming.compact-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    overflow: hidden;
    margin: 25px 0;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

.wg-author-streaming .streaming-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wg-author-streaming .header-icon {
    font-size: 24px;
}

.wg-author-streaming .header-text {
    font-size: 18px;
    font-weight: 600;
}

.wg-author-streaming .streaming-services {
    padding: 15px;
}

.wg-author-streaming .service-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
    transition: background 0.2s;
}

.wg-author-streaming .service-row:last-child {
    margin-bottom: 0;
}

.wg-author-streaming .service-row:hover {
    background: rgba(255, 255, 255, 0.15);
}

.wg-author-streaming .service-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wg-author-streaming .service-icon {
    font-size: 20px;
}

.wg-author-streaming .service-name {
    font-weight: 500;
    font-size: 16px;
}

.wg-author-streaming .service-details {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wg-author-streaming .type-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.wg-author-streaming .type-badge.subscription {
    background: #28a745;
    color: white;
}

.wg-author-streaming .type-badge.free {
    background: #17a2b8;
    color: white;
}

.wg-author-streaming .type-badge.rental {
    background: #ffc107;
    color: #000;
}

.wg-author-streaming .quality-badge {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.wg-author-streaming .streaming-footer {
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    text-align: center;
    opacity: 0.8;
}

/* ========== BADGES STYLE ========== */
.wg-author-streaming.badges-style {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

.wg-service-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wg-service-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.wg-service-badge.service-netflix {
    background: #E50914;
}

.wg-service-badge.service-prime {
    background: #00A8E1;
}

.wg-service-badge.service-disney {
    background: #113CCF;
}

.wg-service-badge.service-apple {
    background: #000000;
}

.wg-service-badge.service-wow {
    background: #FF6B35;
}

.wg-service-badge.service-paramount {
    background: #0064FF;
}

.wg-service-badge.service-rtl {
    background: #E5007D;
}

.wg-service-badge.service-joyn {
    background: #00D7A3;
}

/* ========== INLINE STYLE ========== */
.wg-inline-streaming {
    display: inline;
    font-weight: 400;
}

.wg-inline-streaming strong {
    font-weight: 600;
    color: #667eea;
}

.wg-available-icons {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
}

/* ========== SERVICE HIGHLIGHT ========== */
.wg-service-highlight {
    background: #e7f3ff;
    border-left: 4px solid #0066cc;
    padding: 20px;
    margin: 20px 0;
    border-radius: 6px;
    transition: background 0.2s;
}

.wg-service-highlight:hover {
    background: #dae9f7;
}

.wg-service-highlight .service-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.wg-service-highlight.service-netflix {
    border-color: #E50914;
    background: #fff5f5;
}

.wg-service-highlight.service-netflix:hover {
    background: #ffe5e5;
}

.wg-service-highlight.service-netflix .service-badge {
    background: #E50914;
}

.wg-service-highlight.service-prime {
    border-color: #00A8E1;
    background: #f0f9ff;
}

.wg-service-highlight.service-prime:hover {
    background: #e0f2ff;
}

.wg-service-highlight.service-prime .service-badge {
    background: #00A8E1;
}

.wg-service-highlight.service-disney {
    border-color: #113CCF;
    background: #f0f4ff;
}

.wg-service-highlight.service-disney:hover {
    background: #e0e8ff;
}

.wg-service-highlight.service-disney .service-badge {
    background: #113CCF;
}

.wg-service-highlight.service-apple {
    border-color: #000000;
    background: #f5f5f5;
}

.wg-service-highlight.service-apple:hover {
    background: #e5e5e5;
}

.wg-service-highlight.service-apple .service-badge {
    background: #000000;
}

.wg-service-highlight .highlight-content {
    font-size: 16px;
    line-height: 1.6;
}

/* ========== NOT AVAILABLE ========== */
.wg-streaming-unavailable {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    color: #6c757d;
    margin: 20px 0;
}

.wg-streaming-unavailable .unavailable-icon {
    font-size: 24px;
    opacity: 0.5;
}

.wg-streaming-unavailable .unavailable-text {
    font-size: 14px;
    font-style: italic;
}

/* ========== PRICE INFO ========== */
.wg-streaming-price {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    margin: 20px 0;
}

.wg-streaming-price .price-icon {
    font-size: 24px;
}

.wg-streaming-price .price-item {
    font-size: 15px;
    color: #856404;
}

.wg-streaming-price .price-item strong {
    font-weight: 600;
}

.wg-streaming-price .price-item:not(:last-child)::after {
    content: " | ";
    margin: 0 8px;
    opacity: 0.5;
}

/* ========== QUALITY INFO ========== */
.wg-streaming-quality {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    margin: 10px 0;
}

.wg-streaming-quality .quality-icon {
    font-size: 18px;
}

/* ========== LEAVING WARNING ========== */
.wg-leaving-warning {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.wg-leaving-warning .warning-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.wg-leaving-warning .warning-content {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #856404;
}

.wg-leaving-warning .warning-content strong {
    font-weight: 600;
    color: #664d03;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .wg-author-streaming .service-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .wg-author-streaming .service-details {
        flex-wrap: wrap;
    }

    .wg-author-streaming.badges-style {
        flex-direction: column;
    }

    .wg-service-badge {
        width: 100%;
        justify-content: center;
    }

    .wg-streaming-price {
        flex-direction: column;
        align-items: flex-start;
    }

    .wg-streaming-price .price-item:not(:last-child)::after {
        content: "";
        margin: 0;
    }

    .wg-leaving-warning {
        flex-direction: column;
        text-align: center;
    }

    .wg-leaving-warning .warning-icon {
        margin: 0 auto;
    }
}

/* ========== DARK MODE ========== */
@media (prefers-color-scheme: dark) {
    .wg-streaming-unavailable {
        background: #1a202c;
        border-color: #4a5568;
        color: #cbd5e0;
    }

    .wg-inline-streaming strong {
        color: #a5b4fc;
    }

    .wg-service-highlight {
        background: #2d3748;
    }

    .wg-service-highlight:hover {
        background: #374151;
    }

    .wg-service-highlight.service-netflix {
        background: #2d1a1b;
    }

    .wg-service-highlight.service-netflix:hover {
        background: #3d2a2b;
    }

    .wg-service-highlight.service-prime {
        background: #1a2836;
    }

    .wg-service-highlight.service-prime:hover {
        background: #2a3846;
    }

    .wg-service-highlight.service-disney {
        background: #1a1d2e;
    }

    .wg-service-highlight.service-disney:hover {
        background: #2a2d3e;
    }

    .wg-service-highlight.service-apple {
        background: #1a1a1a;
    }

    .wg-service-highlight.service-apple:hover {
        background: #2a2a2a;
    }

    .wg-streaming-price {
        background: #3d3416;
        border-color: #ffc107;
    }

    .wg-streaming-price .price-item {
        color: #fbd38d;
    }

    .wg-leaving-warning {
        background: #3d3416;
        border-color: #ffc107;
    }

    .wg-leaving-warning .warning-content {
        color: #fbd38d;
    }

    .wg-leaving-warning .warning-content strong {
        color: #fff3cd;
    }
}
