/* ============================================
   UPLOAD.CSS - Upload Page Specific Styles
   ============================================ */

/* Auth Section */
.auth-container {
    max-width: 400px;
    margin: 100px auto;
}

.toggle-auth {
    text-align: center;
    margin-top: 20px;
    color: #666;
}

.toggle-auth a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-email {
    color: white;
    font-weight: 500;
}

.btn-logout {
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: white;
    color: #667eea;
}

/* Upload Section */
.upload-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.file-preview {
    margin-top: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}

.upload-limit-info {
    padding: 12px;
    background: #e3f2fd;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.content-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.content-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.content-image:hover {
    opacity: 0.9;
}

.content-info {
    margin-bottom: 15px;
}

.content-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.content-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.content-stats {
    display: flex;
    gap: 15px;
    margin: 10px 0;
    padding: 10px;
    background: white;
    border-radius: 8px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-public {
    background: #d4edda;
    color: #155724;
}

.badge-private {
    background: #f8d7da;
    color: #721c24;
}

.badge-processing {
    background: #fff3cd;
    color: #856404;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-failed {
    background: #f8d7da;
    color: #721c24;
}

.badge-pending {
    background: #fff3cd;
    color: #856404;
}

.content-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state svg {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .upload-section {
        grid-template-columns: 1fr;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
    }
}
