/**
 * Deuk YouTube Plugin - Frontend Styles
 */

/* ==========================================================================
   Gallery Container
   ========================================================================== */

.deuk-youtube-gallery {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* No Theme - completely transparent, inherits from parent */
/* (no styles needed - it just inherits) */

/* Dark Theme - only applies background to content section */
.deuk-youtube-theme-dark .deuk-youtube-gallery-content {
    background: #000;
    color: #fff;
    padding: 2.5rem 0;
}

/* Light Theme - only applies background to content section */
.deuk-youtube-theme-light .deuk-youtube-gallery-content {
    background: #fff;
    color: #1a1a1a;
    padding: 2.5rem 0;
}

/* ==========================================================================
   Featured Video Section (Independent - no background by default)
   ========================================================================== */

.deuk-youtube-featured-section {
    padding: 0 1rem 2rem;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.deuk-youtube-section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
}

/* Title colors only when theme is applied */
.deuk-youtube-theme-dark .deuk-youtube-section-title {
    color: #fff;
}

.deuk-youtube-theme-light .deuk-youtube-section-title {
    color: #1a1a1a;
}

.deuk-youtube-featured-wrapper {
    width: 100%;
}

.deuk-youtube-featured-video {
    width: 100%;
}

.deuk-youtube-featured-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.deuk-youtube-featured-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.deuk-youtube-featured-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

/* ==========================================================================
   Gallery Content Section
   ========================================================================== */

.deuk-youtube-gallery-content {
    /* Default - no background, allows inheritance */
}

/* ==========================================================================
   Filter Dropdown
   ========================================================================== */

.deuk-youtube-filter-wrapper {
    max-width: 100%;
    margin: 0 auto 1.5rem;
    padding: 0 1rem;
    box-sizing: border-box;
}

.deuk-youtube-filter {
    display: block;
    width: 100%;
    max-width: 400px;
    padding: 0.875rem 2.5rem 0.875rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    border: 2px solid #333;
    border-radius: 8px;
    background-color: #111;
    color: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.deuk-youtube-filter:hover {
    border-color: #555;
}

.deuk-youtube-filter:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.deuk-youtube-filter option {
    background: #111;
    color: #fff;
    padding: 0.5rem;
}

/* Light theme filter */
.deuk-youtube-theme-light .deuk-youtube-filter {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #1a1a1a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231a1a1a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}

.deuk-youtube-theme-light .deuk-youtube-filter:hover {
    border-color: #adb5bd;
}

.deuk-youtube-theme-light .deuk-youtube-filter option {
    background: #fff;
    color: #1a1a1a;
}

/* ==========================================================================
   Grid Layout
   ========================================================================== */

.deuk-youtube-grid-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
    overflow: hidden;
}

.deuk-youtube-grid {
    display: grid;
    gap: 1.5rem;
    transition: opacity 0.2s ease;
}

.deuk-youtube-cols-1 { grid-template-columns: 1fr; }
.deuk-youtube-cols-2 { grid-template-columns: repeat(2, 1fr); }
.deuk-youtube-cols-3 { grid-template-columns: repeat(3, 1fr); }
.deuk-youtube-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid */
@media (max-width: 1024px) {
    .deuk-youtube-cols-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .deuk-youtube-cols-3,
    .deuk-youtube-cols-4 { grid-template-columns: repeat(2, 1fr); }

    .deuk-youtube-featured-section {
        padding: 0 1rem 1.5rem;
    }

    .deuk-youtube-section-title {
        font-size: 1.5rem;
    }

    .deuk-youtube-filter {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .deuk-youtube-cols-2,
    .deuk-youtube-cols-3,
    .deuk-youtube-cols-4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Video Card
   ========================================================================== */

.deuk-youtube-card {
    background: #111;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.deuk-youtube-card:hover {
    transform: translateY(-4px);
    background: #1a1a1a;
}

/* Light theme cards */
.deuk-youtube-theme-light .deuk-youtube-card {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.deuk-youtube-theme-light .deuk-youtube-card:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Video Wrapper - maintains 16:9 aspect ratio */
.deuk-youtube-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.deuk-youtube-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Thumbnail with play button */
.deuk-youtube-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deuk-youtube-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease;
}

.deuk-youtube-thumbnail:hover::after {
    background: rgba(0, 0, 0, 0.3);
}

/* Play Button */
.deuk-youtube-play-btn {
    position: relative;
    z-index: 2;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease;
}

.deuk-youtube-play-btn:hover {
    transform: scale(1.1);
}

.deuk-youtube-play-btn svg {
    display: block;
}

.deuk-youtube-play-bg {
    transition: fill 0.2s ease;
}

.deuk-youtube-play-btn:hover .deuk-youtube-play-bg {
    fill: #cc0000;
}

/* Live Badge */
.deuk-youtube-live-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: #cc0000;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: deuk-pulse 2s infinite;
}

@keyframes deuk-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Card Info */
.deuk-youtube-card-info {
    padding: 1rem;
}

.deuk-youtube-card-title {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deuk-youtube-card-date {
    font-size: 0.875rem;
    color: #999;
}

/* Light theme card info */
.deuk-youtube-theme-light .deuk-youtube-card-title {
    color: #1a1a1a;
}

.deuk-youtube-theme-light .deuk-youtube-card-date {
    color: #666;
}

/* ==========================================================================
   Load More Button
   ========================================================================== */

.deuk-youtube-load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    padding: 0 1rem;
}

.deuk-youtube-load-more-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #0066cc;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.deuk-youtube-load-more-btn:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.deuk-youtube-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   Single Video Embed
   ========================================================================== */

.deuk-youtube-video {
    max-width: 100%;
    margin: 1.5rem 0;
}

/* ==========================================================================
   Playlist List
   ========================================================================== */

.deuk-youtube-playlists .deuk-youtube-playlist-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.deuk-youtube-playlist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.deuk-youtube-playlist-thumbnail {
    position: relative;
    padding-bottom: 56.25%;
    background: #f0f0f0;
}

.deuk-youtube-playlist-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deuk-youtube-playlist-info {
    padding: 1rem;
}

.deuk-youtube-playlist-title {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
}

.deuk-youtube-playlist-description {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
}

.deuk-youtube-playlist-id {
    display: none;
}

/* ==========================================================================
   States
   ========================================================================== */

/* Empty State */
.deuk-youtube-empty {
    text-align: center;
    padding: 2rem;
    color: #999;
    font-style: italic;
}

.deuk-youtube-theme-light .deuk-youtube-empty {
    color: #666;
}

/* Error State (only visible to admins) */
.deuk-youtube-error {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

/* Loading State */
.deuk-youtube-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.deuk-youtube-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    border-top: 3px solid #cc0000;
    border-radius: 50%;
    animation: deuk-spin 1s linear infinite;
}

.deuk-youtube-theme-light .deuk-youtube-spinner {
    border-color: rgba(0, 0, 0, 0.1);
    border-top-color: #cc0000;
}

@keyframes deuk-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Legacy Dark Theme Support (for non-gallery elements)
   ========================================================================== */

.dark .deuk-youtube-card,
.dark .deuk-youtube-playlist-card {
    background: #1a1a1a;
}

.dark .deuk-youtube-card-title,
.dark .deuk-youtube-playlist-title {
    color: #fff;
}

.dark .deuk-youtube-card-date,
.dark .deuk-youtube-playlist-description {
    color: #aaa;
}

/* ==========================================================================
   Live Detector
   ========================================================================== */

.deuk-yt-live-detector {
    width: 100%;
}

/* Live badge (large) */
.deuk-yt-live-badge-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #cc0000;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.deuk-yt-pulse {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: deuk-yt-pulse-anim 2s infinite;
}

@keyframes deuk-yt-pulse-anim {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* Live video player */
.deuk-yt-live-player {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

.deuk-yt-live-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.deuk-yt-live-info h3 {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.deuk-yt-live-info p {
    margin: 0;
    color: #999;
    font-size: 0.9rem;
}

/* Not live state */
.deuk-yt-not-live {
    text-align: center;
    padding: 48px 24px;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
}

.deuk-yt-not-live-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a1a;
    border-radius: 50%;
    border: 1px solid #333;
}

.deuk-yt-not-live h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.deuk-yt-not-live > p {
    color: #999;
    font-size: 0.9rem;
    margin: 0 0 16px 0;
}

/* Next scheduled badge */
.deuk-yt-next-scheduled {
    display: inline-block;
    background: rgba(9, 97, 173, 0.15);
    border: 1px solid rgba(9, 97, 173, 0.3);
    color: #7cb8e4;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.deuk-yt-next-scheduled strong {
    color: #fff;
}

.deuk-yt-subscribe-hint {
    color: #666;
    font-size: 0.8rem;
    margin: 0 0 20px 0;
}

/* Live detector buttons */
.deuk-yt-live-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.deuk-yt-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.deuk-yt-btn-primary {
    background: #cc0000;
    color: #fff;
}

.deuk-yt-btn-primary:hover {
    background: #a30000;
    color: #fff;
}

.deuk-yt-btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid #444;
}

.deuk-yt-btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #666;
    color: #fff;
}

/* ==========================================================================
   Surgery Schedule
   ========================================================================== */

.deuk-yt-schedule {
    width: 100%;
}

.deuk-yt-schedule-header {
    margin-bottom: 24px;
}

.deuk-yt-schedule-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.deuk-yt-schedule-header p {
    color: #ccc;
    font-size: 0.95rem;
    margin: 0;
}

/* Desktop table */
.deuk-yt-schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
}

.deuk-yt-schedule-table thead th {
    background: #1a1a1a;
    color: #bbb;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #222;
}

.deuk-yt-schedule-table tbody td {
    padding: 20px;
    border-bottom: 1px solid #1a1a1a;
    vertical-align: middle;
}

.deuk-yt-schedule-table tbody tr:last-child td {
    border-bottom: none;
}

.deuk-yt-schedule-table tbody tr:hover {
    background: #151515;
}

/* Date cell */
.deuk-yt-schedule-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.deuk-yt-date-day {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #0961AD;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50%;
}

.deuk-yt-date-month {
    font-size: 0.75rem;
    color: #ccc;
    margin-top: 4px;
}

/* Time cell */
.deuk-yt-schedule-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.deuk-yt-time-value {
    font-weight: 600;
}

.deuk-yt-time-tz {
    color: #aaa;
    font-size: 0.8rem;
}

/* Details cell */
.deuk-yt-schedule-details strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.deuk-yt-schedule-details p {
    color: #ccc;
    font-size: 0.85rem;
    margin: 0;
}

/* Calendar button */
.deuk-yt-btn-calendar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(9, 97, 173, 0.15);
    color: #7cb8e4;
    border: 1px solid rgba(9, 97, 173, 0.3);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.deuk-yt-btn-calendar:hover {
    background: rgba(9, 97, 173, 0.25);
    color: #a0d0ff;
}

/* Mobile cards */
.deuk-yt-schedule-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.deuk-yt-schedule-card {
    display: flex;
    gap: 16px;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 16px;
}

.deuk-yt-card-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    background: #0961AD;
    border-radius: 8px;
    padding: 8px;
    color: #fff;
}

.deuk-yt-card-day {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
}

.deuk-yt-card-month {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.deuk-yt-card-content {
    flex: 1;
}

.deuk-yt-card-time {
    display: block;
    font-size: 0.8rem;
    color: #ccc;
    margin-bottom: 4px;
}

.deuk-yt-card-content h4 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.deuk-yt-card-desc {
    color: #ccc;
    font-size: 0.8rem;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.deuk-yt-card-actions {
    margin-top: 8px;
}

/* Schedule empty state */
.deuk-yt-schedule-empty {
    text-align: center;
    padding: 48px 24px;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
}

.deuk-yt-schedule-empty svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

.deuk-yt-schedule-empty h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.deuk-yt-schedule-empty p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

/* ==========================================================================
   Live Detector - Light Theme
   ========================================================================== */

.deuk-yt-theme-light .deuk-yt-not-live {
    background: #f7f8fa;
    border-color: #e0e0e0;
}

.deuk-yt-theme-light .deuk-yt-not-live-icon {
    background: #eef1f5;
    border-color: #d0d5dd;
}

.deuk-yt-theme-light .deuk-yt-not-live-icon svg polygon {
    fill: #999;
    stroke: #999;
}

.deuk-yt-theme-light .deuk-yt-not-live h3 {
    color: #1a1a1a;
}

.deuk-yt-theme-light .deuk-yt-not-live > p {
    color: #666;
}

.deuk-yt-theme-light .deuk-yt-next-scheduled {
    background: rgba(9, 97, 173, 0.08);
    border-color: rgba(9, 97, 173, 0.2);
    color: #0961AD;
}

.deuk-yt-theme-light .deuk-yt-next-scheduled strong {
    color: #1a1a1a;
}

.deuk-yt-theme-light .deuk-yt-subscribe-hint {
    color: #999;
}

.deuk-yt-theme-light .deuk-yt-btn-outline {
    color: #333;
    border-color: #ccc;
}

.deuk-yt-theme-light .deuk-yt-btn-outline:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: #999;
    color: #1a1a1a;
}

.deuk-yt-theme-light .deuk-yt-live-info h3 {
    color: #1a1a1a;
}

.deuk-yt-theme-light .deuk-yt-live-info p {
    color: #666;
}

/* ==========================================================================
   Surgery Schedule - Light Theme
   ========================================================================== */

.deuk-yt-theme-light .deuk-yt-schedule-header h2 {
    color: #1a1a1a;
}

.deuk-yt-theme-light .deuk-yt-schedule-header p {
    color: #666;
}

.deuk-yt-theme-light .deuk-yt-schedule-table {
    background: #fff;
    border: 1px solid #e0e0e0;
}

.deuk-yt-theme-light .deuk-yt-schedule-table thead th {
    background: #f7f8fa;
    color: #666;
    border-bottom-color: #e0e0e0;
}

.deuk-yt-theme-light .deuk-yt-schedule-table tbody td {
    border-bottom-color: #f0f0f0;
    color: #1a1a1a;
}

.deuk-yt-theme-light .deuk-yt-schedule-table tbody tr:hover {
    background: #f7f8fa;
}

.deuk-yt-theme-light .deuk-yt-date-month {
    color: #666;
}

.deuk-yt-theme-light .deuk-yt-time-tz {
    color: #999;
}

.deuk-yt-theme-light .deuk-yt-schedule-details strong {
    color: #1a1a1a;
}

.deuk-yt-theme-light .deuk-yt-schedule-details p {
    color: #666;
}

.deuk-yt-theme-light .deuk-yt-btn-calendar {
    background: rgba(9, 97, 173, 0.08);
    color: #0961AD;
    border-color: rgba(9, 97, 173, 0.2);
}

.deuk-yt-theme-light .deuk-yt-btn-calendar:hover {
    background: rgba(9, 97, 173, 0.15);
    color: #074a85;
}


.deuk-yt-theme-light .deuk-yt-schedule-card {
    background: #fff;
    border-color: #e0e0e0;
}

.deuk-yt-theme-light .deuk-yt-card-time {
    color: #666;
}

.deuk-yt-theme-light .deuk-yt-card-content h4 {
    color: #1a1a1a;
}

.deuk-yt-theme-light .deuk-yt-card-desc {
    color: #666;
}

.deuk-yt-theme-light .deuk-yt-schedule-empty {
    background: #f7f8fa;
    border-color: #e0e0e0;
}

.deuk-yt-theme-light .deuk-yt-schedule-empty svg path {
    fill: #bbb;
}

.deuk-yt-theme-light .deuk-yt-schedule-empty h3 {
    color: #1a1a1a;
}

.deuk-yt-theme-light .deuk-yt-schedule-empty p {
    color: #666;
}

/* Desktop/Mobile visibility */
.deuk-yt-mobile-only {
    display: none;
}

.deuk-yt-desktop-only {
    display: table;
}

@media (max-width: 768px) {
    .deuk-yt-desktop-only {
        display: none;
    }

    .deuk-yt-mobile-only {
        display: flex;
    }

    .deuk-yt-live-buttons {
        flex-direction: column;
        align-items: center;
    }

    .deuk-yt-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .deuk-yt-not-live {
        padding: 32px 16px;
    }
}
