/* Estilos para a Evolução do MediaInfo (Drop Zone & Screenshots) */

.dc-mi-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dc-drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.dc-drop-zone:hover, .dc-drop-zone.active {
    border-color: #3b82f6;
    background: #eff6ff;
}

.dc-drop-zone i {
    font-size: 40px;
    color: #94a3b8;
}

.dc-drop-zone.active i {
    color: #3b82f6;
}

.dc-drop-zone p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.dc-mi-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.dc-mi-divider::before, .dc-mi-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.dc-mi-divider:not(:empty)::before { margin-right: 15px; }
.dc-mi-divider:not(:empty)::after { margin-left: 15px; }

/* Grid de Screenshots */
.dc-ss-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 15px;
    background: #f1f5f9;
    padding: 15px;
    border-radius: 12px;
}

.dc-ss-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
    border: 2px solid #fff;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    transition: transform 0.2s ease;
}

.dc-ss-item:hover {
    transform: scale(1.05);
    z-index: 10;
}

.dc-ss-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dc-ss-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.8);
    font-size: 20px;
    color: #3b82f6;
}

.dc-ss-status {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.dc-ss-status.loading { background: #3b82f6; }
.dc-ss-status.success { background: #22c55e; }
.dc-ss-status.error { background: #ef4444; width: auto; padding: 0 6px; border-radius: 10px; font-size: 9px; }

/* Progress Bar */
.dc-mi-progress {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.dc-mi-progress-bar {
    height: 100%;
    background: #3b82f6;
    width: 0%;
    transition: width 0.3s ease;
}
