/* ══════════════════════════════════════════
   PREVIEW CARD V3 - NEW DESIGN (NEON BLUE)
══════════════════════════════════════════ */
.preview-card-v3 {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
    margin: 40px auto;
    max-width: 900px;
    border: 1px solid #f1f5f9;
}

/* TOP SECTION */
.pc3-top {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
}

.pc3-thumb {
    width: 260px;
    height: 155px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #f8fafc;
}

.pc3-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc3-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.4);
}

.pc3-play i {
    margin-left: 3px;
}

.pc3-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 6px;
}

.pc3-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pc3-info h2 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc3-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
}

.verified-badge {
    color: #3b82f6;
    margin-left: 4px;
    font-size: 0.8rem;
}

.btn-pc3-trim {
    background: #2563eb;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-pc3-trim:hover {
    background: #1d4ed8;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.badge-premium {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.pc3-sub-actions {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.check-wrap {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.check-wrap input[type="checkbox"] {
    accent-color: #2563eb;
    width: 16px;
    height: 16px;
}

.pc3-divider-v {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
}

.pc3-divider-h {
    height: 1px;
    width: 100%;
    background: #e2e8f0;
    margin: 25px 0;
}

.btn-pc3-img {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-pc3-img:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

/* ENGINES SECTION */
.pc3-engines {
    display: flex;
    gap: 30px;
}

.pc3-col {
    flex: 1;
}

.pc3-col-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.pc3-fmt-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fmt-row-v3 {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s;
}

.fmt-row-v3:hover {
    border-color: #e2e8f0;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.fmt-left-v3 {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.fmt-q-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
}

.fmt-q-val {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.fmt-q-lbl-flat {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-left: 5px;
    text-transform: uppercase;
}

.fmt-q-size {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.btn-fmt-dl {
    background: #2E5BFF;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px; /* SYMMETRIC BUTTONS */
    gap: 8px;
    transition: all 0.2s;
}

.btn-fmt-dl:hover {
    background: #1c44cc;
    box-shadow: 0 4px 12px rgba(46, 91, 255, 0.25);
    transform: translateY(-1px);
}

/* AUDIO BUTTONS - CEO STYLE (BLUE/WHITE) */
.btn-fmt-dl.btn-audio {
    background: #2E5BFF;
    color: #ffffff;
    border: none;
}

.btn-fmt-dl.btn-audio:hover {
    background: #2E5BFF;
    box-shadow: 0 0 15px rgba(46, 91, 255, 0.4);
    transform: translateY(-1px);
}

.btn-disabled {
    background: #e2e8f0 !important;
    color: #94a3b8 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    border: 1px solid #cbd5e1 !important;
}

.btn-disabled:hover {
    transform: none !important;
}

.btn-show-more {
    text-align: center;
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-show-more:hover {
    text-decoration: underline;
}

.btn-show-more i {
    font-size: 0.75rem;
}

/* PROGRESS BAR V3 */
.pc3-progress-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
}

.pc3-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.pc3-progress-status {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.btn-cancel-dl {
    background: #fee2e2;
    color: #dc2626;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-cancel-dl:hover {
    background: #fecaca;
    transform: translateY(-1px);
}

.pc3-progress-track {
    height: 10px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
}

.pc3-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2E5BFF, #60a5fa);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 10px;
}

.pc3-progress-warning {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pc3-progress-warning i {
    color: #f59e0b;
}

.pc3-progress-fill.bar-done {
    background: #10b981; /* Verde Success */
    width: 100% !important;
}

.pc3-progress-fill.bar-processing {
    background: linear-gradient(90deg, #2E5BFF, #60a5fa);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite linear;
}

@keyframes loading-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.pc3-status-icon {
    margin-left: 8px;
    font-size: 1.1rem;
    display: none;
}

.pc3-status-icon.active {
    display: inline-block;
}

.pc3-status-icon.success {
    color: #10b981;
}

.pc3-status-icon.error {
    color: #ef4444;
}

/* ALERTS */
.pc3-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideUp 0.3s ease;
}

.pc3-alert.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.pc3-alert.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.pc3-alert.warning { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* MULTI-AUDIO SELECTOR (DOBLAJE) */
.lang-selector-wrap {
    padding: 15px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-start;
    animation: fadeIn 0.4s ease-out;
}

.lang-selector-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 2px solid #2E5BFF;
    border-radius: 12px;
    padding: 2px 15px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 450px;
}

.lang-selector-box i {
    color: #2E5BFF;
    font-size: 1.1rem;
}

.lang-select {
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    width: 100%;
    cursor: pointer;
}

.lang-selector-box:focus-within {
    box-shadow: 0 0 20px rgba(46, 91, 255, 0.4);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* DUBBING SELECTOR V4 (CEO PROTOCOL) */
.dubbing-selector-container {
    margin: 15px 0;
    width: 100%;
    animation: slideUp 0.3s ease-out;
}

.dubbing-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 2px solid #2E5BFF;
    border-radius: 10px;
    padding: 2px 12px;
    transition: all 0.3s ease;
}

.dubbing-icon { font-size: 1.2rem; }
.dubbing-label { 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: #2E5BFF;
    text-transform: uppercase;
}

.dubbing-select {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
}

.dubbing-box:focus-within {
    box-shadow: 0 0 15px rgba(46, 91, 255, 0.4);
    transform: translateY(-1px);
}

.dubbing-status-text {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 4px;
    display: block;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .pc3-top {
        flex-direction: column;
    }
    .pc3-thumb {
        width: 100%;
        height: 200px;
    }
    .pc3-engines {
        flex-direction: column;
    }
    .hide-mobile {
        display: none;
    }
}
