

        .carousel-container {
            position: relative;
            /*max-width: 800px;*/
            width: 100%;
            height: 100%;
            border-radius: 24px;
            overflow: hidden;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(2px);
            /*box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);*/
        }

        /* Imagen con bordes redondeados y ajuste */
        .carousel-image {
            width: 100%;
            height: 450px;
            object-fit: cover;
            display: block;
            transition: opacity 0.3s ease;
            border-radius: 24px;
        }

        /* Botones laterales con efecto CRISTAL (glassmorphism) */
        .btn-glass {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
            width: 27px;
            height: 27px;
            border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.25);
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.3);
            color: #fff;
            font-size: 1.8rem;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.25s ease;
            cursor: pointer;
            user-select: none;
            text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
        }

        /* Efecto hover: más brillo y ligera escala */
        .btn-glass:hover {
            background: rgba(255, 255, 255, 0.25);
            border-color: rgba(255, 255, 255, 0.5);
            box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.5);
            transform: translateY(-50%) scale(1.05);
            color: #fff;
        }

        /* Efecto activo (click) */
        .btn-glass:active {
            transform: translateY(-50%) scale(0.92);
            background: rgba(255, 255, 255, 0.35);
        }

        /* Posicionamiento izquierda / derecha */
        .btn-prev {
            left: 10px;
        }

        .btn-next {
            right: 10px;
        }

        /* Indicador de imagen actual (opcional, sutil) */
        .counter-badge {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.45);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            padding: 6px 18px;
            border-radius: 40px;
            color: #f0f0f0;
            font-size: 0.9rem;
            font-weight: 500;
            border: 1px solid rgba(255, 255, 255, 0.15);
            letter-spacing: 0.5px;
            z-index: 10;
        }

        /* Ajuste para pantallas pequeñas */
        @media (max-width: 576px) {
            .carousel-image {
                height: 300px;
            }
            .btn-glass {
                width: 44px;
                height: 44px;
                font-size: 1.4rem;
            }
            .btn-prev {
                left: 10px;
            }
            .btn-next {
                right: 10px;
            }
        }






       /* upload area */
        .upload-area {
            border: 2px dashed #ddd;
            border-radius: 8px;
            padding: 10px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 20px;
        }
        
        .upload-area:hover {
            border-color: #667eea;
            background: #f8f9ff;
        }
        
        .upload-area.dragover {
            border-color: #667eea;
            background: #f0f2ff;
        }
        
        .upload-icon {
            font-size: 48px;
            margin-bottom: 10px;
        }
        
        .file-input {
            display: none;
        }
        
        .file-list {
            margin-top: 20px;
            margin-bottom: 20px;
            display: none;
        }
        
        .file-item {
            background: #f8f9fa;
            border: 1px solid #e9ecef;
            border-radius: 5px;
            padding: 10px;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .file-info {
            flex: 1;
        }
        
        .file-name {
            font-weight: 500;
            margin-bottom: 5px;
            word-break: break-all;
        }
        
        .file-size {
            font-size: 12px;
            color: #6c757d;
        }
        
        .remove-file {
            background: #dc3545;
            color: white;
            border: none;
            padding: 5px 10px;
            border-radius: 3px;
            cursor: pointer;
            transition: background 0.3s ease;
            margin-left: 10px;
        }
        
        .remove-file:hover {
            background: #c82333;
        }
        
        .upload-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            width: 100%;
            transition: transform 0.2s ease;
        }
        
        .upload-btn:hover:not(:disabled) {
            transform: translateY(-2px);
        }
        
        .upload-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }
        
        .progress-container {
            margin-top: 20px;
            display: none;
        }
        
        .progress-bar-upload {
            width: 100%;
            height: 30px;
            background: #e9ecef;
            border-radius: 15px;
            overflow: hidden;
            position: relative;
        }
        
        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
            width: 0%;
            transition: width 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
            font-weight: bold;
        }
        
        .result {
            margin-top: 20px;
            padding: 15px;
            border-radius: 5px;
            display: none;
        }
        
        .result.success {
            background: #d4edda;
            border: 1px solid #c3e6cb;
            color: #155724;
        }
        
        .result.error {
            background: #f8d7da;
            border: 1px solid #f5c6cb;
            color: #721c24;
        }
        
        .result-files {
            margin-top: 15px;
            max-height: 300px;
            overflow-y: auto;
        }
        
        .result-file {
            padding: 8px;
            margin: 5px 0;
            background: white;
            border-radius: 3px;
            font-size: 14px;
        }
        
        .result-file.success {
            border-left: 3px solid #28a745;
        }
        
        .result-file.error {
            border-left: 3px solid #dc3545;
        }
        
        /* Estilos para scrollbar */
        .result-files::-webkit-scrollbar {
            width: 8px;
        }
        
        .result-files::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }
        
        .result-files::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 4px;
        }
        
        .result-files::-webkit-scrollbar-thumb:hover {
            background: #555;
        }