/**
 * Yadongtube Core - Video Player Styles
 */

.yt-player-container {
    width: 100%;
    margin-bottom: 24px;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.yt-player-ratio {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000000;
}

.yt-player-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.yt-player-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: #ffffff;
    border-top: 1px solid #e8eaf0;
    font-size: 13px;
    color: #70757d;
}

.yt-provider-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #16865b;
    font-weight: 600;
}

.yt-provider-badge svg {
    stroke: #16865b;
}

.yt-report-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #e8eaf0;
    color: #70757d;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.yt-report-trigger-btn:hover {
    background: #f6f7fb;
    color: #dc3545;
    border-color: #f1b0b7;
}

.yt-report-trigger-btn svg {
    stroke: currentColor;
}

/* Fallback Placeholders */
.yt-player-placeholder {
    padding: 60px 24px;
    text-align: center;
    background: #ffffff;
    border: 1px dashed #e8eaf0;
    border-radius: 12px;
    margin-bottom: 24px;
}

.yt-placeholder-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f6f7fb;
    color: #70757d;
    margin-bottom: 16px;
}

.yt-player-status-security .yt-placeholder-icon {
    color: #dc3545;
    background: #fde8e8;
}

.yt-player-status-expired .yt-placeholder-icon {
    color: #d97706;
    background: #fef3c7;
}

.yt-placeholder-title {
    font-size: 20px;
    font-weight: 700;
    color: #202124;
    margin: 0 0 8px 0;
}

.yt-placeholder-desc {
    font-size: 14px;
    color: #70757d;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.5;
}
