.anime-collections-display {
    margin: 20px 0;
}

.anime-collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.anime-collection-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s;
}

.anime-collection-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.anime-collection-item img {
    width: 100%;
    height: auto;
    display: block;
}

.anime-collection-item h4 {
    margin: 10px;
    font-size: 16px;
}

.anime-collection-item h4 a {
    color: #333;
    text-decoration: none;
}

.anime-collection-item h4 a:hover {
    color: #007bff;
}

.no-thumbnail {
    background: #f5f5f5;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* Collection Buttons on Single Anime Page */
.anime-collection-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.anime-collection-toggle {
    /* display: inline-block;
    padding: 12px 24px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
}

.anime-collection-toggle:hover {
    /* background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); */
}

.anime-collection-toggle.in-collection {
    /* background: #007bff;
    color: #fff;
    border-color: #007bff; */
}

.anime-collection-toggle.in-collection:hover {
    /* background: #0056b3; */
}

/* Dashboard Styles */
.anime-dashboard {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.collection-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    transition: all 0.3s;
}

.tab-button:hover {
    color: #007bff;
}

.tab-button.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
    margin-bottom: -12px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* Watch Count Styles */
.anime-watch-count {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    font-size: 14px;
}

.watch-icon {
    font-size: 18px;
}

.count {
    font-weight: 500;
}

/* Most Watched Grid */
.most-watched-grid {
    margin: 20px 0;
}

.most-watched-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.2s;
}

.most-watched-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.most-watched-item img {
    width: 100%;
    height: auto;
    display: block;
}

.most-watched-item h4 {
    margin: 10px;
    font-size: 16px;
}

.most-watched-item .watch-count {
    margin: 10px;
    color: #666;
    font-size: 14px;
}

/* Watch Stats in Admin */
.anime-watch-stats {
    padding: 10px;
}

.anime-watch-stats p {
    margin: 10px 0;
    font-size: 14px;
}

/* Genre Styles */
.anime-genres {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    z-index: 1000;
    font-size: 14px;
}

.genre-label {
    font-weight: 500;
    margin-right: 5px;
}

.anime-genres a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.anime-genres a:hover {
    color: #007bff;
}

/* Admin Genre Checklist */
.anime-genre-checklist {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.anime-genre-checklist label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
}

.anime-genre-checklist input[type="checkbox"] {
    margin-right: 8px;
}

/* Live Stream Player Styles */
.anime-live-stream {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 400px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1000;
}

.stream-player {
    width: 100%;
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.stream-player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stream-controls {
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    gap: 10px;
}

.stream-control-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    background: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

.stream-control-btn:hover {
    background: #0056b3;
}

.viewer-count {
    margin-left: auto;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Live Stream Settings in Admin */
.anime-live-stream-settings {
    padding: 15px;
}

.anime-live-stream-settings p {
    margin: 10px 0;
}

.anime-live-stream-settings input[type="url"] {
    width: 100%;
    margin-top: 5px;
}

/* Continue Watching Section */
.continue-watching-section {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.continue-watching-section h3 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.continue-watching-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.continue-watching-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.continue-watching-item:hover {
    transform: translateY(-5px);
}

.continue-watching-item a {
    text-decoration: none;
    color: inherit;
}

.continue-watching-item img {
    width: 100%;
    height: auto;
    display: block;
}

.continue-watching-item h4 {
    margin: 10px;
    font-size: 16px;
    color: #333;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0,0,0,0.2);
}

.progress-bar .progress {
    height: 100%;
    background: #007bff;
    transition: width 0.3s;
}

.progress-time {
    margin: 10px;
    font-size: 12px;
    color: #666;
} 