/* youonTV Reels Styles */

/* Upload Form */
.youon-upload-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.youon-upload-form h2 {
    margin: 0 0 25px 0;
    color: #333;
    font-size: 24px;
}

.youon-form-group {
    margin-bottom: 20px;
}

.youon-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.youon-form-group input[type="text"],
.youon-form-group textarea,
.youon-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.youon-form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #00d9ff;
    border-radius: 4px;
    background: #f8f9fa;
}

.youon-btn-submit {
    width: 100%;
    padding: 14px;
    background: #00d9ff;
    color: #000;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.youon-btn-submit:hover {
    background: #00b8d4;
}

.youon-upload-progress {
    margin-top: 10px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.youon-progress-bar {
    height: 100%;
    width: 0;
    background: #00d9ff;
    transition: width 0.3s;
}

#youon-upload-message {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    display: none;
}

#youon-upload-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

#youon-upload-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

/* Dashboard */
.youon-dashboard {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
}

.youon-dashboard h2 {
    margin: 0 0 30px 0;
    color: #333;
    font-size: 28px;
}

.youon-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.youon-stat-card {
    background: linear-gradient(135deg, #00d9ff 0%, #00b8d4 100%);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    color: #000;
}

.youon-stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
}

.youon-stat-label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.youon-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.youon-empty-state p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.youon-btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: #00d9ff;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s;
}

.youon-btn-primary:hover {
    background: #00b8d4;
}

.youon-reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.youon-reel-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

.youon-reel-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.youon-status-publish {
    background: #28a745;
    color: #fff;
}

.youon-status-pending {
    background: #ffc107;
    color: #000;
}

.youon-status-draft {
    background: #6c757d;
    color: #fff;
}

.youon-reel-thumbnail {
    width: 100%;
    height: 200px;
    background: #000;
    overflow: hidden;
}

.youon-reel-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.youon-reel-content {
    padding: 20px;
}

.youon-reel-content h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

.youon-reel-category {
    display: inline-block;
    padding: 4px 10px;
    background: #e9ecef;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
}

.youon-reel-content p {
    margin: 0 0 12px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.youon-reel-meta {
    font-size: 13px;
    color: #999;
}

.youon-login-required {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 40px auto;
    max-width: 500px;
}

.youon-login-required p {
    font-size: 16px;
    color: #666;
}

.youon-login-required a {
    color: #00d9ff;
    font-weight: 600;
    text-decoration: none;
}

.youon-login-required a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .youon-upload-form,
    .youon-dashboard {
        padding: 20px;
    }
    
    .youon-reels-grid {
        grid-template-columns: 1fr;
    }
    
    .youon-stats {
        grid-template-columns: 1fr;
    }
}
