/**
 * koxpbildir.com - CSS
 */

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 3px; }

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fadeIn 0.3s ease-out; }

/* Toast */
.toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
}

/* Upload dragover */
.upload-zone.dragover {
    border-color: #3b82f6 !important;
    background: #eff6ff !important;
}

/* ========================================
   VIDEO CARD - Ana Stil
   ======================================== */

.video-card {
    display: block;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.2s ease;
}

.video-card:hover {
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Video Thumbnail - 16:9 */
.video-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 ratio */
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    overflow: hidden;
}

/* Play Button */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
}

.play-btn i {
    color: white;
    font-size: 18px;
    margin-left: 3px;
}

.video-card:hover .play-btn {
    background: #dc2626;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Server Tag */
.server-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    background: #2563eb;
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 5;
}

/* Duration Tag */
.duration-tag {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 2px 6px;
    background: rgba(0,0,0,0.8);
    color: white;
    font-size: 11px;
    font-weight: 500;
    border-radius: 4px;
    z-index: 5;
}

/* Video Info */
.video-info {
    padding: 12px;
}

.video-nick {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-nick i {
    color: #ef4444;
    margin-right: 6px;
}

.video-server {
    font-size: 13px;
    font-weight: 500;
    color: #2563eb;
    margin-top: 4px;
}

.video-server i {
    margin-right: 6px;
}

.video-meta {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    font-size: 12px;
    color: #9ca3af;
}

.video-meta i {
    margin-right: 4px;
}
